/**
Theme Name: August Forward
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is a lightweight, customizable theme built for speed and SEO. Suitable for blogs, portfolios, and business websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: august-forward
Template: astra
*/

/* General Styling */
.ast-site-title-wrap {
    display: none;
}

.ast-logo-title-inline .ast-site-identity {
    padding: 8px 0 8px 42px;
}

.site-branding img {
    height: 85px;
    width: 85px;
}

.site-header {
    box-shadow: 0px 4px 4px 0px #00000040;
    height: 101px;
    z-index: 9999;
}

.ast-primary-header-bar .site-primary-header-wrap {
    min-height: 101px;
}

/* Site Navigation */
.site-navigation {
    margin-top: 0; /* Removed duplicate and conflicting values */
}

.main-header-menu > .menu-item > .menu-link,
#astra-footer-menu > .menu-item > .menu-link {
    font-family: Barlow;
    text-align: left;
    color: #011229;
}

.main-header-menu > .menu-item > .menu-link {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

#astra-footer-menu {
    margin-bottom: 5px;
}

#astra-footer-menu > .menu-item > .menu-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    padding: 0 20px;
}

#astra-footer-menu > .menu-item:last-child > .menu-link {
    padding-right: 0; /* Remove right padding for the last menu item */
}

.ast-primary-header-bar {
    border-bottom: 0;
}

/* Footer Styling */
.site-footer .site-above-footer-inner-wrap,
.site-primary-footer-wrap .site-primary-footer-inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.site-footer .site-above-footer-inner-wrap .site-footer-section-2,
.site-footer .site-footer-section-2 {
    display: flex;
    justify-content: flex-end;
}

.site-footer .site-above-footer-inner-wrap .site-footer-section-2 .site-footer-focus-item,
.site-primary-footer-wrap .site-footer-section {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.site-footer .site-above-footer-inner-wrap .site-footer-section-2 .site-footer-focus-item .widget {
    margin-bottom: 0;
}

.site-primary-footer-wrap {
    border-top: none !important;
    padding-top: 0;
}

.site-primary-footer-wrap .site-primary-footer-inner-wrap .site-footer-section-1 p,
.site-primary-footer-wrap .site-primary-footer-inner-wrap .site-footer-section-2 .menu a,
.menu-copyright-menu-container .menu a {
    font-family: Barlow;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #011229;
}

.site-primary-footer-wrap .site-primary-footer-inner-wrap .site-footer-section-2 .menu,
.site-primary-footer-wrap .site-primary-footer-inner-wrap .site-footer-section-2 .ast-nav-menu,
.menu-copyright-menu-container .menu {
    display: flex;
    gap: 12px;
}

.menu-copyright-menu-container .menu {
    margin-bottom: 4px;
}

/* Footer Miscellaneous */
.site-footer {
    margin-top: 110px;
}

.site-above-footer-wrap {
    padding-bottom: 10px;
}

.ast-footer-copyright {
    width: initial;
    margin-bottom: 0;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link {
    color: #0091B5;
}

.site-footer-above-section-2 .widget_block .wp-block-columns {
    margin-right: -25px;
}

.site-footer {
    margin-left: 5.07%;
    margin-right: 5.07%;
}

.home .hero-banner-section .banner-section p {
    margin-bottom: 0 !important;
}

.home .hero-banner-section .banner-section b {
    color: #0091B5;
}

.home .investment-section .investment-fund-section {
    height: 100%;
}

.news .news-posts-grid__item .news-posts-grid__header {
    font-family: Barlow;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    color: #FE6402;
}

.news .news-posts-grid__item .news-posts-grid__title a {
    font-family: Barlow Condensed;
    font-size: 38px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.015em;
    text-align: left;
    color: #000000;
    text-decoration: none;
}

.home .investment-section .investment-section-box .investment-fund-section p {
    margin-bottom: 0;
}

.portfolio .technology-section .technology-icons .e-con-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 232px));
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center !important;
}

.portfolio .brands-section .brands-icons .e-con-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 180px));
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center !important;
}

.portfolio .infrastructure-section,
.portfolio .investments-section,
.portfolio .infrastructure-investments-section {
    max-width: 560px;
}

@media (min-width: 1320px) {
    .portfolio .brands-section .brands-icons .e-con-inner > div:nth-child(4),
    .portfolio .brands-section .brands-icons .e-con-inner > div:nth-child(5) {
        margin-left: 100px;
    }
}


@media (min-width: 1011px) {
    .home .site-header .site-logo-img {
        position: absolute;
        z-index: 1;
        top: 25px;
    }

    .home .site-header .site-logo-img img {
        width: 258px;
        height: 258px;
    }
}

@media (max-width: 1200px) {
    .news .news-posts-grid__item .news-posts-grid__meta {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle-icon .ast-mobile-svg {
        height: 32px !important;
        width: 32px !important;
    }

    .ast-header-break-point .main-navigation .stack-on-mobile li {
        padding: 10px 0;
    }

    .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
        padding-bottom: 20px;
        padding-top: 10px;
    }

    .site-header {
        height: 95px;
    }

    .ast-primary-header-bar {
        padding-left: 0 !important;
        border: 0 !important;
    }

    .ast-logo-title-inline .ast-site-identity {
        padding: 0;
    }

    .site-header .site-logo-img img {
        width: initial;
        height: 95px;
    }

    .home .hero-banner-section {
        height: 500px;
        min-height: 500px;
    }

    .home .hero-banner-section .banner-section {
        background-position: center !important;
        background-size: 170% 594px !important;
        height: 500px;
        min-height: 500px;
    }

    .home .hero-banner-section p {
        font-family: Barlow Condensed;
        font-size: 70px;
        font-weight: 600;
        line-height: 70px;
        letter-spacing: 0.2em;
        text-align: center;
        color: #011229;
        margin-bottom: 3px;
    }

    .home .hero-banner-section b {
        font-family: Barlow Condensed;
        font-size: 70px;
        font-weight: 600;
        line-height: 70px;
        letter-spacing: 0.2em;
        text-align: center;
        display: block;
        color: #0091B5;
    }

    .home .strategy-banner .elementor-heading-title {
        font-family: Barlow Condensed !important;
        font-size: 44px !important;
        font-weight: 400 !important;
        line-height: 48px !important;
        letter-spacing: -0.015em !important;
        text-align: center !important;
    }

    .home .strategy-banner span {
        font-family: Barlow Condensed !important;
        font-size: 44px !important;
        font-weight: 700 !important;
        line-height: 48px !important;
        letter-spacing: -0.015em !important;
        text-align: center !important;
    }

    .home .view-portfolio-section .e-con-boxed {
        padding: 0;
    }

    .home .view-portfolio-section > div:first-child {
        padding: 0 32px !important;
    }

    .home .carousel-section .swiper-slide > div {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
        gap: 10px;
        margin-right: 10px;
    }

    .home .carousel-section div[data-slide="1"] > div > .e-child:nth-of-type(4),
    .home .carousel-section div[data-slide="2"] > div > .e-child:nth-of-type(4) {
        margin-left: 60px;
    }

    .home .carousel-section div[data-slide="1"] > div > .e-child:nth-of-type(5),
    .home .carousel-section div[data-slide="2"] > div > .e-child:nth-of-type(5){
        margin-left: 70px;
    }

    .home .investment-section .investment-section-box {
        padding: 0 !important;
    }

    .home .investment-section .investment-section-box .investment-fund-section {
        border: 2px solid #40D9FF !important;
        padding: 30px;
        min-height: 250px;
        height: 351px;
    }

    .home .investment-section .investment-section-box .e-grid .e-con-inner {
        display: flex;
        flex-direction: column;
    }

    .home .investment-section .investment-section-box .e-grid .e-con-inner > div:first-child {
        order: 2;
        height: 351px;
    }

    .home .business-partner-section {
        margin: 0;
    }

    .home .business-partner-section .business-partner-box {
        padding: 0 !important;
    }

    .home .business-partner-section .business-partner-box .text-box-container {
        height: 351px;
    }

    .home .business-partner-section .business-partner-box .text-box-container > div:first-child {
        padding: 30px;
        min-height: 250px;
        height: 351px;
    }

    .home .risk-section {
        margin: 0;
    }

    .home .risk-section .risk-section-box {
        padding: 0 !important;
    }

    .home .risk-section .risk-section-box .e-grid .e-con-inner {
        display: flex;
        flex-direction: column;
    }

    .home .risk-section .risk-section-box .text-box-container {
        height: 351px;
    }

    .home .risk-section .risk-section-box .text-box-container > div:first-child {
        padding: 30px;
        min-height: 250px;
        height: 351px;
    }

    .home .risk-section .risk-section-box .e-grid .e-con-inner > div:first-child {
        order: 2;
    }

    .home .busy-section .busy-section-box {
        padding: 0 32px !important;
    }

    .home .busy-section .busy-section-box img {
        width: 74px;
        height: 26px;
    }

    .home .busy-section .busy-section-box p {
        font-family: Barlow Condensed;
        font-size: 40px;
        font-weight: 400;
        line-height: 36px;
        letter-spacing: -0.015em;
    }

    .home .news-section .news-section-box {
        padding: 0 32px !important;
    }

    .home .news-section .news-section-box .e-con-boxed {
        padding: 0 !important;
    }

    .home .news-section .punderfile-box {
        padding-left: 32px !important;
        padding-bottom: 40px !important;
        height: 380px;
        min-height: 380px;
    }

    .home .news-section .latest-news-box {
        padding-left: 32px !important;
        padding-bottom: 40px !important;
        height: 380px;
        min-height: 380px;
    }

    .site-footer {
        margin-top: 60px;
    }

    .site-footer .site-above-footer-wrap .ast-builder-footer-grid-columns {
        display: grid;
    }

    .site-footer .site-above-footer-wrap .ast-builder-footer-grid-columns .site-footer-section {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-grid-row-container-inner .ast-builder-footer-grid-columns {
        display: grid;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-grid-row-container-inner .ast-builder-footer-grid-columns .site-footer-primary-section-1 {
        order: 2;
    }

    .site-footer .footer-navigation {
        padding-left: 40px;
    }

    .site-footer #astra-footer-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 30px;
        justify-items: start;
        justify-content: start;
        text-align: left;
    }

    .site-footer #astra-footer-menu li:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer #astra-footer-menu li:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .site-footer #astra-footer-menu li:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .site-footer #astra-footer-menu li:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer #astra-footer-menu li:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .site-footer .ast-builder-layout-element.ast-footer-copyright {
        align-items: center;
        justify-content: center;
        margin-top: 50px;
    }

    .about-us .hero-banner-section .e-con-boxed:first-child {
        padding-left: 0;
        text-align: center;
    }

    .about-us .hero-banner-section .e-grid > div:first-child {
        align-items: center;
    }

    .about-us .hero-banner-section .e-grid > div:nth-child(2) .elementor-widget-heading > div {
        padding: 0;
        margin-bottom: 60px;
    }

    .about-us .who-we-are-section .e-grid > div:nth-child(2) .elementor-widget-heading > div {
        padding: 0 32px;
    }

    .about-us .who-we-are-section .e-grid > div:first-child {
        margin-top: 0;
    }

    .about-us .who-we-are-section .e-grid > div:first-child .elementor-widget-container {
        margin: 0;
        padding: 0 0 30px 0;
        text-align: center;
    }

    .about-us .what-we-do-section .e-grid > div:first-child {
        order: 2;
        padding: 0 32px;
    }

    .about-us .what-we-do-section .e-grid > div:nth-child(2) {
        padding: 0 32px;
    }

    .about-us .what-we-do-section .e-grid > div:nth-child(2) .elementor-widget-container {
        margin: 0;
        text-align: center;
    }

    .about-us .leadership-section .elementor-widget-container {
        padding: 0 32px !important;
        text-align: center;
    }

    .about-us .joe-pounder-section .e-grid:first-child > div:first-child {
        padding: 0 32px;
        align-items: center;
    }

    .about-us .joe-pounder-section .e-grid:first-child > div:nth-child(2) {
        padding: 0 32px;
        justify-content: center;
        margin-top: 10px;
    }

    .about-us .joe-pounder-section .ceo-box > div:first-child {
        text-align: center;
        margin-top: 20px;
    }

    .contact .hero-banner-section .e-flex {
        padding: 0 32px;
        text-align: center;
    }

    .contact .hero-banner-section .e-con-inner {
        justify-content: center;
    }

    .contact .form-section {
        padding: 0 32px;
        text-align: center;
    }

    .contact .form-section .e-flex {
        padding: 0;
        text-align: center;
    }

    .contact .form-section .elementor-widget-form .elementor-widget-container {
        padding: 0;
    }

    .news .hero-banner-section .hero-banner-box  {
        padding: 0 32px;
        text-align: center;
    }

    .news .hero-banner-section .hero-banner-box .e-con-inner {
        justify-content: center;
    }

    .news .elementor-widget-news_posts_widget .elementor-widget-container {
        margin: 0 32px !important;
    }

    .news .elementor-widget-news_posts_widget .news-posts-grid__item {
        width: 100%;
    }

    .pounderfile .hero-banner-section > .e-con-inner > div:first-child {
        padding: 0;
    }

    .pounderfile .hero-banner-section .e-grid  {
        padding: 0 32px;
        text-align: center;
    }

    .pounderfile .feed-title-section {
        padding: 0 32px;
        text-align: center;
    }

    .pounderfile .feed-section .e-flex {
        padding: 0 32px;
    }

    .portfolio .hero-banner-section {
        margin-bottom: 30px;
    }

    .portfolio .hero-banner-section .e-con-inner > div:first-child {
        background-repeat: no-repeat;
        background-size: cover;
        padding: 30px 0 50px;
    }

    .portfolio .hero-banner-section .e-con-inner > div:first-child > .e-con-inner > div:first-child {
        padding-bottom: 0;
    }

    .portfolio .hero-banner-section .e-con-inner > div:first-child > .e-con-inner > div:nth-child(2) {
        margin-top: 0;
    }

    .portfolio .hero-banner-section .e-con-inner {
        align-items: center !important;
    }

    .portfolio .hero-banner-section .e-con-inner .elementor-widget-container {
        margin: 0px !important;
    }

    .portfolio .hero-banner-section .statistics-grid .elementor-widget-counter {
        padding-bottom: 30px !important;
    }

    .portfolio .chart-section {
        padding: 0 32px;
    }

    .portfolio .chart-section .e-grid > .elementor-widget-image {
        margin-bottom: 30px;
    }

    .portfolio .chart-section .e-grid > .e-child {
        padding-left: 14px;
    }

    .portfolio .technology-section {
        padding: 0 32px;
    }

    .portfolio .technology-section > .e-flex {
        padding: 10px;
    }

    .portfolio .technology-section > .e-flex {
        padding: 10px;
    }

    .portfolio .technology-section .e-grid > div:first-child {
        margin: 0;
        padding: 20px;
    }

    .portfolio .brands-section {
        padding: 0 32px;
    }

    .portfolio .brands-section > .e-flex {
        padding: 10px;
    }

    .portfolio .brands-section .e-grid > div:nth-child(2) {
        margin: 0;
        padding: 20px;
    }

    .portfolio .brands-section img {
        padding: 10px;
    }

    .portfolio .infrastructure-section {
        padding: 0 32px;
    }

    .portfolio .infrastructure-section > .e-flex {
        padding: 10px;
    }

    .portfolio .infrastructure-section .e-grid {
        padding: 10px;
    }

    .portfolio .infrastructure-section .e-grid > div:first-child {
        margin: 0;
        padding: 20px;
    }

    .portfolio .brands-section .brands-icons {
        margin-top: 15px;
        margin-bottom: 30px;
    }
}
