/* HERO */

.blog-hero {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 800;
}

.blog-hero p {
    margin-top: 15px;
    font-size: 18px;
    opacity: .9;
}

/* CONTAINER */
.section-box{
    max-width:1000px;
    margin:60px auto;
}

.blog-container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

/* GRID */

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

/* CARD */

.blog-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.blog-card a {
    text-decoration: none;
    color: #6366f1;
    font-weight: 700;
}

.blog-card p {
    margin-top: 10px;
    line-height: 1.6;
    color: #4b5563;
}

/* READ BUTTON */

.read-btn {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
}

/* TAG */

.tag {
    display: inline-block;
    background: #ede9fe;
    color: #6d28d9;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 12px;
}

/* NEWSLETTER */

.newsletter {
    margin-top: 100px;
    background: white;
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.newsletter h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.newsletter input {
    padding: 12px 15px;
    width: 260px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-right: 10px;
}

.newsletter button {
    padding: 12px 20px;
    border: none;
    background: #6366f1;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* INFO */

.info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}


/* PREMIUM CARD */
.premium-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* GRADIENT BORDER */
.premium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: 20px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
    /* 👈 THIS FIXES CLICK ISSUE */
}

/* HOVER EFFECT */
.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
}

/* TOP SECTION */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* TAG */
.tag {
    background: #ede9fe;
    color: #6d28d9;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
}

/* BADGE */
.badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* TITLE */
.premium-card h3 a {
    /* text-decoration: none; */
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.premium-card h3 a:hover {
    color: #7c3aed;
}

/* TEXT */
.premium-card p {
    margin-top: 10px;
    color: #4b5563;
    line-height: 1.7;
}

/* BUTTON */
.read-btn {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
    transition: 0.3s;
}

.read-btn:hover {
    letter-spacing: 0.5px;
    color: #4f46e5;
}

/* GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* CARD */
.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ICON */
.feature-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

/* TITLE */
.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #111827;
}

/* TEXT */
.feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* HOVER EFFECT */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;
}

.feature-card:hover p {
    color: #e0e7ff;
}

/* FAQ BOX */
.faq-box {
    margin-top: 30px;
}

/* ITEM */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* QUESTION */
.faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PLUS ICON */
.faq-question span {
    font-size: 20px;
    transition: 0.3s;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #4b5563;
    line-height: 1.7;
    transition: all 0.4s ease;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 15px 20px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.seo-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* SEO CONTENT CONTAINER */
.seo-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 18px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    color: #374151;
    position: relative;
    overflow: hidden;
}

/* GRADIENT BORDER */
.seo-box::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: 18px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
}

/* ENSURE CONTENT ABOVE BORDER */
.seo-box * {
    position: relative;
    z-index: 1;
}

/* HEADINGS */
.seo-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #111827;
}

.seo-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #4f46e5;
}

/* PARAGRAPHS */
.seo-box p {
    margin-bottom: 15px;
    font-size: 15.5px;
    color: #4b5563;
}

/* LISTS */
.seo-box ul {
    margin: 15px 0;
    padding-left: 20px;
}

.seo-box li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* STRONG TEXT */
.seo-box strong {
    color: #111827;
    font-weight: 600;
}

/* HOVER EFFECT (SUBTLE) */
.seo-box:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .seo-box {
        padding: 25px;
    }

    .seo-box h2 {
        font-size: 22px;
    }

    .seo-box h3 {
        font-size: 18px;
    }

    .seo-box p,
    .seo-box li {
        font-size: 14px;
    }
}
