/* ==========================================================================
   Enhanced Visual Theme — Muhamad Daffa Fahrizal
   Preserves #FF9000 Accent, Space Mono & Kaushan Script Identity
   ========================================================================== */

:root {
    --brand-primary: #FF9000;
    --brand-primary-dark: #e07c00;
    --brand-dark: #0f172a;
    --brand-slate: #1e293b;
    --brand-surface: #f8fafc;
    --brand-border: #e2e8f0;
    --brand-text: #334155;
    --brand-muted: #64748b;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--brand-text);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Section Heading Polish */
.fh5co-heading {
    margin-bottom: 3.5em;
}

.fh5co-heading h2 {
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.fh5co-heading h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-primary);
}

/* Reading Progress Bar (Blog Detail) */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #FF9000, #ffb347);
    z-index: 1050;
    transition: width 0.08s linear;
}

/* ==========================================================================
   Sticky Top Navigation Bar
   ========================================================================== */
.fh5co-top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fh5co-top-nav.scrolled,
.fh5co-top-nav.inner-nav {
    background: rgba(15, 23, 42, 0.94);
    padding: 11px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    border-bottom-color: rgba(255, 144, 0, 0.2);
}

.fh5co-top-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fh5co-top-nav .nav-brand {
    font-family: 'Kaushan Script', cursive;
    font-size: 30px;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.fh5co-top-nav .nav-brand:hover {
    transform: scale(1.03);
}

.fh5co-top-nav .nav-brand span {
    color: var(--brand-primary);
}

.fh5co-top-nav .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fh5co-top-nav .nav-links li {
    position: relative;
}

.fh5co-top-nav .nav-links a {
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s ease;
}

.fh5co-top-nav .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.fh5co-top-nav .nav-links a.active {
    color: var(--brand-primary);
    background: rgba(255, 144, 0, 0.14);
}

.fh5co-top-nav .nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 991px) {
    .fh5co-top-nav .nav-toggle {
        display: inline-block;
    }

    .fh5co-top-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 20px;
        gap: 6px;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
        border-bottom: 1px solid rgba(255, 144, 0, 0.2);
    }

    .fh5co-top-nav .nav-links.open {
        display: flex;
    }

    .fh5co-top-nav .nav-links a {
        padding: 10px 14px;
    }
}

/* ==========================================================================
   Hero Section Enhancement (#home)
   ========================================================================== */
#home.fh5co-cover .overlay {
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(30, 41, 59, 0.82) 55%,
        rgba(255, 144, 0, 0.62) 100%
    ) !important;
}

#home .profile-thumb {
    border: 4px solid rgba(255, 144, 0, 0.85);
    box-shadow: 0 0 0 8px rgba(255, 144, 0, 0.16), 0 18px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#home .profile-thumb:hover {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(255, 144, 0, 0.24), 0 22px 48px rgba(0, 0, 0, 0.5);
}

#home .hero-role-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    padding: 8px 20px;
    border-radius: 30px;
    color: #f8fafc;
    font-size: 15px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

#home .hero-cta-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

#home .hero-cta-list a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

#home .hero-cta-list a:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 144, 0, 0.35);
}

#home .hero-cta-list li:last-child a {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

#home .hero-cta-list li:last-child a:hover {
    background: var(--brand-primary-dark);
}

#home .social-icons li a {
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.25s ease;
}

#home .social-icons li a:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: heroFloat 2.2s infinite ease-in-out;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 7px); }
}

/* ==========================================================================
   About Me Section (#about)
   ========================================================================== */
.about-info-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.about-info-card .info {
    margin: 0 !important;
    padding: 0;
    width: 100% !important;
    float: none !important;
}

.about-info-card .info li {
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    float: none !important;
    width: 100%;
}

.about-info-card .info li:first-child {
    padding-top: 0;
}

.about-info-card .info li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-info-card .info li .first-block {
    width: auto !important;
    float: none !important;
    flex-shrink: 0;
    color: var(--brand-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.about-info-card .info li .second-block {
    width: auto !important;
    float: none !important;
    text-align: right;
    color: var(--brand-text);
    font-size: 14px;
    word-break: break-word;
}

.status-pill {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 144, 0, 0.14);
    color: #c26a00;
}

.status-pill-available {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.about-bio-box {
    padding-left: 15px;
}

.about-bio-box h2 {
    font-weight: 700;
    color: var(--brand-dark);
    margin-top: 0;
}

.about-bio-box p {
    line-height: 1.85;
    color: var(--brand-text);
}

#about .fh5co-social-icons li a {
    border-radius: 50%;
    transition: all 0.25s ease;
}

#about .fh5co-social-icons li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(255, 144, 0, 0.35);
}

/* ==========================================================================
   Resume Timeline (#resume)
   ========================================================================== */
#resume {
    background: var(--brand-surface);
}

#resume .timeline > li > .timeline-panel {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#resume .timeline > li > .timeline-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#resume .timeline-title {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 18px;
}

#resume .company {
    display: inline-block;
    margin-top: 6px;
    margin-bottom: 14px;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(255, 144, 0, 0.12);
    color: #c26a00;
    font-size: 12px;
    font-weight: 700;
}

#resume .timeline-heading div h3 {
    background: var(--brand-dark);
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   Skills & Languages (#skills)
   ========================================================================== */
.skill-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 24px 12px 14px;
    margin-bottom: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 144, 0, 0.45);
}

.skill-card .chart {
    margin-bottom: 0;
}

.language-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 28px 30px 16px;
    margin-top: 15px;
}

#skills .progress {
    height: 8px;
    border-radius: 10px;
    background: #e2e8f0;
    overflow: hidden;
}

#skills .progress-bar {
    border-radius: 10px;
}

/* ==========================================================================
   Portfolio Grid (#portfolio)
   ========================================================================== */
#portfolio.fh5co-bg-dark {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
}

#portfolio .fh5co-heading h2 {
    color: #fff;
}

#portfolio .fh5co-heading h4 {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 400;
}

.portfolio-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
    margin-bottom: 28px;
    background-color: #1e293b;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 144, 0, 0.6);
}

.portfolio-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-bg {
    transform: scale(1.08);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.92) 85%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    text-align: left;
    transition: background 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    background: linear-gradient(180deg, rgba(255, 144, 0, 0.18) 0%, rgba(15, 23, 42, 0.95) 80%);
}

.portfolio-card-overlay h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.portfolio-card-overlay .portfolio-tags {
    font-size: 12px;
    color: #ffb347;
    display: block;
    margin-bottom: 6px;
}

.portfolio-badge-corner {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Blog & Hobbies Cards (#articles, #hobbies, /blog)
   ========================================================================== */
#articles {
    padding: 6em 0;
    background: var(--brand-surface);
}

#hobbies {
    padding: 6em 0;
    background: #ffffff;
}

.fh5co-blog {
    display: flex;
    flex-direction: column;
    float: none;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.fh5co-blog:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.fh5co-blog .blog-bg {
    height: 210px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.45s ease;
}

.fh5co-blog .blog-text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    float: none;
    margin-bottom: 0;
    padding: 22px 22px 18px;
    box-shadow: none;
}

.fh5co-blog .blog-text h3 {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fh5co-blog .blog-text h3 a {
    color: var(--brand-dark);
    text-decoration: none;
}

.fh5co-blog .blog-text h3 a:hover {
    color: var(--brand-primary);
}

.fh5co-blog .blog-text .stuff {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.blog-cards-row {
    display: flex;
    flex-wrap: wrap;
}

.blog-cards-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.hobby-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 144, 0, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, background 0.25s ease;
}

.fh5co-blog:hover .hobby-play-badge {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--brand-primary-dark);
}

/* ==========================================================================
   Inner Page Banner (Blog & Custom Pages)
   ========================================================================== */
.inner-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 62%, rgba(255, 144, 0, 0.85) 145%);
    color: #fff;
    padding: 130px 0 70px;
    text-align: center;
    position: relative;
}

.inner-hero-banner h1 {
    font-family: 'Space Mono', monospace;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.inner-hero-banner p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto;
}

/* Blog Meta & Filters */
.blog-meta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.fh5co-blog .blog-text .blog-meta-row span {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.3;
    color: var(--brand-muted) !important;
}

.fh5co-blog .blog-text .blog-meta-row .meta-dot {
    color: #cbd5e1 !important;
    font-weight: 700;
}

.blog-category-badge {
    display: inline-block;
    background: rgba(255, 144, 0, 0.14);
    color: #c26a00 !important;
    border: 1px solid rgba(255, 144, 0, 0.35);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.blog-category-badge:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff !important;
}

.inner-hero-banner .blog-category-badge {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff !important;
}

.blog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
    color: var(--brand-muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.blog-filter-bar {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.filter-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--brand-text);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* ==========================================================================
   Single Article & Custom Page Content
   ========================================================================== */
.article-wrapper {
    padding: 55px 0 85px;
    background: #fff;
}

.article-featured-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--brand-text);
}

.article-body h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    font-size: 25px;
    font-weight: 700;
    color: var(--brand-dark);
}

.article-body h3 {
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-dark);
}

.article-body blockquote {
    border-left: 4px solid var(--brand-primary);
    background: #fff8ef;
    padding: 16px 22px;
    margin: 24px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #475569;
}

.article-body pre {
    position: relative;
    background: #1e1e2e;
    color: #f8f8f2;
    border-radius: var(--radius-md);
    padding: 20px;
    overflow-x: auto;
    border: none;
    margin: 24px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.copy-code-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 144, 0, 0.9);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--brand-border);
}

.share-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    background: var(--brand-slate);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.share-btn:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
}

.page-callout-block {
    background: #fff8ef;
    border-left: 5px solid var(--brand-primary);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    margin: 30px 0;
}

.page-callout-block h3 {
    margin-top: 0;
    color: var(--brand-dark);
}

/* ==========================================================================
   Contact Section (#contact) & Modals
   ========================================================================== */
#contact .choose {
    background: #ffffff;
}

.contact-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    color: var(--brand-dark) !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.contact-pill:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
    background: #fff8ef;
}

#contact .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    height: auto;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact .form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 144, 0, 0.16);
}

.contact-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.contact-alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Polished Modals */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--brand-dark);
    color: #fff;
    border-bottom: 2px solid var(--brand-primary);
    padding: 18px 24px;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}

.modal-body {
    padding: 24px;
}

.modal-video {
    max-width: 100%;
    border-radius: 8px;
    background: #000;
}

/* ==========================================================================
   Enhanced Footer (#site-footer)
   ========================================================================== */
#site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 50px 0 36px;
}

#site-footer .footer-brand {
    font-family: 'Kaushan Script', cursive;
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
    display: inline-block;
    text-decoration: none;
}

#site-footer .footer-brand span {
    color: var(--brand-primary);
}

#site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

#site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

#site-footer .footer-links a:hover {
    color: var(--brand-primary);
}

#site-footer .footer-copy {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* Scroll margin for clean anchor IDs */
#home,
#about,
#resume,
#skills,
#portfolio,
#articles,
#hobbies,
#contact {
    scroll-margin-top: 70px;
}
