
/* =========================================
   1. GLOBAL RESET
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================
   2. DESIGN SYSTEM
========================================= */

:root {
    /* Brand Colors */
    --color-primary: #0B1120;
    --color-secondary: #111827;
    --color-card: #1E293B;

    /* Accent Colors */
    --color-accent: #38BDF8;
    --color-accent-secondary: #3B82F6;

    /* Text Colors */
    --color-text: #F8FAFC;
    --color-muted: #CBD5E1;

    /* Interface Colors */
    --color-border: #334155;
    --color-white: #FFFFFF;
    --color-success: #34D399;

    /* Typography */
    --font-body: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Arial, sans-serif;

    --font-size-base: 16px;
    --line-height-base: 1.7;

    /* Layout */
    --container-width: 1200px;
    --section-spacing: 80px;

    /* Effects */
    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 20px;

    --transition: 0.3s ease;
}


/* =========================================
   3. BASE DOCUMENT STYLES
========================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);

    color: var(--color-text);
    background-color: var(--color-primary);

    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   4. TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}


/* =========================================
   5. IMAGES AND MEDIA
========================================= */

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

video,
iframe {
    max-width: 100%;
}


/* =========================================
   6. LISTS
========================================= */

ul,
ol {
    list-style: none;
}


/* =========================================
   7. ACCESSIBILITY
========================================= */

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

::selection {
    color: var(--color-primary);
    background-color: var(--color-accent);
}


/* =========================================
   8. REUSABLE LAYOUT
========================================= */

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-spacing);
}


/* =========================================
   9. RESPONSIVE FOUNDATION
========================================= */

@media (max-width: 768px) {
    :root {
        --section-spacing: 56px;
    }

    .container {
        width: min(100% - 32px, var(--container-width));
    }
}

/* Top Consultation Pill Button */
.skip-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 12px 6%;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--color-accent, #38BDF8);
    color: #0B1120;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.28);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.skip-link:hover,
.skip-link:focus {
    background: #7DD3FC;
    color: #0B1120;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.42);
}

/* =========================================
   HEADER & BRAND LOGO (HIGH VISIBILITY)
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1E293B;
    padding: 14px 6%;
}

.navbar {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Enlarged, Crisp Logo Lockup */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent, #38BDF8);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover .brand-mark {
    transform: scale(1.05);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.45);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    color: #F8FAFC;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand-name span {
    color: var(--color-accent, #38BDF8);
}

.brand-sub {
    color: #94A3B8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-top: 2px;
}

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

.nav-links a {
    color: #CBD5E1;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent, #38BDF8);
}

.nav-links .nav-cta {
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--color-accent, #38BDF8);
    color: #0B1120;
    font-weight: 800;
}

.nav-links .nav-cta:hover {
    background: #7DD3FC;
    color: #0B1120;
}

.menu-toggle {
    display: none;
    background: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
    font-size: 1.4rem;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}

/* =========================================
   HERO / HOME SECTION
========================================= */

.hero-section {
    padding: 75px 6% 85px;
    background:
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08), transparent 45%),
        var(--color-primary, #0B1120);
    color: #F8FAFC;
}

.hero-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34D399;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
}

.hero-content h1 {
    font-size: clamp(1.85rem, 6.5vw, 3.35rem); 
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 20px;
    color: #F8FAFC;
    overflow-wrap: break-word;
}

.text-gradient {
    background: linear-gradient(90deg, #38BDF8, #34D399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-subtitle strong {
    color: #F8FAFC;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--color-accent, #38BDF8);
    color: #0B1120;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    background: #7DD3FC;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
}

.btn-secondary:hover {
    border-color: var(--color-accent, #38BDF8);
    color: var(--color-accent, #38BDF8);
}

/* Metrics Strip */
.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    padding-top: 24px;
    border-top: 1px solid #1E293B;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.metric-item strong {
    color: #F8FAFC;
    font-size: 1.05rem;
    font-weight: 800;
}

.metric-item span {
    color: #94A3B8;
    font-size: 0.8rem;
}

.metric-divider {
    width: 1px;
    height: 32px;
    background: #334155;
}

/* Right Column Visual Card */
.hero-card-wrapper {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.hero-profile-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--color-accent, #38BDF8);
}

.hero-profile-info h2 {
    font-size: 1.2rem;
    color: #F8FAFC;
    margin-bottom: 3px;
}

.hero-profile-info p {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 6px;
}

.verified-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    color: #38BDF8;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Terminal Card */
.hero-terminal {
    background: #0B1120;
    border: 1px solid #263449;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: #111827;
    border-bottom: 1px solid #1E293B;
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-header .red { background: #EF4444; }
.terminal-header .yellow { background: #F59E0B; }
.terminal-header .green { background: #10B981; }

.terminal-title {
    margin-left: auto;
    color: #64748B;
    font-size: 0.75rem;
    font-family: monospace;
}

.terminal-body {
    padding: 16px;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #CBD5E1;
    overflow-x: auto;
}

.code-keyword { color: #38BDF8; font-weight: 700; }
.code-class { color: #FBBF24; font-weight: 700; }
.code-func { color: #34D399; }
.code-string { color: #A5F3FC; }

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #94A3B8;
}

.mini-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mini-stack span {
    padding: 4px 9px;
    border-radius: 6px;
    background: #0B1120;
    border: 1px solid #334155;
    color: #F8FAFC;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Navigation & Hero */
@media (max-width: 950px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-section,
    #home {
        width: 100%;
        overflow-x: clip;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1100;
        flex-direction: column;
        background: #0F172A;
        border-bottom: 1px solid #334155;
        padding: 20px 6%;
        gap: 16px;
    }

    .nav-links.is-open {
        display: flex;
    }
}


/* =========================================
   6. TABLET & MOBILE NAVIGATION
========================================= */

@media (max-width: 600px) {
    .site-header {
        padding: 10px 16px;
    }

    .navbar {
        width: 100%;
    }

    .brand-logo {
        gap: 9px;
        min-width: 0;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .brand-sub {
        max-width: 180px;
        font-size: 0.58rem;
        letter-spacing: 0.8px;
    }

    .hero-section,
    #home {
        padding: 45px 16px 60px;
    }

    .hero-grid {
        width: 100%;
        gap: 30px;
    }

    .hero-content,
    .hero-visual,
    .hero-card-wrapper {
        min-width: 0;
        width: 100%;
    }

    .hero-status-pill {
        max-width: 100%;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    .hero-card-wrapper {
        padding: 16px;
    }

    .hero-profile-banner {
        align-items: flex-start;
        min-width: 0;
    }

    .hero-profile-info {
        min-width: 0;
    }

    .hero-profile-info h2,
    .hero-profile-info p {
        overflow-wrap: anywhere;
    }

    .hero-actions{
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .metric-divider {
        display: none;
    }

    .header-container {
        min-height: 80px;
        gap: 20px;
    }

    .profile-logo img {
        width: 68px;
        height: 68px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        margin: 0;
        padding: 12px 20px 20px;

        background-color: var(--color-secondary);
        border-bottom: 1px solid var(--color-border);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-8px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav ul {
        width: min(100%, 600px);
        margin-inline: auto;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 4px;
    }

    .site-nav a {
        display: block;
        padding: 12px 14px;

        font-size: 1rem;

        border-radius: var(--radius-small);
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background-color: var(--color-card);
    }
}


/* =========================================
   7. SMALL MOBILE SCREENS
========================================= */

@media (max-width: 480px) {
    .brand-sub {
        display: none;
    }

    .hero-profile-banner {
        gap: 10px;
    }

    .hero-avatar {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .verified-badge {
        font-size: 0.68rem;
    }

    .header-container {
        width: calc(100% - 28px);
        min-height: 72px;
    }

    .profile-logo img {
        width: 60px;
        height: 60px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .site-nav {
        padding-inline: 14px;
    }
}


/* =========================================
   8. REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .site-header *,
    .site-header *::before,
    .site-header *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.hero-image-frame img {
    object-position: center 20%;
}

/* =========================================
   HERO SECTION LAYOUT
========================================= */

/* Main hero section */
#home {
    min-height: calc(100vh - 75px);
    padding: 80px 6%;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(56, 189, 248, 0.10),
            transparent 35%
        ),
        #0B1120;
}

/* Arrange hero content and photo side by side */
#home .hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

/* Introduction */
#home .hero-content {
    min-width: 0;
}

#home .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #38BDF8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

#home .status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.55);
}

#home .hero-title {
    margin: 0 0 20px;
    color: #F8FAFC;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

#home .highlight-text {
    color: #38BDF8;
}

#home .hero-subtitle {
    margin-bottom: 18px;
    color: #CBD5E1;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.5;
}

#home .hero-text {
    max-width: 620px;
    margin-bottom: 28px;
    color: #CBD5E1;
    font-size: 16px;
    line-height: 1.8;
}

/* Action buttons */
#home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 35px;
}

#home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

#home .btn-primary {
    color: #0B1120;
    background: #38BDF8;
}

#home .btn-primary:hover {
    background: #7DD3FC;
    transform: translateY(-3px);
}

#home .btn-secondary {
    color: #F8FAFC;
    background: transparent;
    border-color: #475569;
}

#home .btn-secondary:hover {
    color: #38BDF8;
    border-color: #38BDF8;
}

/* Hero highlights */
#home .hero-highlights {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

#home .hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#home .highlight-number {
    color: #F8FAFC;
    font-size: 18px;
    font-weight: 800;
}

#home .highlight-label {
    color: #94A3B8;
    font-size: 12px;
}

#home .hero-divider {
    width: 1px;
    height: 38px;
    background: #334155;
}

/* Profile photo */
#home .hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#home .hero-image-frame {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

#home .hero-image-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
}

/* Floating card */
#home .hero-floating-card {
    position: absolute;
    right: -25px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid #334155;
    border-radius: 12px;
    background: #1E293B;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

#home .floating-card-icon {
    color: #38BDF8;
    font-size: 24px;
    font-weight: 800;
}

#home .floating-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#home .floating-card-content strong {
    color: #F8FAFC;
    font-size: 13px;
}

#home .floating-card-content span {
    color: #94A3B8;
    font-size: 11px;
}

/* Tablet layout */
@media (max-width: 900px) {
    #home {
        padding: 65px 5%;
    }

    #home .hero-container {
        grid-template-columns: 1fr 0.75fr;
        gap: 35px;
    }

    #home .hero-title {
        font-size: clamp(32px, 5vw, 44px);
    }

    #home .hero-image {
        max-width: 330px;
    }

    #home .hero-floating-card {
        right: -10px;
    }
}

/* Mobile layout */
@media (max-width: 650px) {
    #home {
        min-height: auto;
        padding: 55px 22px;
    }

    #home .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    #home .hero-title {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -0.8px;
    }

    #home .hero-subtitle {
        font-size: 18px;
    }

    #home .hero-text {
        font-size: 15px;
    }

    #home .hero-actions {
        gap: 12px;
    }

    #home .btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    #home .hero-highlights {
        gap: 14px;
    }

    #home .hero-divider {
        display: none;
    }

    #home .hero-image {
        width: 85%;
        max-width: 340px;
    }

    #home .hero-floating-card {
        right: -12px;
        bottom: 18px;
        padding: 12px;
    }
}

/* Small mobile screens */
@media (max-width: 380px) {
    #home .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    #home .hero-highlights {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   ABOUT ME SECTION
========================================= */

.about-section {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-secondary, #0F172A);
    color: var(--color-text, #F8FAFC);
}

.about-header {
    max-width: 740px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-header h2 {
    margin-bottom: 14px;
    color: var(--color-text, #F8FAFC);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.about-header h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

.about-header p {
    margin: 0;
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.75;
}

/* Two-Column Grid */
.about-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
}

/* Left Column: Narrative Card */
.about-story {
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    padding: 34px 32px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.story-badge {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 16px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--color-accent, #38BDF8);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.about-story h3 {
    font-size: 1.45rem;
    color: #F8FAFC;
    margin-bottom: 18px;
    line-height: 1.35;
}

.about-story p {
    color: #CBD5E1;
    font-size: 0.96rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-story strong {
    color: #F8FAFC;
    font-weight: 700;
}

/* Highlighted Quote Callout */
.about-quote {
    margin: 24px 0 28px;
    padding: 18px 20px;
    background: #0B1120;
    border-left: 4px solid var(--color-accent, #38BDF8);
    border-radius: 0 12px 12px 0;
    color: #E2E8F0;
    font-size: 0.94rem;
    font-style: italic;
    line-height: 1.75;
}

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

/* Right Column: 4 Pillar Cards */
.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
    transform: translateX(6px);
    border-color: var(--color-accent, #38BDF8);
}

.pillar-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--color-accent, #38BDF8);
    font-size: 0.95rem;
    font-weight: 900;
}

.pillar-content h4 {
    color: #F8FAFC;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.pillar-content p {
    color: #94A3B8;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 55px 5%;
    }

    .about-story {
        padding: 24px 20px;
    }

    .about-actions {
        flex-direction: column;
    }

    .about-actions .btn-primary,
    .about-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   SKILLS & TECHNOLOGIES SECTION
========================================= */

.skills-section {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-primary, #0B1120);
    color: var(--color-text, #F8FAFC);
}

.skills-header {
    max-width: 740px;
    margin: 0 auto 50px;
    text-align: center;
}

.skills-header h2 {
    margin-bottom: 14px;
    color: var(--color-text, #F8FAFC);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.skills-header h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

.skills-header p {
    margin: 0;
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.75;
}

/* 3-Column Responsive Grid */
.skills-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Skill Card */
.skill-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition:
        transform var(--transition, 0.3s ease),
        border-color var(--transition, 0.3s ease),
        box-shadow var(--transition, 0.3s ease);
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent, #38BDF8);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.12);
}

/* Top Icon + Category Row */
.skill-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.skill-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--color-accent, #38BDF8);
    font-size: 1rem;
    font-weight: 900;
    font-family: monospace;
}

.skill-category {
    padding: 5px 10px;
    border-radius: 6px;
    background: #0B1120;
    border: 1px solid #334155;
    color: var(--color-success, #34D399);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.skill-card h3 {
    margin-bottom: 10px;
    color: var(--color-text, #F8FAFC);
    font-size: 1.22rem;
    line-height: 1.35;
}

.skill-card p {
    margin-bottom: 20px;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.72;
}

/* Tech Pills */
.skill-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #334155;
}

.skill-tags span {
    padding: 5px 11px;
    border-radius: 6px;
    background: #0B1120;
    border: 1px solid #263449;
    color: #CBD5E1;
    font-size: 0.78rem;
    font-weight: 600;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.skill-card:hover .skill-tags span {
    border-color: rgba(56, 189, 248, 0.35);
    color: #F8FAFC;
}

/* Bottom Footer Note */
.skills-footer-note {
    max-width: var(--container-width, 1200px);
    margin: 36px auto 0;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #111827;
    border: 1px solid #263449;
    border-radius: var(--radius-medium, 14px);
    text-align: center;
}

.note-badge {
    padding: 5px 11px;
    border-radius: 6px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: var(--color-success, #34D399);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.skills-footer-note p {
    margin: 0;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 950px) {
    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .skills-section {
        padding: 55px 5%;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 22px;
    }
}

/* =========================================
   CREDENTIALS & BUSINESS ACUMEN SECTION
========================================= */

.credentials-section {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-secondary, #0F172A);
    color: var(--color-text, #F8FAFC);
}

.education-header {
    max-width: 740px;
    margin: 0 auto 50px;
    text-align: center;
}

.education-header h2 {
    margin-bottom: 14px;
    color: var(--color-text, #F8FAFC);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.education-header h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

.education-header p {
    margin: 0;
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.75;
}

/* 2-Column Core Academic Grid */
.education-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.edu-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 28px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent, #38BDF8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.edu-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.edu-badge {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--color-accent, #38BDF8);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.edu-focus {
    color: var(--color-success, #34D399);
    font-size: 0.8rem;
    font-weight: 700;
}

.edu-card h3 {
    color: #F8FAFC;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.edu-program {
    color: var(--color-accent, #38BDF8);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.edu-desc {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Certifications Strip (2x2 Grid) */
.certifications-wrapper {
    max-width: var(--container-width, 1200px);
    margin: 30px auto 0;
    padding: 28px;
    background: #111827;
    border: 1px solid #263449;
    border-radius: var(--radius-large, 20px);
}

.cert-header {
    margin-bottom: 20px;
}

.cert-eyebrow {
    color: var(--color-accent, #38BDF8);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #0B1120;
    border: 1px solid #1E293B;
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.cert-item:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
}

.cert-badge-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    padding: 6px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    flex-shrink: 0;
}

.cert-details h4 {
    color: #F8FAFC;
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}

.cert-details span {
    color: #94A3B8;
    font-size: 0.82rem;
    line-height: 1.5;
    display: block;
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
    .education-grid,
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .education-section {
        padding: 55px 5%;
    }

    .edu-card,
    .certifications-wrapper {
        padding: 20px;
    }
}

/* =========================================
   PROJECTS SECTION
========================================= */

.projects-section {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-secondary, #0F172A);
    color: var(--color-text, #F8FAFC);
}

.projects-header {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.projects-header h2 {
    margin-bottom: 14px;
    color: var(--color-text, #F8FAFC);
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.projects-header h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

.projects-header p {
    margin: 0 0 28px;
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.8;
}

/* Filter Buttons */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 9px 18px;
    border: 1px solid #334155;
    border-radius: 999px;
    background: #0B1120;
    color: #94A3B8;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition, 0.3s ease);
}

.filter-btn:hover {
    border-color: var(--color-accent, #38BDF8);
    color: var(--color-text, #F8FAFC);
}

.filter-btn.active {
    background: var(--color-accent, #38BDF8);
    border-color: var(--color-accent, #38BDF8);
    color: #0B1120;
}

/* 3-Column Grid */
.projects-grid {
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Project Card */
.project-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition:
        transform var(--transition, 0.3s ease),
        border-color var(--transition, 0.3s ease),
        box-shadow var(--transition, 0.3s ease);
}

.project-card.is-hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent, #38BDF8);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.12);
}

.project-card.project-featured {
    border-color: rgba(56, 189, 248, 0.65);
    background: linear-gradient(160deg, #1E293B 65%, rgba(56, 189, 248, 0.08));
}

/* Top Metadata Row */
.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.project-tag,
.project-badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.project-tag {
    background: #0B1120;
    border: 1px solid #334155;
    color: #94A3B8;
}

.project-badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--color-accent, #38BDF8);
}

.project-status {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.status-live {
    background: rgba(52, 211, 153, 0.12);
    color: var(--color-success, #34D399);
}

.status-active {
    background: rgba(251, 191, 36, 0.12);
    color: #FBBF24;
}

.project-card h3 {
    margin-bottom: 10px;
    color: var(--color-text, #F8FAFC);
    font-size: 1.25rem;
    line-height: 1.35;
}

.project-summary {
    margin-bottom: 16px;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.72;
}

/* Bullet Highlights */
.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid #334155;
}

.project-highlights li {
    position: relative;
    padding-left: 16px;
    color: var(--color-muted, #CBD5E1);
    font-size: 0.86rem;
    line-height: 1.55;
}

.project-highlights li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent, #38BDF8);
    font-weight: 800;
}

/* Tech Stack Pills */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.project-tech span {
    padding: 4px 10px;
    border-radius: 6px;
    background: #0B1120;
    border: 1px solid #263449;
    color: #CBD5E1;
    font-size: 0.76rem;
    font-weight: 600;
}

/* Dual Action Buttons */
.project-links {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 12px;
    border-radius: var(--radius-small, 8px);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--transition, 0.3s ease);
}

.btn-live {
    background: var(--color-accent, #38BDF8);
    border: 1px solid var(--color-accent, #38BDF8);
    color: #0B1120;
}

.btn-live:hover {
    background: #7DD3FC;
    border-color: #7DD3FC;
}

/* Subtle styling while href="#" is a placeholder */
.btn-live[href="#"] {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--color-accent, #38BDF8);
}

.btn-code {
    background: #0B1120;
    border: 1px solid #334155;
    color: var(--color-text, #F8FAFC);
}

.btn-code:hover {
    border-color: var(--color-accent, #38BDF8);
    color: var(--color-accent, #38BDF8);
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .projects-section {
        padding: 55px 5%;
    }

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

    .project-card {
        padding: 22px;
    }
}

/* Visual header */

.project-visual {
    position: relative;
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    border-bottom: 1px solid #334155;
}

.project-visual::before,
.project-visual::after {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 50%;
    content: "";
}

.project-visual::before {
    transform: scale(1.4);
}

.project-visual::after {
    transform: scale(2);
}

.project-visual-web {
    background: linear-gradient(135deg, #172554, #0F172A 70%);
}

.project-visual-data {
    background: linear-gradient(135deg, #164E63, #0F172A 70%);
}

.project-visual-systems {
    background: linear-gradient(135deg, #312E81, #0F172A 70%);
}

.project-visual-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 16px;
    background: rgba(11, 17, 32, 0.65);
    color: #38BDF8;
    font-size: 25px;
    font-weight: 800;
}

.project-visual-label {
    position: relative;
    z-index: 1;
    color: #CBD5E1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Project information */

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.project-category {
    margin-bottom: 13px;
    color: #38BDF8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.6;
}

.project-content h3 {
    margin: 0 0 13px;
    color: #F8FAFC;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.4;
}

.project-content > p {
    margin: 0 0 22px;
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.85;
}

/* Technology tags */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-tags span {
    padding: 6px 9px;
    border: 1px solid #334155;
    border-radius: 6px;
    background: #0B1120;
    color: #CBD5E1;
    font-size: 11px;
    line-height: 1.5;
}

/* Project links */

.project-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #263449;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #38BDF8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #7DD3FC;
}

.project-link span {
    transition: transform 0.3s ease;
}

.project-link:hover span {
    transform: translateX(4px);
}

/* Closing call to action */

.projects-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 50px;
    padding: 30px;
    border: 1px solid #263449;
    border-radius: 14px;
    background: #111827;
}

.projects-footer p {
    max-width: 600px;
    margin: 0;
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1.8;
}

.projects-contact-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 19px;
    border: 1px solid #38BDF8;
    border-radius: 8px;
    background: #38BDF8;
    color: #0B1120;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.projects-contact-button:hover {
    background: #7DD3FC;
    border-color: #7DD3FC;
    transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 950px) {
    .projects-section {
        padding: 80px 5%;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .projects-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Mobile */

@media (max-width: 580px) {
    .projects-section {
        padding: 65px 22px;
    }

    .projects-heading {
        margin-bottom: 38px;
    }

    .projects-heading h2 {
        font-size: 32px;
    }

    .projects-heading > p {
        font-size: 15px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-visual {
        min-height: 175px;
    }

    .project-content {
        padding: 22px;
    }

    .projects-footer {
        padding: 22px;
    }

    .projects-contact-button {
        width: 100%;
    }
}

/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-primary, #0B1120);
    color: var(--color-text, #F8FAFC);
}

.services-header {
    max-width: 740px;
    margin: 0 auto 55px;
    text-align: center;
}

.services-header h2 {
    margin-bottom: 14px;
    color: var(--color-text, #F8FAFC);
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.services-header h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

.services-header p {
    margin: 0;
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.8;
}

/* 3-Column Responsive Grid */
.services-grid {
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition:
        transform var(--transition, 0.3s ease),
        border-color var(--transition, 0.3s ease),
        box-shadow var(--transition, 0.3s ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent, #38BDF8);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.12);
}

/* Highlighted Flagship Card */
.service-card.service-featured {
    border-color: rgba(56, 189, 248, 0.65);
    background: linear-gradient(160deg, #1E293B 65%, rgba(56, 189, 248, 0.08));
}

/* Top Metadata Row (Tag + Price) */
.service-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.service-tag,
.service-badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-tag {
    background: #0B1120;
    border: 1px solid #334155;
    color: #94A3B8;
}

.service-badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--color-accent, #38BDF8);
}

.service-price {
    color: var(--color-success, #34D399);
    font-size: 0.88rem;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--color-text, #F8FAFC);
    font-size: 1.25rem;
    line-height: 1.35;
}

.service-problem {
    margin-bottom: 18px;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.75;
}

/* Deliverables List */
.service-deliverables {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid #334155;
}

.service-deliverables li {
    position: relative;
    padding-left: 18px;
    color: var(--color-muted, #CBD5E1);
    font-size: 0.88rem;
    line-height: 1.65;
}

.service-deliverables li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent, #38BDF8);
    font-weight: 800;
}

.service-deliverables strong {
    color: var(--color-text, #F8FAFC);
}

/* Card CTA Button */
.service-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #334155;
    border-radius: var(--radius-small, 8px);
    background: #0B1120;
    color: var(--color-accent, #38BDF8);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--transition, 0.3s ease);
}

.service-cta:hover,
.service-featured .service-cta {
    background: var(--color-accent, #38BDF8);
    border-color: var(--color-accent, #38BDF8);
    color: #0B1120;
}

.service-featured .service-cta:hover {
    background: #7DD3FC;
    border-color: #7DD3FC;
}

/* Value-for-Money Banner */
.services-value-banner {
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 40px auto 0;
    padding: 26px 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    background: #111827;
    border: 1px solid #263449;
    border-radius: var(--radius-medium, 14px);
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.value-item strong {
    color: var(--color-accent, #38BDF8);
    font-size: 0.98rem;
}

.value-item span {
    color: #94A3B8;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Tablet */
@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .services-value-banner {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .services-section {
        padding: 55px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 22px;
    }
}

/* =========================================
   EXPANDABLE "MORE PROJECTS / SERVICES" DRAWER
========================================= */

.section-more-wrapper {
    max-width: var(--container-width, 1200px);
    margin: 36px auto 0;
    text-align: center;
}

.btn-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 999px;
    color: #F8FAFC;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-more-toggle:hover,
.btn-more-toggle[aria-expanded="true"] {
    border-color: var(--color-accent, #38BDF8);
    color: var(--color-accent, #38BDF8);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
}

.toggle-icon {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.more-info-drawer {
    max-width: 760px;
    margin: 18px auto 0;
    padding: 22px 26px;
    background: #0B1120;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    text-align: left;
    animation: fadeSlideDown 0.25s ease;
}

.more-info-drawer[hidden] {
    display: none;
}

.more-info-drawer p {
    margin: 0 0 16px;
    color: #CBD5E1;
    font-size: 0.92rem;
    line-height: 1.7;
}

.more-info-drawer strong {
    color: var(--color-accent, #38BDF8);
}

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

.drawer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--color-accent, #38BDF8);
    color: #0B1120;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.25s ease;
}

.drawer-link:hover {
    background: #7DD3FC;
}

.drawer-link.secondary {
    background: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
}

.drawer-link.secondary:hover {
    border-color: var(--color-accent, #38BDF8);
    color: var(--color-accent, #38BDF8);
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   NETWORKS SECTION
========================================= */

.networks-section {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-primary, #0B1120);
    color: var(--color-text, #F8FAFC);
}

.networks-header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.networks-header h2 {
    margin-bottom: 14px;
    color: var(--color-text, #F8FAFC);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.networks-header h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

.networks-header p {
    margin: 0;
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.75;
}

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

.network-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.network-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent, #38BDF8);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.12);
}

.network-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.network-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--color-accent, #38BDF8);
    font-size: 1.05rem;
    font-weight: 900;
    font-family: monospace;
}

.network-arrow {
    color: #64748B;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.network-card:hover .network-arrow {
    color: var(--color-accent, #38BDF8);
    transform: translate(3px, -3px);
}

.network-card h3 {
    color: #F8FAFC;
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.network-card p {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.network-handle {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #334155;
    color: var(--color-accent, #38BDF8);
    font-size: 0.84rem;
    font-weight: 700;
}

/* =========================================
 CONTACTS
========================================= */

#contacts {
    padding: var(--section-spacing, 80px) 6%;
    background: var(--color-primary, #0B1120);
    color: var(--color-text, #F8FAFC);
}

/* Contacts heading */
#contacts h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-text, #F8FAFC);
}

#contacts h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 4px;
    background: var(--color-accent, #38BDF8);
}

/* Introduction */
#contacts > p {
    max-width: 750px;
    margin: 0 auto 32px;
    color: var(--color-muted, #CBD5E1);
    text-align: center;
    line-height: 1.8;
}

/* Contact details */
#contacts ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 850px;
    margin: 40px auto; /*Added 40px of space above contact -cards*/
    padding: 0;
    list-style: none;
}

#contacts li {
    min-width: 0;
    padding: 20px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-medium, 14px);
    color: var(--color-muted, #CBD5E1);
    overflow-wrap: anywhere;
    transition:
        border-color var(--transition, 0.3s ease),
        transform var(--transition, 0.3s ease);
}

/* Links within contact cards */
#contacts li a {
    display: inline-block;
    margin-left: 6px;
    color: var(--color-accent, #38BDF8);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
    transition: color var(--transition, 0.3s ease);
}

#contacts li a span {
    margin-left: 5px;
}

/* Interactive states */
#contacts li:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent, #38BDF8);
}

#contacts li a:hover {
    color: var(--color-white, #FFFFFF);
}

#contacts li a:focus-visible {
    outline: 2px solid var(--color-accent, #38BDF8);
    outline-offset: 4px;
}

/* Mobile layout */
@media (max-width: 600px) {
    #contacts {
        padding: 55px 5%;
    }

    #contacts ul {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #contacts li {
        padding: 18px;
    }
}

/* =========================================
   FOOTER (CODE X DIGITAL)
========================================= */

.site-footer {
    padding: 65px 6% 32px;
    background: #070B14;
    border-top: 1px solid #1E293B;
    color: #94A3B8;
}

.footer-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto 45px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 40px;
}

.footer-tagline {
    margin: 18px 0 20px;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 420px;
}

.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #34D399;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-col h4 {
    color: #F8FAFC;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #94A3B8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--color-accent, #38BDF8);
}

.footer-bottom {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #1E293B;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-bottom strong {
    color: #F8FAFC;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view-badge {
    padding: 4px 10px;
    border-radius: 6px;
    background: #111827;
    border: 1px solid #1E293B;
    color: #64748B;
    font-size: 0.78rem;
}

.back-top-link {
    color: var(--color-accent, #38BDF8);
    font-weight: 700;
    text-decoration: none;
}

.back-top-link:hover {
    color: #7DD3FC;
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
    .networks-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .networks-section {
        padding: 55px 5%;
    }

    .site-footer {
        padding: 50px 5% 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   FOOTER (CODE X DIGITAL)
========================================= */

.site-footer {
    padding: 65px 6% 32px;
    background: #070B14;
    border-top: 1px solid #1E293B;
    color: #94A3B8;
}

.footer-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto 45px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 40px;
}

.footer-tagline {
    margin: 18px 0 20px;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 420px;
}

.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #34D399;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-col h4 {
    color: #F8FAFC;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #94A3B8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--color-accent, #38BDF8);
}

.footer-bottom {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #1E293B;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-bottom strong {
    color: #F8FAFC;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view-badge {
    padding: 4px 10px;
    border-radius: 6px;
    background: #111827;
    border: 1px solid #1E293B;
    color: #64748B;
    font-size: 0.78rem;
}

.back-top-link {
    color: var(--color-accent, #38BDF8);
    font-weight: 700;
    text-decoration: none;
}

.back-top-link:hover {
    color: #7DD3FC;
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
    .networks-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .networks-section {
        padding: 55px 5%;
    }

    .site-footer {
        padding: 50px 5% 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================
   FOOTER (CODE X DIGITAL)
========================================= */

.site-footer {
    padding: 65px 6% 32px;
    background: #070B14;
    border-top: 1px solid #1E293B;
    color: #94A3B8;
}

.footer-grid {
    max-width: var(--container-width, 1200px);
    margin: 0 auto 45px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 40px;
}

.footer-tagline {
    margin: 18px 0 20px;
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 420px;
}

.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #34D399;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-col h4 {
    color: #F8FAFC;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #94A3B8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--color-accent, #38BDF8);
}

.footer-bottom {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #1E293B;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-bottom strong {
    color: #F8FAFC;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view-badge {
    padding: 4px 10px;
    border-radius: 6px;
    background: #111827;
    border: 1px solid #1E293B;
    color: #64748B;
    font-size: 0.78rem;
}

.back-top-link {
    color: var(--color-accent, #38BDF8);
    font-weight: 700;
    text-decoration: none;
}

.back-top-link:hover {
    color: #7DD3FC;
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
    .networks-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .networks-section {
        padding: 55px 5%;
    }

    .site-footer {
        padding: 50px 5% 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/*=================================
Feature 5: Contact Form Styling 
=================================*/

.contact-form-container {
    width: min(100% - 32px, 720px);
    margin: 40px auto 0;
    padding: 32px;
    background: var(--color-card, #1E293B);
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-large, 20px);
    box-sizing: border-box;
}

.contact-form-container h3 {
    margin-bottom: 10px;
    color: var(--color-text, #F8FAFC);
}

.contact-form-container > p {
    margin-bottom: 25px;
    color: var(--color-muted, #CBD5E1);
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text, #F8FAFC);
    font-weight: 600;
}

#contact-form input,
#contact-form textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    box-sizing: border-box;
    border: 1px solid var(--color-border, #334155);
    border-radius: var(--radius-small, 8px);
    background: var(--color-primary, #0B1120);
    color: var(--color-text, #F8FAFC);
    font: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: var(--color-muted, #CBD5E1);
    opacity: 0.7;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent, #38BDF8);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

#contact-form input[aria-invalid="true"],
#contact-form textarea[aria-invalid="true"] {
    border-color: #F87171;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #FCA5A5;
    font-size: 0.85rem;
}

#contact-submit {
    display: inline-block;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-small, 8px);
    background: var(--color-accent-secondary, #3B82F6);
    color: #FFFFFF;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#contact-submit:hover {
    transform: translateY(-2px);
}

#contact-submit:focus-visible {
    outline: 2px solid var(--color-accent, #38BDF8);
    outline-offset: 4px;
}

#contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-status {
    margin-top: 18px;
    font-weight: 500;
}

.form-status.success {
    color: var(--color-success, #34D399);
}

.form-status.error {
    color: #FCA5A5;
}

@media (max-width: 600px) {
    .contact-form-container {
        padding: 22px 18px;
    }

    #contact-submit {
        width: 100%;
    }
}

/* Feature 6: Back-to-Top Button */

#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid var(--color-accent, #38BDF8);
    border-radius: 50%;

    background: var(--color-accent-secondary, #3B82F6);
    color: var(--color-white, #FFFFFF);

    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(12px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

#back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--color-accent, #38BDF8);
    transform: translateY(-4px);
}

#back-to-top:focus-visible {
    outline: 3px solid var(--color-accent, #38BDF8);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    #back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    #back-to-top {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}