/* Homepage hero: clear header logo overlap */

body.page-home .buddy-header-area {
    z-index: 10;
}

body.page-home .buddy-header-area .header-logo {
    position: relative;
    z-index: 12;
    background: #f8f5f1;
    border-radius: 0 0 24px 0;
    padding: 8px 16px 12px 8px;
}

body.page-home .buddy-header-area .header-logo img {
    display: block;
    max-height: 72px;
    width: auto;
}

body.page-home section.hero_area.boxed {
    padding-top: 150px;
    padding-bottom: 60px;
    min-height: auto;
    height: auto;
}

body.page-home .hero_content h1 {
    max-width: 100%;
    word-wrap: break-word;
}

@media (min-width: 992px) {
    body.page-home section.hero_area.boxed {
        padding-top: 130px;
    }

    body.page-home .hero_content {
        padding-right: 24px;
    }
}

@media (max-width: 991px) {
    body.page-home section.hero_area.boxed .col-lg-10.offset-lg-2 {
        margin-left: 0;
        max-width: 100%;
        flex: 0 0 100%;
    }

    body.page-home section.hero_area.boxed {
        padding-top: 100px;
    }
}

/* Section titles that were h1, now h2 — keep theme sizing on home */
body.page-home .section_title.style_three h2,
body.page-home .section_title.style_two h2,
body.page-home .section_title.style_six h2,
body.page-home .section_title.text-center.style_six h2 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: inherit;
}

body.page-home .section_title.style_three h2 {
    font-size: 46px;
    line-height: 60px;
    color: #131313;
    font-weight: 500;
}

body.page-home .work_area .section_title.style_two h2 {
    color: #fff;
}

body.page-home .counter-_number .counter {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    display: inline;
}

body.page-home .faq_area.style_two .section_title.style_six h2 {
    font-size: 46px;
    line-height: 60px;
    color: #131313;
    font-weight: 500;
}

body.page-home .faq_digit {
    font-size: inherit;
    font-weight: inherit;
    margin: inherit;
    color: inherit;
}

/* About page: single H1, section title + badge styling */
body.page-about section.about_area.style_four p.years_namber {
    font-size: 48px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    font-family: "Oswald", sans-serif;
    line-height: 1.1;
}

body.page-about .faq_area.style_two .section_title.style_six h2 {
    font-size: 46px;
    line-height: 60px;
    color: #131313;
    font-weight: 600;
}

body.page-shop .product_area .section_title.style_six h1 {
    font-size: 46px;
    line-height: 60px;
    color: #131313;
    font-weight: 600;
}

body.page-about .faq_digit {
    font-size: inherit;
    font-weight: inherit;
    margin: inherit;
    color: inherit;
}

/* Years badge (no longer h1) */
section.about_area.home_about p.years_namber {
    font-size: 48px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    font-family: "Oswald", sans-serif;
    line-height: 1.1;
}

section.about_area.home_about p.years_namber .years_num {
    font-size: inherit;
}

/* Homepage SEO + image sections */

.home_seo_content {
    padding: 60px 0 40px;
    background: #fff;
}

.home_seo_content .home_block {
    margin-bottom: 48px;
}

.home_seo_content h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 18px;
    color: #131313;
}

.home_seo_content h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    margin: 0 0 12px;
    color: #012549;
}

.home_seo_content p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}

.home_seo_content .about_list li {
    margin-bottom: 8px;
}

.home_seo_content .why_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.home_seo_content .why_item {
    padding: 22px;
    background: #f8f5f1;
    border-left: 4px solid #e8a317;
    border-radius: 0 8px 8px 0;
}

.home_seo_content .why_item h3 {
    margin-top: 0;
    font-size: 18px;
}

.home_seo_content .why_item p {
    margin-bottom: 0;
    font-size: 15px;
}

/* Shared image frame */
.home_img_frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(1, 37, 73, 0.12);
    background: #f0ebe4;
}

.home_img_frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.home_img_frame:hover img {
    transform: scale(1.04);
}

.home_img_frame--tall {
    min-height: 320px;
}

.home_img_frame--tall img {
    min-height: 320px;
}

/* Text + image rows in SEO content */
.home_media_row {
    margin-top: 28px;
    margin-bottom: 36px;
    gap: 24px 0;
}

.home_media_row + .home_media_row--reverse {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #ebe6df;
}

/* About section on home */
section.about_area.home_about {
    background: #f8f5f1;
    padding: 80px 0;
}

section.about_area.home_about .about_right {
    margin-left: 0;
}

section.about_area.home_about .section_title h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.25;
    color: #131313;
    margin-bottom: 0;
}

section.about_area.home_about .about_thumb.home_img_frame {
    border-radius: 16px;
}

section.about_area.home_about .about_count.style_two {
    background-color: #012549;
    border-radius: 16px;
    text-align: center;
}


/* Product cards */
.home_products_section .section_title.style_two h2,
.home_products_section .section_title.style_two p {
    color: #fff;
}

.home_products_section .section_title.style_two p {
    opacity: 0.9;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.home_product_card {
    width: 100%;
    display: block;
    overflow: hidden;
}

.home_product_card .service_thumb {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.home_product_badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: #012549;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
}

.home_product_label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #b0712f;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.home_product_card .service_content h3 {
    font-size: 24px;
    margin-top: 4px;
}

.home_product_card .service_content h3:hover {
    color: #b0712f;
}

/* Business / strengths center image */
.home_business .business_img.home_business_center {
    padding: 12px;
}

.home_business .business_img.home_img_frame {
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(1, 37, 73, 0.15);
}

.home_business .business_img.home_img_frame img {
    max-height: 420px;
    object-fit: contain;
    background: #fff;
    padding: 12px;
}

.home_business .besiness_item .feature_icon img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

@media (max-width: 991px) {
    section.about_area.home_about .about_right {
        margin-top: 32px;
    }

    .home_media_row--reverse .order-md-1 {
        margin-bottom: 20px;
    }

    .home_business .business_img.home_business_center {
        margin: 32px 0;
    }
}

@media (max-width: 767px) {
    .home_img_frame--tall,
    .home_img_frame--tall img {
        min-height: 240px;
    }
}

/* Demoted homepage headings — same look, non-heading tags for SEO */
body.page-home .hero_content p.sub_title {
    position: relative;
    z-index: 1;
    padding-left: 70px;
    font-size: 18px;
    color: #fefefe;
    font-weight: 500;
    margin-bottom: 6px;
}

body.page-home .hero_content p.sub_title::before {
    content: "";
    left: 0;
    top: 14px;
    position: absolute;
    width: 50px;
    height: 3px;
    background: #ffffff;
    z-index: -1;
}

body.page-home .counter_title p.counter_label,
body.page-home .about_count .counter_title p.counter_label {
    margin: 0;
    font-size: 16px;
    line-height: 28px;
    color: #131313;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
}

body.page-home .about_count.style_two .counter_title p.counter_label {
    font-size: 23px;
    color: #ffffff;
    font-weight: 500;
}

body.page-home .section_title p.section_label {
    font-size: 18px;
    color: #b0712f;
    font-weight: 500;
    position: relative;
    z-index: 1;
    padding-left: 70px;
    display: inline-block;
    margin: 0 0 8px;
}

body.page-home .section_title p.section_label::before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background-color: #b0712f;
    transform: translateY(-50%);
}

body.page-home .section_title.style_three p.section_label {
    color: #b0712f;
}

body.page-home .work_area .section_title p.section_label--light,
body.page-home .section_title.style_two p.section_label--light {
    color: #ffffff;
}

body.page-home .work_area .section_title p.section_label--light::before {
    background-color: #ffffff;
}

body.page-home .tesit-auothor .bio p.name {
    margin: 0;
    font-size: 22px;
    line-height: 40px;
    color: #131313;
    font-weight: 600;
}

body.page-home .tesit-auothor .bio p.designation {
    font-size: 16px;
    color: #666666;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    margin: 0;
}

body.page-home .circle-progress-title p.progress_label {
    font-size: 22px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Oswald", sans-serif;
    line-height: 38px;
    margin: 0;
}

body.page-home .marquee.style2 .marquee-block h2.marquee_heading {
    font-weight: 700;
    margin: 0;
    -webkit-background-clip: text;
    letter-spacing: 0;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #131313;
    color: transparent;
    -webkit-mask-image: linear-gradient(-75deg, #131313 50%, #131313 50%, #131313);
    -webkit-mask-size: 200%;
    animation: shine 3s infinite;
    transition: .5s;
    font-size: 70px;
    display: inline;
}

body.page-home .single-blog-box.style_three .blog-title p.blog-title-text {
    margin: -8px 0 0;
}

body.page-home .single-blog-box.style_three .blog-title p.blog-title-text a {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 34px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

body.page-home .single-blog-box.style_three .blog-title p.blog-title-text a:hover {
    color: #b0712f;
}

body.page-home .home_seo_content h3 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 18px;
    color: #131313;
}
