/*
Theme Name: akin child
Tags:  custom-menu, editor-style, featured-images
Template: akin
Version: 1.0.0
*/

/*---------------------------------
      write your css from here
------------------------------------*/

/* ====== Footer logo as text ====== */
.akin-description-area > a:first-child img.logo {
    display: none !important;
}
.akin-description-area > a:first-child {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 8px;
}
.akin-description-area > a:first-child::after {
    content: "Buildvision";
}


/* ====== Dark footer baseline ====== */
.witrfm_area {
    background: #1b1919 !important;
}
.footer-middle {
    color: #e0e0e0;
}
.akin-description-area > p {
    color: #c9c9c9;
}
.footer-middle .widget h2.widget-title,
#about_us-widget-2 .widget-title {
    color: #ffffff;
}
#about_us-widget-2 .footer-widget.address,
#about_us-widget-2 .footer-widget.address p,
#about_us-widget-2 .footer-widget.address .footer-sociala-info p,
#about_us-widget-2 .footer-widget.address .footer-sociala-icon i {
    color: #e0e0e0 !important;
}
.footer-middle .mc4wp-form-fields input {
    color: #ffffff;
}
.footer-bottom {
    background: #0f0f0f;
}
.copy-right-text,
.copy-right-text p,
.copy-right-text a {
    color: #c9c9c9;
}
.footer-menu ul li a {
    color: #c9c9c9;
}
.footer-menu ul li a:hover {
    color: #ffffff;
}


/* ====== Baseline alignment ====== */
#twr_description_widget-1,
.akin-description-area,
.akin-description-area > a:first-child,
.akin-description-area > p,
.akin-description-area .social-icons {
    text-align: left;
}
#about_us-widget-2 {
    text-align: left;
}
.footer-bottom .copy-right-text,
.footer-bottom .copy-right-text p {
    text-align: left !important;
}
.footer-bottom .footer-menu,
.footer-bottom .footer-menu ul,
.footer-bottom .footer-menu ul li {
    text-align: right !important;
}


/* ====== Right contact column: centered icon + text rows ====== */
#about_us-widget-2 .footer_s_inner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 12px;
}
#about_us-widget-2 .footer-sociala-icon {
    float: none;
    flex: 0 0 auto;
    width: 20px;
    margin-right: 12px;
    margin-top: 3px;
    text-align: center;
}
#about_us-widget-2 .footer-sociala-info {
    flex: 0 1 auto;
    max-width: 100%;
    text-align: left;
}
#about_us-widget-2 .footer-sociala-info p {
    margin: 0;
}
#mc4wp_form_widget-1 {
    text-align: left;
}
#mc4wp_form_widget-1 .mc4wp-form-fields {
    text-align: left;
}


/* ====== Equal-height service cards (desktop 3-col) ====== */
@media (min-width: 992px) {
    .elementor-inner-column:has(.service-item) {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }
    .elementor-inner-column:has(.service-item) > .elementor-widget-wrap {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
    .elementor-inner-column:has(.service-item) > .elementor-widget-wrap > .elementor-widget {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
    .elementor-inner-column:has(.service-item) .elementor-widget-container {
        flex: 1 1 auto;
    }
    .elementor-inner-column:has(.service-item) .service-item {
        flex: 1 1 auto;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .elementor-inner-column:has(.service-item) .text_box {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
    .elementor-inner-column:has(.service-item) .text_box p {
        flex: 1 1 auto;
    }
    .elementor-inner-column:has(.service-item) .service-btn {
        margin-top: auto;
    }
}

/* ====== Header image logo: natural uploaded size ====== */
.logo a img,
.mobile_menu_logo a img {
    display: inline-block;
}

/* Sticky dark bar: invert logo for contrast on dark background */
.logo a.main_sticky_l img {
    filter: brightness(0) invert(1);
}


/* ====== Footer middle: three-column layout ====== */
.footer-middle .row > div.col-lg-d-none {
    display: block !important;
}
@media (min-width: 992px) {
    .footer-middle .row > div.col-lg-d-none {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
/* middle service column: left aligned stacked links */
.footer-middle .widget_nav_menu .widget-title {
    text-align: left;
}
.footer-middle .widget_nav_menu ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-middle .widget_nav_menu ul.menu li {
    margin-bottom: 14px;
}
.footer-middle .widget_nav_menu ul.menu a {
    color: #c9c9c9;
}
.footer-middle .widget_nav_menu ul.menu a:hover {
    color: #fff;
}


/* ====== Three-column footer alignment (match reference layout) ====== */
#about_us-widget-2 {
    text-align: left !important;
}
#about_us-widget-2 .widget-title {
    text-align: left;
}
#about_us-widget-2 .footer_s_inner {
    justify-content: flex-start;
}
#mc4wp_form_widget-1 {
    text-align: left;
}
#mc4wp_form_widget-1 .mc4wp-form-fields {
    text-align: left;
}
@media (min-width: 992px) {
    .footer-middle .row > div:has(#about_us-widget-2) {
        margin-left: 0;
    }
}


/* Align brand block top with widget titles in three-column footer */
.akin-description-area > a:first-child {
    margin-top: 28px;
}


/* Middle service menu: force left aligned links */
#nav_menu-3 ul.menu,
#nav_menu-3 ul.menu li,
#nav_menu-3 ul.menu li a {
    text-align: left;
}
/* Right contact rows: force left aligned text */
#about_us-widget-2 .footer-sociala-info,
#about_us-widget-2 .footer-sociala-info p {
    text-align: left !important;
}


/* ====== Blog cards equal height (desktop) ====== */
/* Homepage slick carousel: stretch each card to equal slide height */
@media (min-width: 992px) {
    .busi_singleBlog {
        height: 494px;
        display: flex;
        flex-direction: column;
    }
    .busi_singleBlog .witr_sb_thumb {
        flex: 0 0 auto;
    }
    .busi_singleBlog .all_blog_color {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
}
/* Blog index page: waterfall back to equal-height flex grid, button pinned to bottom */
@media (min-width: 992px) {
    .row.blog-messonary {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch;
        height: auto !important;
    }
    .row.blog-messonary > div[class*="col-"] {
        position: static !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }
    .row.blog-messonary .akin-single-blog {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
    .row.blog-messonary .em-blog-content-area {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }
    .row.blog-messonary .readmore {
        margin-top: auto;
    }
}

/* Blog index: make article and card fill the equal-height column */
.row.blog-messonary > div[class*="col-"] > * {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.row.blog-messonary .akin-single-blog {
    height: 100%;
}


/* ====== Default top nav bar: dark background white text (does not affect sticky .prefix) ====== */
.akin_nav_area.scroll_fixed:not(.prefix) {
    background: #1b1919 !important;
}
.akin_nav_area.scroll_fixed:not(.prefix) ul.menu li a,
.akin_nav_area.scroll_fixed:not(.prefix) .mainmenu li a,
.akin_nav_area.scroll_fixed:not(.prefix) .akin_menu li a {
    color: #ffffff !important;
}
.akin_nav_area.scroll_fixed:not(.prefix) .logo a img,
.akin_nav_area.scroll_fixed:not(.prefix) .main_sticky_main_l img {
    filter: brightness(0) invert(1);
}
.akin_nav_area.scroll_fixed:not(.prefix) .icofont-search-2,
.akin_nav_area.scroll_fixed:not(.prefix) .t-queary,
.akin_nav_area.scroll_fixed:not(.prefix) [class*=icofont] {
    color: #ffffff !important;
}
.akin_nav_area.scroll_fixed:not(.prefix) .dtbtn {
    background: #ffffff !important;
    color: #1b1919 !important;
}


/* ====== Default top bar: show Buildvision text instead of image logo; sticky keeps image ====== */
.akin_nav_area.scroll_fixed:not(.prefix) .main_sticky_main_l img {
    display: none;
}
.akin_nav_area.scroll_fixed:not(.prefix) .main_sticky_main_l {
    display: inline-flex;
    align-items: center;
    height: 106px;
    font-size: 30px;
    font-weight: 700;
    font-family: Jost, sans-serif;
    color: #ffffff;
    line-height: 1;
}
.akin_nav_area.scroll_fixed:not(.prefix) .main_sticky_main_l::before {
    content: "Buildvision";
}


/* ====== Testimonial cards equal height (What Our Clients Say) ====== */
.witr_testi_itemt {
    height: 392px;
    display: flex;
    flex-direction: column;
}
.witr_testi_itemt .em_single_testimonial {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.witr_testi_itemt .em_testi_content {
    flex: 1;
}
