/*
Theme Name: Astra Child
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


/* RESET */

/* =========================
   GOOGLE FONT
========================= */

/* =========================
   FONT
========================= */

/* =========================
   GOOGLE FONT
========================= */

/* =========================
   GOOGLE FONT
========================= */



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    color:#111827;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* =========================
   HERO SECTION
========================= */


.site-content .ast-container {
    display: block!important;
}

.ast-container {
    max-width: 100%!important;
    padding: 0px;
}    

.ast-separate-container {
    background-color: #ffffff!important
}
.ast-primary-header-bar {
        border: none!important;
}
.main-header-bar-wrap {
    padding-left: 30px;
    padding-right: 30px;
}

.hero-banner{
    position:relative;
    overflow:hidden;
    padding: 90px 20px 70px;
    background:
    linear-gradient(
        135deg,
        #0f172a 0%,
        #111827 50%,
        #1e3a8a 100%
    );
    text-align:center;
}

/* GLOW EFFECT */

.hero-banner::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(37,99,235,0.25);
    border-radius:50%;
    top:-150px;
    right:-100px;
    filter:blur(100px);
}

.hero-banner::after{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(14,165,233,0.18);
    border-radius:50%;
    bottom:-100px;
    left:-100px;
    filter:blur(100px);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    margin:auto;
}

/* BADGE */

.hero-badge{
    display:inline-block;
    background:rgba(255,255,255,0.12);
    color:#fff;
    padding:10px 22px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-bottom:30px;
    border:1px solid rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
}

/* TITLE */

.hero-content h1{
    font-size: 40px;
    line-height:1.1;
    font-weight:800;
    color:#fff;
    margin-bottom:30px;
}

/* DESCRIPTION */

.hero-content p{
    color:#d1d5db;
    font-size:20px;
    max-width:760px;
    margin:auto auto 45px;
}

/* =========================
   SEARCH FORM
========================= */

.hero-search-form{
    display:flex;
    align-items:center;
    max-width:760px;
    margin:auto;
    background:#fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow:
    0 15px 50px rgba(0,0,0,0.25);
}

.hero-search-form input{
    flex:1;
    border:none;
    background:transparent;
    padding:18px 20px;
    font-size:17px;
    font-family:'Poppins',sans-serif;
    outline:none;
    color:#111827;
    box-shadow: none!important;
}

.hero-search-form input::placeholder{
    color:#94a3b8;
}

.hero-search-form button{
    background:
    linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );
    color:#fff;
    border:none;
    padding:18px 35px;
    border-radius:14px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:0.3s;
}

.hero-search-form button:hover{
    transform:translateY(-2px);
    box-shadow:
    0 10px 25px rgba(37,99,235,0.35);
}


.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 100px;
    padding-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
}

.view-more-wrapper {
    text-align: center;
    margin-top: 70px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.view-more-btn:hover {
    background:#1d4ed8;
    color: #ffffff;
}

/* =========================
   BLOG SECTION
========================= */

.blog-section{
    padding:110px 0;
    background:#ffffff;
}

/* HEADER */

.blog-header{
    text-align:center;
    max-width:750px;
    margin:auto auto 70px;
}

.blog-header span{
    display:inline-block;
    color:#2563eb;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:15px;
}

.blog-header h2{
    font-size: 40px;
    margin-bottom:20px;
    color:#0f172a;
}

.blog-header p{
    color:#64748b;
    font-size:18px;
}

/* GRID */

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

/* CARD */

.blog-card{
    background:#f8fafc;
    border-radius:24px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    transition:0.3s;
}

.blog-card:hover{
    transform:translateY(-8px);
    background:#fff;
    box-shadow:
    0 15px 40px rgba(0,0,0,0.08);
}

/* IMAGE */

.blog-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

/* CONTENT */

.blog-content{
    padding:25px;
}

.blog-date{
    font-size:13px;
    color:#2563eb;
    font-weight:600;
    display:block;
    margin-bottom:10px;
}

/* TITLE */

.blog-content h3{
    font-size:22px;
    margin-bottom:15px;
    height: 86px;
    overflow: hidden;
}

.blog-content h3 a{
    text-decoration:none;
    color:#0f172a;
}

/* TEXT */

.blog-content p{
    color:#64748b;
    font-size:15px;
    line-height:1.7;
    margin-bottom:20px;
    height: 98px;
    overflow: hidden;
}

/* BUTTON */

.blog-btn{
    display:inline-block;
    color:#fff;
    background:
    linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );
    padding:10px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.blog-btn:hover{
    transform:translateY(-2px);
    color: #ffffff;
}
.featured-img img {
    height: 450px;
    object-fit: cover;
}


/* PAGE WRAPPER */
.ai-framework-page {
    padding: 60px 0;
}

/* CONTAINER */
.ai-framework-page .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
}

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

/* CARD */
.tool-card-single {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 14px;
    transition: 0.3s ease;
}

.tool-card-single:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* TITLE */
.tool-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* EXCERPT */
.tool-excerpt {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* READ MORE BUTTON */
.read-more-btn {
    display: inline-block;
    padding: 10px 14px;
    background: #38bdf8;
    color: #0f172a;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.site-footer ul {
    margin: 0px!important;
}

/* Footer Styles */
.site-footer {
    background: #0b3f52;
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.footer-container h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-container p,
.footer-container li {
    color: #ccc;
    font-size: 14px;
    line-height: 28px;
}

.footer-container ul {
    list-style: none;
    padding: 0;
}

.footer-container a {
    color: #ccc;
    text-decoration: none;
}

.footer-container a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #ffffff;
    padding-top: 40px;
    color: #ffffff;
    font-size: 14px;
}



/* Blog Wrapper */
.blog-wrapper {
    padding: 40px 20px;
}

/* Blog Title */
.blog-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

/* Blog Grid */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}

/* Post Title */
.blog-card-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Category */
.blog-category {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

/* Excerpt */
.blog-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Button */
.blog-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* Hover */
.blog-button:hover {
    background: #005a87;
    color: #ffffff;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 30px;
}

/* No Posts */
.no-posts {
    text-align: center;
}
.blog-excerpt p {
    height: 86px;
    overflow: hidden;
}

/* Featured Image */
.blog-image {
    margin-bottom: 15px;
}

.blog-image img {
    width: 100%;
    height: 230px;
    border-radius: 10px;
    display: block;
}
a.page-numbers {
    margin: 8px;
}

.about-hero{
    text-align:center;
    padding-top: 60px;
}

.about-title{
    margin:0;
    font-size:40px;
}

.about-intro{
    text-align:center;
    padding:20px;
}

.about-intro p{
    max-width:700px;
    margin:0 auto;
    line-height:1.6;
}

.about-container{
    max-width:1100px;
    margin:0 auto;
}

.about-section{
    display:flex;
    gap:40px;
    align-items:center;
    flex-wrap:wrap;
    margin:60px 0;
}

.topics-image,
.topics-content{
    flex:1;
    min-width:280px;
}

.topics-image img{
    width:100%;
    display:block;
}

/* Contact Page */
.contact-wrapper {
    padding: 0;
}

/* Hero */
.contact-hero {
    background: #245fa6;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.contact-hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

/* Container */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    gap: 40px;
}

/* Form */
.contact-form {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.page-id-58 .ast-article-single {
    padding: 30px;
}
.page-id-71 .ast-article-single {
    padding: 30px;
}

.page-id-3 .entry-title {
    padding-left: 73px;
}
.page-id-3 .ast-article-single h2 {
    font-size: 25px;
}
.page-id-3 .ast-article-single h3 {
    font-size: 20px;
}
.page-id-58 .ast-article-single h2 {
    font-size: 25px;
}
.page-id-71 .ast-article-single h2 {
    font-size: 25px;
}


.single h2 {
    font-size: 25px;
}

.single-ai-framework {
    padding: 60px 0;
}

.framework-title {
    font-size: 40px;
    margin-bottom: 10px;
}

.framework-meta {
    margin-bottom: 20px;
}

.framework-category {
    display: inline-block;
    padding: 6px 12px;
    background: #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
}

.framework-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.framework-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.framework-actions a {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 8px;
}

.btn-primary {
    background: #38bdf8;
    color: #fff;
}

.btn-secondary {
    background: #0f172a;
    color: #fff;
}


/* =========================
   AI FRAMEWORK PAGE
========================= */

.ai-framework-page {
    padding: 60px 0;
    background: transparent;
}

/* CONTAINER */
.ai-framework-page .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #111;
}

.page-header p {
    color: #555;
    font-size: 16px;
}

/* =========================
   GRID (3 IN A ROW)
========================= */

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


.tool-title a {
    color: #0f172a;
}
/* =========================
   READ MORE BUTTON
========================= */

.read-more-btn,
.view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    background: #2563eb;  
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* hover */
.read-more-btn:hover,
.view-more-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================
   WRAPPER
========================= */

.view-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.single-ai-framework h1 {
    font-size: 30px;
}

.blog-single-wrapper h1 {
    font-size: 30px;
}

/* =========================
   Post Tags Styling
========================= */

.post-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Individual Tag */
.post-tags .tag {
    display: inline-block;
    background: #f3f4f6;
    color: #333;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

/* Hover Effect */
.post-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Active Click Effect */
.post-tags .tag:active {
    transform: scale(0.96);
}


/* =========================
   RESPONSIVE
========================= */


@media (max-width: 600px) {
   .search-grid {
       grid-template-columns: 1fr;
    }
   .blog-container {
       grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 32px;
    }
}


/* =========================
   MOBILE
========================= */

@media(max-width:991px){

    .hero-content h1{
        font-size:52px;
    }
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-grid{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:768px){

    .hero-banner{
        padding:100px 20px 80px;
    }

    .hero-content h1{
        font-size:38px;
        letter-spacing:-1px;
    }

    .hero-content p{
        font-size:17px;
    }

    .hero-search-form{
        flex-direction:column;
        gap:10px;
        padding:15px;
    }

    .hero-search-form input{
        width:100%;
        padding:15px;
    }

    .hero-search-form button{
        width:100%;
    }

    .tool-image img{
        height:280px;
    }

    .tool-info{
        padding:30px 22px;
    }

    .tool-info h2{
        font-size:30px;
    }

    .tool-info p{
        font-size:16px;
    }

    .blog-header h2{
        font-size:36px;
    }
    .about-hero {
        padding-top: 60px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-container {
        padding: 0px 20px;
    }

    .about-section h2 {
        font-size: 24px;
    }
    .topics-section {
        flex-direction: column;
    }
    .contact-container {
        flex-direction: column;
    }
    .page-header h1 {
        font-size: 32px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
     .post-tags {
        gap: 8px;
    }

    .post-tags .tag {
        font-size: 13px;
        padding: 7px 12px;
    }
    .page-id-3 .entry-title {
        padding-left: 0px;
    }
    .page-id-3 .ast-article-single {
        padding: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
.topics-image img {
    width: 90%;
    margin: 0 auto;
}
.page-id-3 .entry-title {
    padding-left: 0px;
}
.page-id-3 .ast-article-single {
    padding: 20px;
}
}

@media(max-width:480px){

    .hero-content h1{
        font-size:32px;
    }

    .hero-badge{
        font-size:12px;
        padding:8px 16px;
    }
     .tools-grid{
        grid-template-columns: 1fr;
    }

}