/* Jishnu Jith – overrides on top of the Dorbesh template */

:root {
    --primary-color: #1F4E9C;
    --body-background: #EEF2F8;
    --grey-bg: #E4E9F1;
}

/* Text logo */
.text-logo {
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.5px;
    text-decoration: none;
}
.text-logo span { color: var(--primary-color); }
.text-logo:hover { color: var(--heading-color); }

/* Hero */
.about-image-part2 img {
    border-radius: 14px;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-btn.theme-btn-outline {
    background: transparent;
    color: var(--heading-color);
    border-color: var(--heading-color);
}
.theme-btn.theme-btn-outline:hover { background: var(--heading-color); color: #fff; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.about-stats .stat {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
}
.about-stats strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 34px;
    line-height: 1.1;
    color: var(--primary-color);
}
.about-stats span { font-size: 14px; color: var(--subtitle-color); }

/* About me text */
.bio-area { padding: 20px 0 40px; }
.bio-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}
.bio-card .section-title { margin-bottom: 20px; }
.bio-card > p { font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.bio-card > p:last-child { margin-bottom: 0; }

/* Experience */
.resume-item .content p { margin: 14px 0 0; line-height: 1.7; }
.role-points { margin: 12px 0 0; padding-left: 18px; }
.role-points li { list-style: disc; margin-bottom: 6px; line-height: 1.6; }
.role-points li::marker { color: var(--primary-color); }

.soft-skills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.soft-skills li {
    list-style: none;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--heading-color);
}

/* Technologies */
.skill-item i { font-size: 44px; line-height: 1; color: var(--primary-color); }
.skill-item .percent { font-size: 14px; font-weight: 500; }
.skill-item h5 { min-height: 38px; }

/* Certifications */
.certs-area { padding: 60px 0; }
.cert-badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin: 10px 0 40px;
}
.cert-badges img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
}
.cert-list ul { padding: 0; margin: 0; }
.cert-list li {
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--heading-color);
}
.cert-list li i { color: var(--primary-color); font-size: 20px; line-height: 1.3; }

/* Contact */
.single-contact p a { color: inherit; word-break: break-word; }

@media (max-width: 991px) {
    .cert-badges { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
    .about-stats { grid-template-columns: 1fr; }
    .bio-card { padding: 24px; }
    .cert-badges { grid-template-columns: repeat(2, 1fr); }
    .cert-badges img { height: 100px; }
}

.about-image-part .about-image-part2 img {
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 18px;
    background: #fff;
}

/* Template grid spills a few px on phones */
html, body { overflow-x: hidden; }
.bio-card .section-title p { padding-left: 0; }
.bio-card .section-title p::before { display: none; }
.call-to-action-part .hero-btns { justify-content: center; }

/* Brand logo strip */
.scroller__inner { align-items: center; }
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 80px;
    margin-right: 36px;
    flex-shrink: 0;
}
.brand-logo img { width: auto; display: block; }
.brand-logo span {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--heading-color);
    white-space: nowrap;
}

/* Contact form */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: 14px; min-height: 20px; }
.form-status.success { color: #1a7f4b; font-weight: 500; }
.form-status.error { color: #b42318; }
.form-status a { color: inherit; text-decoration: underline; }
#contactSubmit:disabled { opacity: .6; cursor: wait; }
