/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-child
Template: astra
*/



body.home .site-content .ast-container {
    display: block;
}

body.home .site-content>.ast-container {
    display: block;
    max-width: 100%;
    padding: 0;
}

body.home .site-content>.ast-container div#primary {
    margin: 0;
}


.ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg path:not( .ast-hf-account-unfill ), .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset svg circle {
    fill: #138690 !important;
}


.ast-desktop .main-header-menu.ast-menu-shadow .sub-menu .sub-menu {
    max-height: 465px;
    overflow-y: scroll;
}
.ast-desktop .main-header-menu.ast-menu-shadow .sub-menu .sub-menu::-webkit-scrollbar {
    width: 8px;
}
.ast-desktop .main-header-menu.ast-menu-shadow .sub-menu .sub-menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background: var(--button);
}
.ast-desktop .main-header-menu.ast-menu-shadow .sub-menu .sub-menu::-webkit-scrollbar-track {
    border-radius: 10px;
}


.ast-primary-header-bar.ast-primary-header ul.sub-menu li a, .ast-builder-menu-mobile ul.sub-menu li a {
    color: var(--ast-global-color-3);
    padding: 10px 20px;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
}


/* Front Page Template Styles */




/* Hero Banner Section */

.hero-banner {
    background: linear-gradient(45deg, #3ea9bd17, #32b2ae00);
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 1.7;
}

section.hero-banner .ast-container {
    height: 100%;
}

section.hero-banner .ast-container .herobanner-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1;
    font-family: 'Inter',sans-serif;
}
.hero-title strong {
    font-size: 3.8rem;
    font-weight: 600;
    display: block;
    background: linear-gradient(135deg, #15889b 0%, #32b2ae 100%);
    color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    color: #51676acc;
}

.hero-search {
    max-width: 500px;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-search form {
    display: flex;
    box-shadow: 5px 12px 25px #00000012;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 50px;
    padding: 10px;
    gap: 10px;
}

.hero-search form:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 12px 21px;
    font-size: 16px;
    border-radius: 50px;
    outline: none;
    background: transparent;
    color: #2c2c2c;
    font-weight: 500;
    height: fit-content;
    outline: none;
    border: 1px solid #eee;
}

.hero-search input::placeholder {
    color: #666;
    font-weight: 400;
}

.hero-search button {
    background: linear-gradient(135deg, #15889b 0%, #32b2ae 100%);
    border: none;
    padding: 0;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.hero-image lottie-player {
    width: 80%;
    aspect-ratio: 1 / 1;
}



/* Container and Section Styles */


.section-title {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
    padding-bottom: 30px;
    margin-bottom: 50px;
    border-bottom: 1px solid #00000012;
}

/* Blog Categories Section */

.blog-categories {
    padding: 90px 0 100px;
}
.categories-grid {
    display: flex;
    gap: 23px;
    flex-wrap: wrap;
}
.category-card {
    flex: 1;
    background: #19929e05;
    text-align: center;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.category-card h3 {
    font-size: 1.3rem;
    color: #fff;
    padding: 10px;
}
.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.category-card a {
    display: block;
    width: 100%;
    background: linear-gradient(360deg, black, #ffffff00);
    position: relative;
}

/* Top Rated Blogs Section */
.top-rated-blogs {
    padding: 90px 0 100px;
    background: #f9f9fb;
}

.top-rated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.top-rated-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.top-rated-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.top-rated-card:hover .card-image img {
    transform: scale(1.1);
}

.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #138690;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-content {
    padding: 25px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.card-meta .category {
    color: #ff6b35;
    font-weight: 600;
}

.card-meta .date {
    color: #666;
}

.card-content h3 {
    margin-bottom: 15px;
    line-height: 1;
}

.card-content h3 a {
    color: var(--ast-global-color-2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content h3 a:hover {
    color: #138690;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-author img {
    border-radius: 50%;
}

.card-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Popular Post Section */


section.popular-post {
    padding: 90px 0 100px;
}

.popularpost-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 25px;
}
    
.popularbloglist:nth-child(1) {
    grid-column: span 3 / span 3;
    grid-row: span 4 / span 4;
}

.popularbloglist:nth-child(2) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 4;
}

.popularbloglist:nth-child(3) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 3;
}

.popularbloglist figure img {
    display: block;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    aspect-ratio: 4 / 2.8;
    transition: .5s;
}

.popularbloglist .popularblogbox {
    position: absolute;
    background: #fff;
    bottom: 0;
    width: calc(100% - 80px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 25px #00000014;
}

.popularbloglist {
    position: relative;
}

.popularbloglist figure {
    height: calc(100% - 40px);
    overflow: hidden;
    border-radius: 15px;
}
.popularbloglist:hover img {
    transform: scale(1.1);
}

.popularblogbox h3 {
    margin-top: 4px;
}
.popularblogbox h3 a {
    color: var(--ast-global-color-2);
}



/* Post Banner Section */
.post-banner {
    background: linear-gradient(45deg, #00000096, #19929e21), url(/wp-content/uploads/2025/08/newsletter-bg.webp) no-repeat center center / cover;
    padding: 60px 0 70px;
    text-align: center;
    color: white;
    position: relative;
    border-radius: 20px;
}


.banner-content h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.post-banner form p {
    margin: 0;
    display: flex;
    align-items: center;
}

.post-banner form {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 5px 12px 25px #00000012;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    gap: 10px;
}

.post-banner form p input[type="email"] {
    flex: 1;
    font-size: 16px;
    height: fit-content !important;
    padding: 10px 16px !important;
    border-radius: 6px;
    background: transparent;
    color: #2c2c2c;
    font-weight: 500;
    height: fit-content;
    outline: none;
    border: 1px solid #eee;
    font-weight: 300;
}

.post-banner form p span.wpcf7-spinner {
    position: absolute;
}

.post-banner form p input.wpcf7-form-control.wpcf7-submit {
    margin-left: 10px;
}

/* Recent Posts Slider Section */

.recentposts {
    margin: 100px 0 90px;
    padding: 90px 0 100px;
    background: #121212;
}
.recentposts h2.section-title {
    color: #fff;
    border-bottom: 1px solid #ffffff24;
}


        

.recentposts-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 23px;
}
    
.recentpost-item:nth-child(1) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.recentpost-item:nth-child(2) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 3;
}

.recentpost-item:nth-child(3) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
}

.recentpost-item:nth-child(4) {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 3;
}

.recentpost-item:nth-child(5) {
    grid-column: span 4 / span 4;
    grid-row: span 4 / span 4;
    grid-column-start: 5;
    grid-row-start: 1;
}
        
article.recentpost-item .recentpost-image>a, article.recentpost-item .recentpost-image>a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.recentpost-image {height: calc(100% - 95px);}

.slider-content {
    height: 10%;
}

article.recentpost-item .recentpost-image>a img {
    aspect-ratio: 4 / 3;
    border-radius: 15px;
}

.slider-content h3 a {
    color: #ffffff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 1.4rem;
}

article.recentpost-item .slider-meta {
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

article.recentpost-item .slider-meta span {
    color: #19929e;
    font-weight: 500;
    line-height: 1;
    padding: 9px 16px;
    background: #ffffff12;
    font-size: 15px;
    border-radius: 5px;
}

article.recentpost-item .slider-meta span a {
    color: #19929e;
    font-weight: 500;
    line-height: 1;
}



/* Testimonials Section */
.testimonials {
    padding: 0 0 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 25px;
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1rem;
}

.testimonial-content p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author .author-info {
    text-align: left;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: #333;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}



/* FOOTER SECTION CODE */


footer#colophon {
    background: linear-gradient(45deg, #000000f7, #19929e69), url(/wp-content/uploads/2025/08/footer-bg.webp) no-repeat center center / cover;
    background-attachment: fixed;
}

.footer-bar-navigation ul#astra-footer-menu {
    gap: 12px;
    width: fit-content;
    margin: 0 auto;
}

.footer-bar-navigation ul#astra-footer-menu li a {
    display: inline-block;
    background: #ffffff2e;
    padding: 10px 22px;
    line-height: 1;
    border-radius: 6px;
    color: #fff;
    outline: none;
    font-size: 14px;
    border: 1px solid #ffffff2b;
}




/* SINGLE BLOG IMAGE CSS */


.singlepost-img img {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    border-radius: 20px;
	object-fit: cover;
    aspect-ratio: 4 / 2;
}




/* RESPONSIVE CODE */


@media only screen and (max-width: 991px) {
    .hero-search {
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-title strong {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero-search input {
        font-size: 1rem;
    }
    .hero-banner {
        aspect-ratio: auto;
        padding: 20px 0;
    }


    .categories-grid {
        display: block;
        column-count: 3;
        gap: 20px;
    }
    .category-card {
        margin-bottom: 18px;
    }


    .blog-categories, section.top-rated-blogs, section.popular-post, section.recentposts {
        padding: 40px 0 50px
    }
    .recentposts {
        margin: 50px 0;
    }
    .testimonials {
        padding: 0 0 50px;
    }
    .section-title {
        font-size: 1.8rem;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }


    .banner-content h2 {
        font-size: 2.4rem;
        line-height: 1;
    }
    .banner-content p {
        font-size: 1rem;
    }

    .slider-content h3 a {
        font-size: 1.2rem;
    }


    .post-banner {
        padding: 60px 15px 70px;
    }
    .top-rated-grid {
        gap: 20px;
    }

    .popularpost-grid {
        display: flex;
        gap: 25px;
        flex-direction: column;
    }

    .recentposts-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

}



@media only screen and (max-width: 767px ) {
    .categories-grid {
        column-count: 2;
    }
    section.hero-banner .ast-container .herobanner-grid {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .hero-banner {
        padding: 30px 0 50px;
    }
    .hero-image {
        justify-content: center;
    }
    .hero-content {
        text-align: center;
		width: 100%;
    }
	
	
	.singlepost-img img {
    	margin-bottom: 20px;
	}
	header.entry-header .entry-title {
    	font-size: 1.5rem;
	}
	.single .entry-header {
    	margin-bottom: 1em;
	}
	.site-logo-img img {
    width: 180px;
}
}
