/* =========================================
   HOME: TITLE SECTION
   ========================================= */
.title-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-section h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.title-description {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 650px;
}

.title-buttons {
    display: flex;
    gap: 1rem;
}

.focus-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.name-container {
    margin: 0.5rem 0 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.typewriter-wrapper {
    display: inline-block;
}

.developer-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #38bdf8;
    width: 0;
    animation: typing 2.5s steps(15, end) forwards, blink 0.8s step-end infinite;
}

.subtitle-badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.role-pill, .uni-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.role-pill {
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.uni-pill {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.role-pill:hover, .uni-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.5);
}

.role-glow {
    width: 6px;
    height: 6px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 8px #38bdf8;
    animation: pulse 1.8s infinite ease-in-out;
    display: inline-block;
}

/* =========================================
   HOME: SKILLS SECTION
   ========================================= */
.skills-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.skill-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0.8rem;
    padding: 1.5rem 1.25rem;
    border-left: 3px solid #38bdf8;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.skill-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }
    .skill-card {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* =========================================
   HOME: CERTIFICATIONS SECTION
   ========================================= */
.certs-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.cert-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0.8rem;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cert-emoji {
    font-size: 1.5rem;
}

.cert-status {
    font-size: 0.65rem;
    font-weight: 700;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(52, 211, 153, 0.15);
    letter-spacing: 0.03em;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.15rem;
}

.cert-issuer {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.cert-description {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0.75rem;
}

.cert-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.cert-date {
    color: #64748b;
}

.cert-category {
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    font-weight: 600;
}

.cert-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
}

.cert-link:hover {
    color: #7dd3fc;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .certs-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .certs-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    .cert-card {
        padding: 1.25rem;
    }
}

/* =========================================
   HOME: CONTACT SECTION
   ========================================= */
.contact-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.02em;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    color: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    resize: vertical;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    margin-top: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.direct-contact {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
}

.direct-contact p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.email-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.email-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .contact-form {
        padding: 1.5rem;
    }
}