:root {
    --bg-main: #020817;
    --bg-section: #020817;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-card-soft: rgba(15, 23, 42, 0.65);
    --border-color: rgba(148, 163, 184, 0.16);
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #6366f1;
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --text-soft: #94a3b8;
    --gradient-brand: linear-gradient(135deg, #2563eb, #4f46e5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    height: 88px;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #020817;
    backdrop-filter: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-title,
.brand > span:first-child {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.01em;
}

.brand-sub {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-top: 3px;
    padding-left: 1px;
    line-height: 1;
    display: block;
}

.blue-text {
    color: var(--primary) !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -31px;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link,
.register-btn {
    color: #ffffff;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
}

.login-link {
    padding: 11px 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.register-btn {
    padding: 12px 26px;
    background: var(--gradient-brand);
}

.welcome-text {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
    margin-right: 5px;
}

.menu-toggle,
.mobile-action {
    display: none;
}

#menu-bar {
    display: none;
}

/* =========================
   HOME HERO
========================= */
.hero-section {
    min-height: calc(100vh - 88px);
    padding: 60px 0 40px 3%;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to right,
            rgba(2, 8, 23, 0.98) 0%,
            rgba(2, 8, 23, 0.90) 28%,
            rgba(2, 8, 23, 0.40) 50%,
            rgba(2, 8, 23, 0.05) 75%,
            rgba(2, 8, 23, 0) 100%),
        url("../images/hero_tech.png");
    background-size: 75%;
    background-position: right 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(2, 8, 23, 0), #020817 85%);
    pointer-events: none;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-left {
    max-width: 680px;
}

.hero-left h1 {
    font-size: 72px;
    line-height: 1.04;
    letter-spacing: -2.8px;
    margin-bottom: 24px;
}

.hero-left h1 span {
    display: block;
    color: var(--primary);
}

.hero-left p {
    max-width: 620px;
    color: #dbeafe;
    font-size: 21px;
    line-height: 1.7;
}

.hero-line {
    width: 72px;
    height: 4px;
    margin: 30px 0 34px;
    border-radius: 20px;
    background: var(--gradient-brand);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.hero-btn {
    min-width: 190px;
    height: 56px;
    padding: 0 24px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.primary-btn {
    background: var(--gradient-brand);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.secondary-btn {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

/* =========================
   HOME STATS - GLASSMORPHIC CARDS
========================= */
.home-stats-section {
    padding: 45px 3% 55px;
    background: transparent;
}

.hero-stats {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-box {
    position: relative;
    padding: 26px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(11, 19, 38, 0.85));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 22px;
}

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon-wrapper.blue-icon {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.stat-icon-wrapper.purple-icon {
    background: rgba(192, 132, 252, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.3);
    color: #c084fc;
}

.stat-icon-wrapper.amber-icon {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box h3 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.stat-box p {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* =========================
   COMMON SECTIONS
========================= */
.section,
.why-section {
    width: 100%;
    background: var(--bg-section);
    padding: 70px 3%;
}

.section h2,
.why-section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 45px;
    color: #ffffff;
}

.page-head {
    text-align: center;
    padding: 55px 3% 35px;
    background: var(--bg-section);
}

.page-head h1 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.page-head p {
    color: var(--text-soft);
    font-size: 18px;
}

/* =========================
   PROJECT CARDS
========================= */
.project-grid {
    max-width: 1240px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 20px;
}

.project-card {
    min-height: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-color: rgba(59, 130, 246, 0.4);
}

.project-card img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

.project-card h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.project-card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.project-card small {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    margin-top: auto;
}

.project-footer {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.project-arrow {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #111827;
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
}

.project-arrow:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

/* =========================
   WHY SECTION
========================= */
.why-section {
    padding: 80px 8%;
    text-align: center;
}

.why-section h2 {
    font-size: 38px;
    margin-bottom: 40px;
    font-weight: 700;
}

.why-grid {
    max-width: 1480px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.why-card {
    text-align: center;
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    /* bright white */
    margin-bottom: 12px;
}

.why-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #94a3b8;
    /* muted description */
    max-width: 360px;
    margin: 0 auto;
}

/* =========================
   ABOUT PAGE
========================= */
.about-section {
    padding: 35px 3% 90px;
    max-width: 1560px;
    margin: 0 auto;
    background: var(--bg-section);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.about-content {
    background: var(--bg-card-soft);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
}

.about-content h2 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 14px;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 26px;
}

.about-content li {
    list-style: none;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.about-content li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 10px;
    font-weight: 800;
}

/* =========================
   BLOG PAGE
========================= */
.simple-blog {
    padding: 45px 3% 25px;
    background: var(--bg-section);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    max-width: 1560px;
    margin: 0 auto;
}

.blog-profile-card,
.blog-about-content,
.detail-card {
    background: var(--bg-card-soft);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.blog-profile-card {
    padding: 30px;
    text-align: center;
}

.blog-photo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid rgba(59, 130, 246, 0.25);
}

.blog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-profile-card h1 {
    font-size: 28px;
    color: #ffffff;
}

.blog-profile-card p {
    color: var(--text-soft);
    margin: 8px 0 18px;
}

.download-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-dark);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.blog-about-content {
    padding: 35px;
}

.blog-about-content h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 16px;
}

.blog-about-content p,
.detail-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.blog-details {
    padding: 0 3% 80px;
    background: var(--bg-section);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1560px;
    margin: 0 auto;
}

.detail-card {
    padding: 28px;
}

.detail-card h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 12px;
}

.full-card {
    grid-column: span 2;
}

@media (max-width: 768px) {

    .blog-details {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .detail-card,
    .full-card {
        width: 100%;
        min-height: auto;
    }

    .detail-card h3 {
        font-size: 24px;
    }

    .detail-card p {
        font-size: 16px;
        line-height: 1.7;
    }

}

/* CONTACT PAGE - CLEAN OLD BALANCED VERSION */

.contact-simple {
    max-width: 1520px;
    margin: 0 auto;
    padding: 35px 3% 90px;
    background: #020817;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 36px;
    align-items: start;
}

.message-box,
.info-box {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 32px;
}

.message-box {
    min-height: 430px;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    min-height: auto;
}

.info-box h2 {
    font-size: 25px;
    margin-bottom: 24px;
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #dbeafe;
    margin-bottom: 20px;
    font-size: 17px;
}

.contact-item i {
    color: #3b82f6;
    font-size: 22px;
    width: 24px;
}

.message-box input,
.message-box textarea {
    width: 100%;
    background: rgba(2, 8, 23, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    color: #ffffff;
    padding: 15px 18px;
    margin-bottom: 22px;
    outline: none;
    font-size: 15px;
}

.message-box {
    min-height: auto;
    padding: 43px;
}

.message-box input {
    height: 54px;
    padding: 12px 15px;
    margin-bottom: 16px;
}

.message-box textarea {
    height: 140px;
    padding: 15px;
    margin-bottom: 20px;
}

.message-box button {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.social-icons {
    display: flex;
    gap: 22px;
    margin-top: 10px;
}

.social-icons a {
    color: #cbd5e1;
    font-size: 30px;
    transition: all 0.25s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #60a5fa;
}

@media (max-width: 900px) {
    .contact-simple {
        grid-template-columns: 1fr;
    }
}

/* LOGIN / REGISTER PAGE */

.auth-page {
    min-height: calc(100vh - 88px);
    background: #020817;
    padding: 60px 3% 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.auth-box {
    width: 100%;
    max-width: 520px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
    padding: 38px;
}

.auth-icon {
    text-align: center;
    color: #3b82f6;
    font-size: 56px;
    margin-bottom: 14px;
}

.auth-box h1 {
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 8px;
}

.auth-box p {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 28px;
}

.auth-box p a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
}

.auth-box label {
    display: block;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-box input {
    width: 100%;
    background: rgba(2, 8, 23, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    color: #ffffff;
    padding: 14px 15px;
    margin-bottom: 18px;
    outline: none;
    font-size: 15px;
}

.auth-box input:focus {
    border-color: #3b82f6;
}

.auth-box button {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.auth-box button:hover {
    background: #1d4ed8;
}

/* =========================
   ADMIN DASHBOARD
========================= */
.flash-container {
    width: min(1100px, 86%);
    margin: 22px auto 0;
}

.flash-message {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #dbeafe;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flash-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.dash-page {
    padding: 55px 3% 90px;
    background: var(--bg-section);
}

.dash-card {
    max-width: 1440px;
    margin: auto;
    background: var(--bg-card-soft);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 34px;
}

.dash-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.dash-head h1 {
    font-size: 32px;
    color: #ffffff;
}

.dash-head p {
    color: var(--text-soft);
    margin-top: 6px;
}

.count-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 34px;
}

.count-boxes>div,
.info-box2>div {
    background: rgba(2, 8, 23, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    padding: 22px;
}

.count-boxes h2 {
    font-size: 32px;
    color: var(--primary);
}

.count-boxes p,
.info-box2 span {
    color: var(--text-soft);
}

.info-title {
    font-size: 24px;
    margin-bottom: 18px;
}

.info-box2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-box2 h3 {
    color: #ffffff;
    margin-top: 8px;
    font-size: 18px;
}

.role-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--gradient-brand);
    font-weight: 700;
}

.dash-buttons {
    grid-column: span 2;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.add-btn,
.view-btn,
.cancel-btn {
    padding: 13px 18px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.add-btn {
    background: var(--primary-dark);
    color: #ffffff;
}

.view-btn,
.cancel-btn {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #ffffff;
}

/* =========================
   ADMIN PROJECT FORM
========================= */
.project-form-page {
    min-height: calc(100vh - 88px);
    padding: 60px 3% 90px;
    background: var(--bg-section);
}

.project-form-card {
    max-width: 1200px;
    margin: auto;
    background: var(--bg-card-soft);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 36px;
}

.project-form-head {
    margin-bottom: 28px;
}

.project-form-head h1 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 8px;
}

.project-form-head p {
    color: var(--text-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group.full {
    grid-column: span 2;
}

.form-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--bg-section);
    padding: 60px 3% 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-grid {
    max-width: 1560px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer h3 {
    margin-bottom: 16px;
    color: #ffffff;
}

.footer p,
.footer a {
    display: block;
    color: var(--text-soft);
    line-height: 1.8;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    color: var(--text-soft);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 950px) {
    .navbar {
        padding: 0 5%;
    }

    .menu-toggle {
        display: block;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: absolute;
        left: 5%;
        right: 5%;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid var(--border-color);
        border-radius: 14px;
        padding: 14px;
    }

    #menu-bar:checked~.nav-links {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 13px 10px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .mobile-action {
        display: block;
    }

    .hero-section {
        min-height: auto;
        padding: 70px 6% 80px;
        background: #020817;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: 48px;
        letter-spacing: -1.5px;
    }

    .hero-left p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats,
    .project-grid,
    .why-grid,
    .about-section,
    .simple-blog,
    .blog-details,
    .contact-simple,
    .count-boxes,
    .info-box2,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        max-width: 430px;
        gap: 18px;
    }

    .stat-box {
        justify-content: flex-start;
    }

    .project-grid {
        max-width: 390px;
    }

    .project-card {
        min-height: auto;
    }

    .full-card,
    .dash-buttons,
    .form-group.full {
        grid-column: span 1;
    }

    .page-head h1,
    .section h2,
    .why-section h2 {
        font-size: 34px;
    }

    .about-image img {
        height: 280px;
    }

    .dash-head {
        align-items: flex-start;
    }

    .dash-head h1 {
        font-size: 26px;
    }

    /* About Page Mobile Optimizations */
    .about-section {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 6% 70px;
    }

    .about-image img {
        height: 240px;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .about-content {
        text-align: left;
    }

    .about-content h2 {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 12px;
        color: #ffffff;
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .about-content ul {
        display: grid;
        gap: 12px;
        padding-left: 0;
    }

    .about-content li {
        font-size: 15px;
        margin-bottom: 0;
        line-height: 1.5;
    }

    /* Blog Page Mobile Optimizations */
    .simple-blog {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 6% 24px;
    }

    .blog-profile-card {
        padding: 24px;
        border-radius: 16px;
    }

    .blog-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto 16px;
        border: 3px solid rgba(59, 130, 246, 0.3);
    }

    .blog-profile-card h1 {
        font-size: 24px;
    }

    .blog-profile-card p {
        font-size: 15px;
        margin: 6px 0 16px;
    }

    .download-resume-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        margin: 0 auto;
    }

    .blog-about-content {
        padding: 24px;
        border-radius: 16px;
    }

    .blog-about-content h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .blog-about-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .blog-details {
        padding: 0 6% 70px;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .detail-card {
        padding: 20px;
        min-height: auto;
    }

    .detail-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .detail-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .full-card {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .brand-title,
    .brand > span:first-child {
        font-size: 24px;
    }

    .brand-sub {
        font-size: 8px;
        letter-spacing: 0.32em;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-stats,
    .auth-box,
    .project-form-card,
    .dash-card,
    .about-content,
    .blog-about-content,
    .info-box,
    .message-box {
        padding: 24px;
    }

    /* Extra Narrow Mobile Optimizations */
    .blog-details {
        grid-template-columns: 1fr;
    }

    .full-card {
        grid-column: span 1;
    }
}

/* ONLY SOCIAL ICON HOVER EFFECT */

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
    color: #60a5fa;
}

.blog-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 26px;
    border: 5px solid rgba(59, 130, 246, 0.35);
    background: #0f172a;
}

.blog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.nav-links a {
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -31px;
    width: 100%;
    height: 3px;
    background: #3b82f6;
    border-radius: 20px;
}

/* ADD PROJECT PAGE */

.add-project-section {
    padding: 70px 3% 90px;
    background: #020817;
}

.add-project-box {
    max-width: 1200px;
    margin: auto;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    padding: 40px;
}

.add-project-box h1 {
    color: #ffffff;
    font-size: 34px;
    margin-bottom: 8px;
}

.add-project-box p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.project-form {
    display: grid;
    gap: 22px;
}

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

.form-group label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(2, 8, 23, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3b82f6;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.submit-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #1d4ed8;
}

.upload-box {
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    color: #94a3b8;
    background: rgba(2, 8, 23, 0.5);
}

.upload-box i {
    font-size: 36px;
    color: #3b82f6;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .add-project-box {
        padding: 28px;
    }
}

.about-section {
    padding: 45px 3% 90px;
    max-width: 1560px;
    margin: 0 auto;
    background: #020817;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.about-content {
    background: transparent;
    border: none;
    padding: 0;
}

.about-content h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 18px;
}

.about-content p {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 34px;
}

.about-content li {
    list-style: none;
    color: #dbeafe;
    font-size: 17px;
    margin-bottom: 18px;
}

.about-content li::before {
    content: "✓";
    background: #2563eb;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.detail-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 18px;
}


.detail-card {
    min-height: 150px;
    height: auto;
    overflow: hidden;
}

.detail-card p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 0;
}

.full-card {
    grid-column: span 2;
    min-height: 140px;
    height: auto;
}

@media (max-width: 768px) {
    .simple-blog {
        grid-template-columns: 1fr !important;
        padding: 40px 20px 25px !important;
        gap: 24px !important;
    }

    .blog-profile-card,
    .blog-about-content {
        width: 100% !important;
    }

    .blog-details {
        grid-template-columns: 1fr !important;
        padding: 0 20px 60px !important;
        gap: 20px !important;
    }

    .detail-card,
    .full-card {
        grid-column: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 24px !important;
        overflow: visible !important;
    }

    .detail-card h3 {
        font-size: 22px !important;
        margin-bottom: 12px !important;
        white-space: normal !important;
    }

    .detail-card p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr !important;
        padding: 30px 20px 60px !important;
        gap: 28px !important;
    }

    .about-image img {
        width: 100% !important;
        height: 240px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }

    .about-content {
        width: 100% !important;
        padding: 0 !important;
    }

    .about-content h2 {
        font-size: 28px !important;
        margin-bottom: 14px !important;
    }

    .about-content p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        margin-bottom: 24px !important;
    }

    .about-content li {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }

    .about-content li::before {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }
}

/* ========================================================
   ABOUT PAGE - COMPLETE NEW MODERN UI
======================================================== */
.about-new-wrapper {
    max-width: 1560px;
    margin: 0 auto;
    padding: 20px 3% 80px;
}

/* Feature Showcase Hero Card */
.about-hero-showcase {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    margin-bottom: 40px;
}

.about-hero-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: #020817;
}

.about-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-text-wrap {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.about-hero-text-wrap h2 {
    font-size: 28px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.about-hero-text-wrap p {
    color: #94a3b8;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-hero-text-wrap p:last-child {
    margin-bottom: 0;
}

/* 4 Pillars Grid */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.about-pillar-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
}

.about-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 20px;
    margin-bottom: 18px;
}

.about-pillar-card h3 {
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-pillar-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* Skills & Interests Dual Grid */
.about-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.about-dual-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 30px 32px;
}

.about-dual-card h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-dual-card h3 i {
    color: #38bdf8;
    font-size: 18px;
}

/* Call to Action Banner */
.about-cta-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.25), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.about-cta-banner h2 {
    font-size: 26px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-cta-banner p {
    color: #94a3b8;
    font-size: 15.5px;
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.about-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 992px) {
    .about-hero-showcase {
        grid-template-columns: 1fr;
    }

    .about-hero-image-wrap {
        height: 280px;
        min-height: auto;
    }

    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-text-wrap {
        padding: 26px 20px;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-dual-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-banner {
        padding: 28px 20px;
    }
}

.about-checklist li strong {
    color: #ffffff;
}

/* Static, non-glowing tags */
.tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 24px;
}

.skill-tag,
.interest-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.1px;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

.skill-tag i,
.interest-tag i {
    color: #38bdf8;
    margin-right: 8px;
}

@media (max-width: 900px) {
    .about-section {
        grid-template-columns: 1fr !important;
        padding: 30px 20px 60px !important;
        gap: 28px !important;
    }

    .about-image img {
        height: 260px !important;
    }

    .about-content {
        padding: 24px 20px !important;
    }
}

/* ========================================================
   BLOG / PROFILE PAGE - EXECUTIVE BENTO UI
======================================================== */
.profile-overview-section {
    padding: 50px 3% 40px;
    background: #020817;
}

.profile-hero-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 28px;
}

.profile-hero-photo {
    width: 170px;
    height: 205px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #090d16;
}

.profile-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.profile-hero-info {
    flex: 1;
}

.profile-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
}

.profile-hero-info h1 {
    font-size: 38px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 6px;
}

.profile-hero-role {
    color: #38bdf8;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.profile-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}

.profile-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.profile-pill-item i {
    color: #38bdf8;
}

.profile-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-solid-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    border: none;
}

.btn-solid-primary:hover {
    background: #1d4ed8;
}

.btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #e2e8f0;
    padding: 11px 22px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.5);
}

/* About Narrative Box */
.about-narrative-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 28px;
}

.about-narrative-card h2 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-narrative-card h2 i {
    color: #38bdf8;
    font-size: 20px;
}

.about-narrative-card p {
    color: #94a3b8;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-narrative-card p:last-child {
    margin-bottom: 0;
}

/* Bento Details Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 60px;
}

.bento-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 28px 32px;
}

.bento-card-full {
    grid-column: span 2;
}

.bento-card h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.bento-card h3 i {
    color: #38bdf8;
    font-size: 18px;
}

/* Mini Projects List in Bento */
.mini-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mini-project-item {
    background: rgba(2, 8, 23, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    padding: 18px 20px;
}

.mini-project-item h4 {
    color: #f8fafc;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-project-item h4 a {
    color: #38bdf8;
    font-size: 13px;
}

.mini-project-item p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.mini-project-tech {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

/* Vision Statement */
.vision-quote-box {
    background: rgba(2, 8, 23, 0.7);
    border-left: 3px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
}

.vision-quote-box p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

@media (max-width: 860px) {
    .profile-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }

    .profile-hero-photo {
        width: 140px;
        height: 160px;
    }

    .profile-hero-info h1 {
        font-size: 30px;
    }

    .about-narrative-card {
        padding: 24px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 50px;
    }

    .bento-card-full {
        grid-column: span 1;
    }

    .mini-projects-grid {
        grid-template-columns: 1fr;
    }
}