/* =========================================================
   SainAzeemTech Career
   Author / Portfolio Page
========================================================= */

.author-page {
    width: 100%;
    padding: 60px 0 90px;
}


/* =========================================================
   HERO
========================================================= */

.author-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 80px;

    min-height: 500px;

    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    align-items: center;
    gap: 70px;

    padding: 70px;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(99, 102, 241, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(14, 165, 233, 0.15),
            transparent 35%
        ),
        #ffffff;

    border: 1px solid #e4e8f2;

    box-shadow:
        0 25px 70px rgba(31, 41, 55, 0.08);
}


.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 16px;

    margin-bottom: 24px;

    border-radius: 999px;

    background: #ecfdf5;
    border: 1px solid #c7f3df;

    color: #087f5b;

    font-size: 14px;
    font-weight: 700;
}


.author-badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #10b981;
}


.author-hero h1 {
    margin: 0;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1;

    letter-spacing: -3px;

    color: #11152b;
}


.author-hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #4f46e5,
        #06b6d4
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.author-hero h2 {
    margin: 25px 0 18px;

    font-size: 24px;

    color: #202640;
}


.author-hero p {
    max-width: 650px;

    margin: 0;

    color: #64748b;

    font-size: 17px;

    line-height: 1.8;
}


.author-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   BUTTONS
========================================================= */

.author-primary-btn,
.author-secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.author-primary-btn {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #4f46e5,
        #06b6d4
    );

    box-shadow:
        0 12px 25px rgba(79, 70, 229, 0.22);
}


.author-primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(79, 70, 229, 0.28);
}


.author-secondary-btn {
    color: #303654;

    background: #ffffff;

    border: 1px solid #dfe4ef;
}


.author-secondary-btn:hover {
    transform: translateY(-2px);

    border-color: #bfc8dc;
}


/* =========================================================
   PROFILE CARD
========================================================= */

.author-profile-card {
    padding: 40px 30px;

    text-align: center;

    border-radius: 24px;

    background: #111827;

    color: #ffffff;

    box-shadow:
        0 25px 55px rgba(15, 23, 42, 0.20);
}


.author-avatar {
    width: 130px;
    height: 130px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #4f46e5,
        #06b6d4
    );

    color: #ffffff;

    font-size: 54px;
    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(6, 182, 212, 0.25);
}


.author-profile-card h3 {
    margin: 0 0 8px;

    font-size: 21px;
}


.author-profile-card p {
    margin: 0;

    color: #aebbd2;
}


.author-brand {
    display: inline-block;

    margin-top: 22px;

    padding: 8px 13px;

    border-radius: 999px;

    background: rgba(255,255,255,0.08);

    color: #8ee7ff;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.author-section {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto 90px;
}


.author-section-heading {
    max-width: 760px;

    margin-bottom: 40px;
}


.author-section-label {
    margin-bottom: 12px;

    color: #4f46e5;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.author-section-heading h2 {
    margin: 0 0 15px;

    color: #11152b;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.author-section-heading p {
    margin: 0;

    color: #64748b;

    line-height: 1.8;
}


/* =========================================================
   ABOUT
========================================================= */

.author-about-grid {
    display: grid;

    grid-template-columns: 1.5fr 0.8fr;

    gap: 50px;

    align-items: start;
}


.author-about-grid p {
    color: #53627b;

    font-size: 16px;

    line-height: 1.9;
}


.author-focus-card {
    padding: 30px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #e3e8f1;

    box-shadow:
        0 15px 40px rgba(31, 41, 55, 0.06);
}


.author-focus-card h3 {
    margin: 0 0 20px;

    color: #11152b;

    font-size: 20px;
}


.author-focus-card ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.author-focus-card li {
    padding: 11px 0;

    border-bottom: 1px solid #edf0f5;

    color: #53627b;
}


.author-focus-card li:last-child {
    border-bottom: 0;
}


/* =========================================================
   EXPERTISE
========================================================= */

.author-expertise-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.author-expertise-card {
    padding: 28px;

    min-height: 230px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #e3e8f1;

    box-shadow:
        0 12px 35px rgba(31, 41, 55, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.author-expertise-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(31, 41, 55, 0.09);
}


.expertise-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 15px;

    background: #eef2ff;

    font-size: 25px;
}


.author-expertise-card h3 {
    margin: 0 0 12px;

    color: #11152b;

    font-size: 18px;
}


.author-expertise-card p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   BRAND SECTION
========================================================= */

.author-brand-section {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto 90px;

    padding: 55px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;

    border-radius: 25px;

    background:
        linear-gradient(
            120deg,
            #171936,
            #173d57
        );

    color: #ffffff;
}


.author-brand-section h2 {
    margin: 0 0 15px;

    font-size: 42px;
}


.author-brand-section p {
    max-width: 700px;

    margin: 0;

    color: #c8d4e8;

    line-height: 1.8;
}


.author-brand-section .author-section-label {
    color: #67e8f9;
}


/* =========================================================
   SOCIAL
========================================================= */

.author-social-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.author-social-card {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 25px;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid #e2e7f0;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.author-social-card:hover {
    transform: translateY(-4px);

    border-color: #b9c3d8;
}


.author-social-card strong {
    color: #11152b;

    font-size: 17px;
}


.author-social-card span {
    color: #64748b;

    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.author-cta {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 55px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-radius: 25px;

    background:
        linear-gradient(
            120deg,
            #4f46e5,
            #0891b2
        );

    color: #ffffff;
}


.author-cta .author-section-label {
    color: #dbeafe;
}


.author-cta h2 {
    max-width: 700px;

    margin: 0 0 15px;

    font-size: 38px;

    line-height: 1.15;
}


.author-cta p {
    max-width: 700px;

    margin: 0;

    color: #dbeafe;

    line-height: 1.8;
}


.author-cta .author-primary-btn {
    flex-shrink: 0;

    background: #ffffff;

    color: #3730a3;

    box-shadow: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .author-hero {
        grid-template-columns: 1fr;

        padding: 50px;

        gap: 45px;
    }

    .author-expertise-grid {
        grid-template-columns: 1fr 1fr;
    }

    .author-social-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 700px) {

    .author-page {
        padding-top: 35px;
    }

    .author-hero {
        width: min(100% - 25px, 600px);

        padding: 35px 25px;

        border-radius: 22px;
    }

    .author-hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .author-hero h2 {
        font-size: 20px;
    }

    .author-about-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .author-expertise-grid {
        grid-template-columns: 1fr;
    }

    .author-social-grid {
        grid-template-columns: 1fr;
    }

    .author-brand-section,
    .author-cta {
        width: min(100% - 25px, 600px);

        padding: 35px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .author-brand-section h2 {
        font-size: 34px;
    }

    .author-cta h2 {
        font-size: 30px;
    }

}