/*!
Theme Name: v2nex
Theme URI: http://underscores.me/
Author: v2nex
Author URI: https://v2nex.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: httpsv2nex-com
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

v2nex is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* ============================================================
   01. THEME TOKENS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Brand accent (same in both themes) */
    --accent: #14b8a6;
    --accent-hover: #0d9488;
    --primary: #134563;

    /* Surfaces – DARK (default) */
    --bg-page: #0a0e1a;
    --bg-elevated: #0f1624;
    --bg-section: linear-gradient(180deg, #0f1624 0%, #0a0e1a 50%, #0f1624 100%);
    --bg-hero: linear-gradient(180deg, #0a0e1a 0%, #0f1624 50%, #0f1624 100%);
    --bg-footer: linear-gradient(180deg, #0f1624 0%, #0a0e1a 100%);

    /* Card / glass surface */
    --surface-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    --surface-card-solid: rgba(15, 22, 36, 0.6);
    --surface-input: rgba(255, 255, 255, 0.05);
    --surface-input-focus: rgba(255, 255, 255, 0.08);

    /* Text */
    --text-on-surface: #ffffff;
    --text-body: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-faint: rgba(255, 255, 255, 0.4);

    /* Borders */
    --border: 1px solid rgba(255, 255, 255, 0.08);
    --border-strong: 1px solid rgba(255, 255, 255, 0.15);
    --border-divider: 1px solid rgba(255, 255, 255, 0.06);

    /* Effects */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --backdrop-blur: blur(10px);
    --header-bg-scrolled: rgba(10, 14, 26, 0.95);

    /* Tag / pill (accent-tinted) */
    --pill-bg: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(19, 69, 99, 0.15) 100%);
    --pill-border: 1px solid rgba(20, 184, 166, 0.2);

    /* Typography */
    --font-body: "Plus Jakarta Sans", sans-serif;
    --font-heading: "Inter", sans-serif;
    --fs-56: 56px;
    --fs-44: 44px;
    --fs-32: 32px;
    --fs-24: 24px;
    --fs-20: 20px;
    --fs-18: 18px;
    --fs-16: 16px;
    --fs-14: 14px;
    --fs-12: 12px;

    /* Spacing */
    --sp-xs: 10px;
    --sp-sm: 15px;
    --sp-md: 20px;
    --sp-lg: 30px;
    --sp-xl: 40px;
    --sp-xxl: 60px;
    --sp-xxxl: 80px;
    --sp-section: 100px;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-full: 50px;

    /* Motion */
    --t-fast: 0.25s ease;
    --t-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme – overrides only the surface/text/border tokens.
   Components inherit and adapt automatically. */
:root[data-theme="light"] {
    --bg-page: #f8fafb;
    --bg-elevated: #ffffff;
    --bg-section: linear-gradient(180deg, #ffffff 0%, #f0f5f8 50%, #ffffff 100%);
    --bg-hero: linear-gradient(180deg, #eef5f8 0%, #f0f7fa 50%, #f8fafb 100%);
    --bg-footer: #1a2332;

    --surface-card: #ffffff;
    --surface-card-solid: #ffffff;
    --surface-input: #f8fafb;
    --surface-input-focus: #ffffff;

    --text-on-surface: #1a2332;
    --text-body: #4e5c79;
    --text-muted: #6b7a92;
    --text-faint: #8293a7;

    --border: 1px solid rgba(19, 69, 99, 0.08);
    --border-strong: 1px solid rgba(19, 69, 99, 0.15);
    --border-divider: 1px solid rgba(19, 69, 99, 0.06);

    --shadow-sm: 0 2px 8px rgba(19, 69, 99, 0.06);
    --shadow-md: 0 4px 20px rgba(19, 69, 99, 0.08);
    --shadow-lg: 0 8px 40px rgba(19, 69, 99, 0.1);
    --shadow-inset: none;
    --backdrop-blur: blur(16px) saturate(180%);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);

    --pill-bg: rgba(20, 184, 166, 0.08);
    --pill-border: 1px solid rgba(20, 184, 166, 0.2);
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-16);
    color: var(--text-body);
    background-color: var(--bg-page);
    background-image:
        radial-gradient(at 0% 0%, rgba(20, 184, 166, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(19, 69, 99, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

button {
    font-family: inherit;
}


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-on-surface);
}

h1 { font-size: var(--fs-56); line-height: 1.1; }
h2 { font-size: var(--fs-44); }
h3 { font-size: var(--fs-24); }
h4 { font-size: var(--fs-18); }

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.p-0 {padding: 0 !important;}
.pt-0 {padding-top: 0 !important;}
.pb-0 {padding-bottom: 0 !important;}
/* ============================================================
   04. LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: 1320px;
    padding: 0 var(--sp-md);
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--sp-md) * -1);
}

.row > * {
    padding: 0 var(--sp-md);
}

.full-width { width: 100%; }
.align-items-center { align-items: center; }
.justify-content-space-between { justify-content: space-between; }


/* ============================================================
   05. BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    font-size: var(--fs-16);
    font-weight: 500;
    text-align: center;
    padding: 14px 32px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #ffffff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--t-base);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
}

.btn:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
}


/* ============================================================
   06. HEADER
   ============================================================ */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: var(--sp-md) 0;
    transition: padding var(--t-base);
}

.header-bg {
    background: var(--surface-card);
    padding: 14px var(--sp-md);
    border-radius: var(--r-lg);
    border: var(--border);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: background var(--t-base), box-shadow var(--t-base);
}

.header-main.scrolled .header-bg {
    background: var(--header-bg-scrolled);
    box-shadow: var(--shadow-lg);
}

.logo a {
    display: inline-block;
    transition: transform var(--t-fast);
}
.logo a:hover { transform: translateY(-2px); }
.logo img { max-width: 80px; height: auto; display: block; }

/* Logo swap based on theme */
.logo .logo-light { display: block; }
.logo .logo-dark { display: none; }
:root[data-theme="light"] .logo .logo-light { display: none; }
:root[data-theme="light"] .logo .logo-dark { display: block; }

.menu { flex: 1; display: flex; justify-content: center; }
.menu ul {
    list-style: none;
    display: flex;
    gap: 0;
}
.menu ul li a {
    display: inline-block;
    font-size: var(--fs-16);
    font-weight: 500;
    color: var(--text-muted);
    padding: 14px var(--sp-md);
    border-radius: var(--r-sm);
    position: relative;
    transition: color var(--t-fast);
}
.menu ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
    transition: width var(--t-base);
}
.menu ul li a:hover,
.menu ul li a.active {
    color: var(--text-on-surface);
}
.menu ul li a:hover::after,
.menu ul li a.active::after {
    width: calc(100% - 40px);
}

.header-main .buttons ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}
.header-main .buttons .btn { color: #ffffff; }


/* ============================================================
   07. THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-on-surface);
    cursor: pointer;
    transition: var(--t-fast);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
}
.theme-toggle:hover {
    border-color: rgba(20, 184, 166, 0.4);
    color: var(--accent);
    transform: translateY(-2px);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }


/* ============================================================
   06b. MOBILE MENU TOGGLE & OVERLAY
   ============================================================ */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-md);
    cursor: pointer;
    padding: 0;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: var(--t-fast);
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-on-surface);
    border-radius: 2px;
    margin: 0 auto;
    transition: transform var(--t-base), opacity var(--t-fast);
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--accent);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--accent);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--t-fast);
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ============================================================
   08. HERO – HOME
   ============================================================ */
.hero-main {
    min-height: 100vh;
    padding: 220px 0 100px;
    background: var(--bg-hero);
    text-align: center;
    color: var(--text-on-surface);
    position: relative;
    overflow: hidden;
}
.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(19, 69, 99, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-main .container { position: relative; z-index: 2; }

.heading-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 200px;
    margin-bottom: var(--sp-lg);
    padding: 8px 22px;
    font-size: var(--fs-16);
    font-weight: 500;
    color: var(--text-on-surface);
    background: var(--pill-bg);
    border: var(--border-strong);
    border-radius: var(--r-full);
    box-shadow: var(--shadow-sm), var(--shadow-inset);
}
.heading-label-wrapper {
    position: relative;
    overflow: hidden;
    text-align: center;
}
.heading-label-text {
    display: inline-block;
    white-space: nowrap;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.heading-label-text.is-out {
    opacity: 0;
    transform: translateY(-12px);
}

h1.main-heading {
    margin-bottom: var(--sp-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-on-surface);
}
h1.main-heading span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main p {
    font-size: var(--fs-18);
    margin: 0 auto var(--sp-xl);
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================================
   09. PAGE HERO – ABOUT / CONTACT
   ============================================================ */
.page-hero {
    padding: 200px 0 80px;
    background: var(--bg-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(19, 69, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }

.page-label {
    display: inline-block;
    padding: 8px 22px;
    margin-bottom: var(--sp-lg);
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--accent);
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-hero h1 {
    margin-bottom: var(--sp-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.page-hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--fs-18);
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================================================
   10. SECTION WRAPPER (shared across home + page sections)
   ============================================================ */
.section-main,
.about-main,
.services-main,
.counter-main,
.portfolio-main,
.experience-main,
.contact-main,
.page-section {
    padding: var(--sp-section) 0;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}
.page-section-alt {
    background: var(--bg-page);
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-xxxl);
}
.section-label {
    display: inline-block;
    padding: 8px 22px;
    margin-bottom: var(--sp-md);
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--accent);
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-heading {
    font-size: var(--fs-44);
    font-weight: 700;
    margin-bottom: var(--sp-md);
    color: var(--text-on-surface);
}
.section-heading span,
.contact-info-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--fs-18);
    color: var(--text-muted);
    line-height: 1.6;
}


/* ============================================================
   11. ABOUT SECTION (HOME)
   ============================================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xxxl);
    align-items: center;
}
.about-image {
    width: 100%;
    height: 500px;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--surface-card);
    border: var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-text h2 {
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-on-surface);
}
.about-text h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-text p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--sp-md);
}
.about-text p:last-of-type { margin-bottom: var(--sp-lg); }
.about-buttons {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
}


/* ============================================================
   12. SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.service-card {
    padding: var(--sp-xl) var(--sp-lg);
    text-align: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--sp-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-lg);
    transition: var(--t-base);
}
.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}
.service-title {
    font-size: var(--fs-24);
    font-weight: 600;
    margin-bottom: var(--sp-sm);
    color: var(--text-on-surface);
}
.service-description {
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================================================
   13. COUNTER
   ============================================================ */
.counter-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-xl) var(--sp-xxl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
}
.counter-item {
    flex: 1;
    text-align: center;
    padding: 0 var(--sp-lg);
    transition: var(--t-fast);
}
.counter-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--text-on-surface);
    font-family: var(--font-heading);
}
.counter-item:hover .counter-number {
    color: var(--accent);
    transform: scale(1.05);
}
.counter-label {
    font-size: var(--fs-14);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-faint);
}
.counter-divider {
    width: 1px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(128, 128, 128, 0.2) 50%, transparent 100%);
    position: relative;
}
.counter-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}


/* ============================================================
   14. PORTFOLIO (LIST VIEW ONLY)
   ============================================================ */
.portfolio-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: var(--sp-md);
}
.portfolio-filter {
    display: flex;
    gap: var(--sp-xs);
    flex-wrap: wrap;
    justify-content: center;
}
.filter-btn {
    padding: 10px 20px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: var(--fs-14);
    font-weight: 500;
    cursor: pointer;
    transition: var(--t-fast);
    font-family: inherit;
}
.filter-btn:hover {
    color: var(--text-on-surface);
    border-color: rgba(20, 184, 166, 0.3);
    background: rgba(20, 184, 166, 0.08);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.portfolio-list-view {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}
.portfolio-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--sp-xl);
    padding: var(--sp-lg);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    overflow: hidden;
}
.portfolio-item.is-hidden { display: none; }
.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.portfolio-image {
    position: relative;
    height: 280px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--pill-bg);
    border: var(--border);
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}
.portfolio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.portfolio-title {
    font-size: var(--fs-24);
    font-weight: 600;
    margin-bottom: var(--sp-sm);
    color: var(--text-on-surface);
}
.portfolio-description {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xs);
    margin-bottom: 25px;
}
.tag {
    padding: 6px 14px;
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-full);
    transition: var(--t-fast);
}
.tag:hover {
    color: var(--accent);
    border-color: rgba(20, 184, 166, 0.4);
}


/* ============================================================
   15. EXPERIENCE TIMELINE
   ============================================================ */
.experience-timeline {
    position: relative;
    padding: var(--sp-xl) 0;
}
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 184, 166, 0.3) 10%, rgba(20, 184, 166, 0.3) 90%, transparent 100%);
}
.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 50px;
    margin-bottom: var(--sp-xxl);
    position: relative;
    padding-left: var(--sp-md);
}
.experience-item:last-child { margin-bottom: 0; }
.experience-item::before {
    content: '';
    position: absolute;
    left: 194px;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg-page);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
    z-index: 2;
    transition: var(--t-fast);
}
.experience-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.5), 0 0 20px rgba(20, 184, 166, 0.4);
}
.experience-date {
    text-align: right;
    padding-right: var(--sp-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 80px;
}
.date-year {
    font-size: var(--fs-20);
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}
.date-duration {
    display: inline-block;
    padding: 4px 12px;
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-full);
}
.experience-content {
    padding: 35px var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    position: relative;
    transition: var(--t-base);
}
.experience-content:hover {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}
.experience-icon {
    position: absolute;
    top: -20px;
    left: var(--sp-xl);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: 2px solid rgba(20, 184, 166, 0.3);
    border-radius: var(--r-md);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-sm);
}
.experience-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.experience-title {
    font-size: var(--fs-24);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 8px;
}
.experience-company {
    font-size: var(--fs-18);
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--sp-sm);
    font-family: var(--font-heading);
}
.experience-description {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}
.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-xs);
}


/* ============================================================
   16. CONTACT SECTION (HOME)
   ============================================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-xxl);
    margin-top: var(--sp-xxl);
}
.contact-info-title {
    font-size: var(--fs-44);
    font-weight: 700;
    margin-bottom: var(--sp-md);
    color: var(--text-on-surface);
    font-family: var(--font-heading);
}
.contact-info-description {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--sp-xl);
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-md);
    padding: 25px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: var(--t-fast);
}
.contact-detail-item:hover {
    transform: translateX(5px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-md);
}
.contact-detail-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-md);
    transition: var(--t-fast);
}
.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.contact-detail-item:hover .contact-detail-icon {
    transform: scale(1.08);
}
.contact-detail-content h4 {
    font-size: var(--fs-18);
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-on-surface);
}
.contact-detail-content p {
    color: var(--text-muted);
    margin: 0;
}

.contact-form-wrapper {
    padding: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}
.form-group label {
    font-size: var(--fs-14);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-on-surface);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface-input);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-on-surface);
    font-size: var(--fs-16);
    font-family: inherit;
    outline: none;
    transition: var(--t-fast);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-faint);
}
.form-group input:focus,
.form-group textarea:focus {
    background: var(--surface-input-focus);
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-form .btn {
    width: 100%;
    margin-top: var(--sp-xs);
}


/* ============================================================
   17a. ABOUT PAGE – BIO
   ============================================================ */
.about-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-xxxl);
    align-items: center;
}
.about-bio-image {
    position: relative;
    height: 500px;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: var(--border);
    box-shadow: var(--shadow-lg);
}
.about-bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-bio-text h2 {
    font-size: var(--fs-44);
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-on-surface);
}
.about-bio-text h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-bio-text p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--sp-md);
}
.about-bio-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: var(--sp-xl);
}
.about-bio-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.about-bio-info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-md);
}
.about-bio-info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}
.about-bio-info-label {
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-faint);
}
.about-bio-info-value {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
}


/* ============================================================
   17b. ABOUT PAGE – SKILLS
   ============================================================ */
.skills-header {
    text-align: center;
    margin-bottom: var(--sp-xxxl);
}
.skills-header h2 {
    font-size: var(--fs-44);
    font-weight: 700;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-md);
}
.skills-header h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.skills-header p {
    max-width: 550px;
    margin: 0 auto;
    font-size: var(--fs-18);
    color: var(--text-muted);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
}
.skill-card {
    padding: var(--sp-xl) var(--sp-lg);
    text-align: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}
.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.skill-card:hover::before {
    transform: scaleX(1);
}
.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--sp-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-lg);
    transition: var(--t-base);
}
.skill-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent);
}
.skill-card:hover .skill-icon {
    transform: scale(1.08) rotate(4deg);
}
.skill-name {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 6px;
}
.skill-level {
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 14px;
}
.skill-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(128, 128, 128, 0.15);
    border-radius: 4px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 4px;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   18. CONTACT PAGE – CARDS + FULL FORM + MAP
   ============================================================ */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    margin-bottom: var(--sp-section);
}
.contact-card {
    padding: var(--sp-xxl) var(--sp-xl);
    text-align: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transition: transform var(--t-base);
}
.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.contact-card:hover::before {
    transform: scaleX(1);
}
.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--sp-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-lg);
    transition: var(--t-base);
}
.contact-card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent);
}
.contact-card:hover .contact-card-icon {
    transform: scale(1.08) rotate(4deg);
}
.contact-card h3 {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 8px;
}
.contact-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.contact-card a {
    color: var(--text-muted);
    transition: var(--t-fast);
}
.contact-card a:hover { color: var(--accent); }

.contact-full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-section);
}
.contact-full-info h2 {
    font-size: var(--fs-44);
    font-weight: 700;
    color: var(--text-on-surface);
    margin-bottom: 25px;
}
.contact-full-info h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-full-info > p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--sp-md);
}
.contact-social-row {
    display: flex;
    gap: var(--sp-sm);
    margin-top: var(--sp-xl);
}
.contact-social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-muted);
    transition: var(--t-fast);
}
.contact-social-btn svg { width: 20px; height: 20px; }
.contact-social-btn:hover {
    background: rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.4);
    color: var(--accent);
    transform: translateY(-3px);
}

.contact-full-form {
    padding: var(--sp-xxl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
}
.contact-full-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-full-form .form-group { margin-bottom: 18px; }
.contact-full-form textarea { min-height: 140px; }

.contact-map {
    width: 100%;
    height: 320px;
    margin-top: var(--sp-section);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
}
.contact-map svg {
    width: 50px;
    height: 50px;
    color: var(--accent);
    opacity: 0.5;
}
.contact-map p {
    color: var(--text-faint);
}


/* ============================================================
   19. BLOG ARCHIVE – COMPACT HERO + LISTING
   ============================================================ */
.blog-hero {
    padding: 180px 0 60px;
    background: var(--bg-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(19, 69, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.blog-hero .container {
    position: relative;
    z-index: 2;
}
.blog-hero h1 {
    font-size: var(--fs-44);
    font-weight: 700;
    margin-bottom: var(--sp-md);
    color: var(--text-on-surface);
    letter-spacing: -0.02em;
}
.blog-hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.blog-hero .blog-hero-tagline {
    max-width: 560px;
    margin: 0 auto var(--sp-lg);
    color: var(--text-muted);
    font-size: var(--fs-16);
    line-height: 1.6;
}

.blog-hero-search {
    max-width: 540px;
    margin: 0 auto;
    position: relative;
}
.blog-hero-search input {
    width: 100%;
    padding: 14px 56px 14px 22px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-full);
    color: var(--text-on-surface);
    font-size: var(--fs-16);
    font-family: inherit;
    outline: none;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-fast);
}
.blog-hero-search input::placeholder {
    color: var(--text-faint);
}
.blog-hero-search input:focus {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1), var(--shadow-md);
}
.blog-hero-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    cursor: pointer;
    transition: var(--t-fast);
}
.blog-hero-search button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}
.blog-hero-search button svg {
    width: 18px;
    height: 18px;
}

/* Blog content */
.blog-content-main {
    padding: var(--sp-xxxl) 0 var(--sp-section);
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--sp-xxl);
    align-items: start;
}

.blog-category-filter {
    display: flex;
    gap: var(--sp-xs);
    flex-wrap: wrap;
    margin-bottom: var(--sp-xl);
}
.blog-category-btn {
    padding: 10px 20px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: var(--fs-14);
    font-weight: 500;
    cursor: pointer;
    transition: var(--t-fast);
    font-family: inherit;
}
.blog-category-btn:hover {
    color: var(--text-on-surface);
    border-color: rgba(20, 184, 166, 0.3);
    background: rgba(20, 184, 166, 0.08);
}
.blog-category-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
}
.blog-card.is-hidden { display: none; }
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--pill-bg);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}
.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--r-full);
    font-size: var(--fs-12);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-14);
    color: var(--text-faint);
}
.blog-card-meta span svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}
.blog-card-meta .meta-divider {
    width: 4px;
    height: 4px;
    background: var(--text-faint);
    border-radius: 50%;
    opacity: 0.4;
}
.blog-card-title {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    line-height: 1.4;
    margin-bottom: 10px;
}
.blog-card-title a {
    color: inherit;
    transition: color var(--t-fast);
}
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-md);
    border-top: var(--border-divider);
}
.blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-card-author-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    border: 2px solid rgba(20, 184, 166, 0.3);
    font-size: var(--fs-12);
    font-weight: 700;
    color: #ffffff;
}
.blog-card-author-name {
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--text-muted);
}
.blog-card-read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--accent);
    transition: var(--t-fast);
}
.blog-card-read-more:hover {
    color: var(--accent-hover);
    gap: 10px;
}
.blog-card-read-more svg {
    width: 14px;
    height: 14px;
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.blog-card.featured .blog-card-image {
    height: 100%;
    min-height: 300px;
}
.blog-card.featured .blog-card-body {
    padding: var(--sp-xl);
    justify-content: center;
}
.blog-card.featured .blog-card-title {
    font-size: var(--fs-24);
}


/* ============================================================
   20. BLOG SIDEBAR (shared by archive + single)
   ============================================================ */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
    position: sticky;
    top: 110px;
}
.sidebar-widget {
    padding: var(--sp-lg);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
}
.sidebar-widget-title {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: var(--border-divider);
    position: relative;
}
.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: var(--border-divider);
    transition: var(--t-fast);
}
.popular-post-item:first-child { padding-top: 0; }
.popular-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.popular-post-item:hover { padding-left: 6px; }
.popular-post-thumbnail {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--pill-bg);
}
.popular-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popular-post-title {
    font-size: var(--fs-14);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-on-surface);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popular-post-title a { color: inherit; }
.popular-post-title a:hover { color: var(--accent); }
.popular-post-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-12);
    color: var(--text-faint);
}
.popular-post-date svg {
    width: 12px;
    height: 12px;
    color: var(--accent);
}

.sidebar-categories {
    list-style: none;
}
.sidebar-categories li {
    padding: 12px 0;
    border-bottom: var(--border-divider);
    transition: padding var(--t-fast);
}
.sidebar-categories li:first-child { padding-top: 0; }
.sidebar-categories li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-categories li:hover { padding-left: 6px; }
.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--t-fast);
}
.sidebar-categories li a:hover { color: var(--accent); }
.sidebar-categories .cat-count {
    padding: 3px 10px;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-full);
    color: var(--accent);
    font-size: var(--fs-12);
    font-weight: 600;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-tag {
    padding: 6px 14px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-full);
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--t-fast);
}
.sidebar-tag:hover {
    background: var(--pill-bg);
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--accent);
}

.newsletter-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-md);
    font-size: var(--fs-14);
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.newsletter-form input {
    width: 100%;
    padding: 11px 16px;
    background: var(--surface-input);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-on-surface);
    font-size: var(--fs-14);
    font-family: inherit;
    outline: none;
    transition: var(--t-fast);
}
.newsletter-form input::placeholder { color: var(--text-faint); }
.newsletter-form input:focus {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    background: var(--surface-input-focus);
}
.newsletter-form .btn {
    width: 100%;
    padding: 11px 18px;
    font-size: var(--fs-14);
}


/* ============================================================
   21. BLOG PAGINATION
   ============================================================ */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: var(--sp-xxl);
}
.pagination-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-muted);
    font-size: var(--fs-16);
    font-weight: 500;
    transition: var(--t-fast);
    font-family: var(--font-heading);
}
.pagination-btn:hover {
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--text-on-surface);
    background: rgba(20, 184, 166, 0.08);
}
.pagination-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}
.pagination-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}
.pagination-btn svg {
    width: 16px;
    height: 16px;
}


/* ============================================================
   22. BLOG SINGLE – POST HERO + ARTICLE + RELATED
   ============================================================ */
.blog-single-hero {
    padding: 200px 0 50px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}
.blog-single-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(19, 69, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.blog-single-hero .container {
    position: relative;
    z-index: 2;
}
.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--sp-lg);
    font-size: var(--fs-14);
    color: var(--text-faint);
}
.post-breadcrumb a {
    color: var(--text-muted);
    transition: color var(--t-fast);
}
.post-breadcrumb a:hover { color: var(--accent); }
.post-breadcrumb svg {
    width: 12px;
    height: 12px;
}
.post-category-badge {
    display: inline-block;
    padding: 5px 16px;
    margin-bottom: var(--sp-md);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--r-full);
    font-size: var(--fs-12);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.post-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-on-surface);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-bottom: var(--sp-lg);
}
.post-meta-row {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
    flex-wrap: wrap;
}
.post-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.post-author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    border: 3px solid rgba(20, 184, 166, 0.3);
    font-size: var(--fs-14);
    font-weight: 700;
    color: #ffffff;
}
.post-author-name {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
}
.post-author-role {
    font-size: var(--fs-14);
    color: var(--text-faint);
}
.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-14);
    color: var(--text-faint);
}
.post-meta-item svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.blog-single-featured {
    margin-top: -30px;
    position: relative;
    z-index: 3;
}
.featured-img-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: var(--border);
    box-shadow: var(--shadow-lg);
}
.featured-img-wrapper img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-single-content {
    padding: var(--sp-xxxl) 0 var(--sp-section);
    background: var(--bg-section);
    position: relative;
}
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--sp-xxxl);
    align-items: start;
}

.blog-article h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-on-surface);
    margin: var(--sp-xxl) 0 var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: var(--border-divider);
    line-height: 1.3;
}
.blog-article h3 {
    font-size: var(--fs-24);
    font-weight: 600;
    color: var(--text-on-surface);
    margin: var(--sp-xl) 0 var(--sp-md);
}
.blog-article p {
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: var(--sp-md);
}
.blog-article ul,
.blog-article ol {
    margin: 0 0 var(--sp-md) var(--sp-lg);
    color: var(--text-body);
    line-height: 1.9;
}
.blog-article li { margin-bottom: 6px; }
.blog-article blockquote {
    margin: var(--sp-xl) 0;
    padding: var(--sp-lg) var(--sp-xl);
    background: var(--surface-card);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    font-size: var(--fs-18);
    line-height: 1.7;
    color: var(--text-on-surface);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
}
.blog-article pre {
    margin: var(--sp-xl) 0;
    padding: var(--sp-lg);
    background: var(--surface-input);
    border: var(--border);
    border-radius: var(--r-md);
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: var(--fs-14);
    line-height: 1.7;
    color: var(--accent);
}
.blog-article a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(20, 184, 166, 0.3);
    text-underline-offset: 3px;
}
.blog-article a:hover {
    text-decoration-color: var(--accent);
}
.blog-article img {
    width: 100%;
    margin: var(--sp-xl) 0;
    border-radius: var(--r-lg);
    border: var(--border);
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--sp-xl);
    padding-top: var(--sp-xl);
    border-top: var(--border-divider);
}
.blog-post-tags .tag-label {
    display: flex;
    align-items: center;
    margin-right: var(--sp-sm);
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
}
.blog-post-tag {
    padding: 6px 14px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-full);
    font-size: var(--fs-14);
    color: var(--text-muted);
    transition: var(--t-fast);
}
.blog-post-tag:hover {
    background: var(--pill-bg);
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--accent);
}

.blog-share {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}
.blog-share .share-label {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
}
.blog-share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-muted);
    transition: var(--t-fast);
    cursor: pointer;
}
.blog-share-btn svg {
    width: 16px;
    height: 16px;
}
.blog-share-btn:hover {
    background: var(--pill-bg);
    border-color: rgba(20, 184, 166, 0.3);
    color: var(--accent);
    transform: translateY(-2px);
}

.blog-author-box {
    display: flex;
    gap: var(--sp-xl);
    padding: var(--sp-xl);
    margin-top: var(--sp-xxl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
}
.blog-author-box-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    border: 3px solid rgba(20, 184, 166, 0.3);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}
.blog-author-box h4 {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 4px;
}
.blog-author-box .author-role {
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--sp-sm);
}
.blog-author-box p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.blog-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    margin-top: var(--sp-xxl);
    padding-top: var(--sp-xxl);
    border-top: var(--border-divider);
}
.blog-post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--sp-lg);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-lg);
    transition: var(--t-fast);
}
.blog-post-nav-item:hover {
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.blog-post-nav-item .nav-direction {
    font-size: var(--fs-12);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}
.blog-post-nav-item .nav-title {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
    line-height: 1.4;
}
.blog-post-nav-item:last-child { text-align: right; }

.blog-related {
    margin-top: var(--sp-xxl);
    padding-top: var(--sp-xxl);
    border-top: var(--border-divider);
}
.blog-related h3 {
    font-size: var(--fs-24);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-xl);
    padding-bottom: var(--sp-sm);
    position: relative;
}
.blog-related h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
}


/* ============================================================
   22. FREELANCE PAGE – SERVICE DETAILS, PROCESS, PRICING,
       TESTIMONIALS, FAQ, WHY-ME GRID, CTA
   ============================================================ */

/* ----- Service Detail Block ----- */
.service-detail {
    padding: var(--sp-xl);
    margin-bottom: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}
.service-detail:hover {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.service-detail:hover::before { transform: scaleX(1); }

.service-detail-header {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
    padding-bottom: var(--sp-md);
    border-bottom: var(--border-divider);
}
.service-detail-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-lg);
}
.service-detail-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent);
}
.service-detail-header h3 {
    font-size: var(--fs-24);
    font-weight: 700;
    color: var(--text-on-surface);
    margin: 0;
}
.service-detail-intro {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--sp-lg);
}
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    margin-bottom: var(--sp-lg);
}
.service-detail-card {
    padding: var(--sp-lg);
    background: var(--surface-input);
    border: var(--border);
    border-radius: var(--r-lg);
    transition: var(--t-fast);
}
.service-detail-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
    background: rgba(20, 184, 166, 0.04);
}
.service-detail-card h4 {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-sm);
    padding-bottom: var(--sp-xs);
    border-bottom: var(--border-divider);
}
.service-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.service-detail-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-body);
    font-size: var(--fs-14);
    line-height: 1.6;
}
.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: 50%;
}
.service-detail-list li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.service-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
    padding-top: var(--sp-md);
    border-top: var(--border-divider);
}
.service-detail-meta-block h5 {
    font-size: var(--fs-12);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 10px;
}
.service-detail-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.service-detail-tech .tag {
    font-size: var(--fs-12);
    padding: 5px 12px;
}
.service-detail-ideal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.service-detail-ideal li {
    color: var(--text-body);
    font-size: var(--fs-14);
    line-height: 1.6;
    position: relative;
    padding-left: 18px;
}
.service-detail-ideal li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}


/* ----- Why-Me Grid (feature cards) ----- */
.why-me-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.why-me-card {
    padding: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.why-me-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base);
}
.why-me-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.why-me-card:hover::before { transform: scaleX(1); }
.why-me-emoji {
    width: 56px;
    height: 56px;
    margin-bottom: var(--sp-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-md);
}
.why-me-emoji img {width: 25px;height: 25px;object-fit: contain;}
.why-me-card h3 {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-sm);
}
.why-me-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}


/* ----- Process Steps Timeline ----- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.process-step {
    position: relative;
    padding: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    overflow: hidden;
}
.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--sp-md);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: var(--fs-18);
    font-weight: 700;
    border-radius: var(--r-md);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.25);
}
.process-step h3 {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-sm);
}
.process-step p {
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}


/* ----- Pricing Cards ----- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
    align-items: stretch;
}
.pricing-card {
    display: flex;
    flex-direction: column;
    padding: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
    border: 2px solid rgba(20, 184, 166, 0.5);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.06) 0%, rgba(19, 69, 99, 0.06) 100%);
}
.pricing-card.featured::before {
    content: '⭐ Popular';
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 12px;
    font-size: var(--fs-12);
    font-weight: 600;
    color: var(--accent);
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-full);
}
.pricing-tier {
    font-size: var(--fs-14);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: var(--sp-sm);
}
.pricing-amount {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-on-surface);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    line-height: 1.1;
}
.pricing-amount small {
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}
.pricing-best-for {
    color: var(--text-muted);
    font-size: var(--fs-14);
    margin-bottom: var(--sp-lg);
    padding-bottom: var(--sp-md);
    border-bottom: var(--border-divider);
    line-height: 1.6;
}
.pricing-features {
    list-style: none;
    margin: 0 0 var(--sp-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.pricing-features li {
    position: relative;
    padding-left: 26px;
    color: var(--text-body);
    line-height: 1.6;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: 50%;
}
.pricing-features li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 7px;
    height: 4px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.pricing-card .btn { width: 100%; }
.pricing-note {
    text-align: center;
    margin-top: var(--sp-xl);
    color: var(--text-muted);
    font-size: var(--fs-14);
}
.pricing-note strong {
    color: var(--accent);
    font-weight: 600;
}


/* ----- Testimonials ----- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.testimonial-card {
    padding: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.testimonial-quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--sp-md);
    color: var(--accent);
    opacity: 0.6;
}
.testimonial-quote-icon svg { width: 100%; height: 100%; }
.testimonial-text {
    color: var(--text-body);
    font-size: var(--fs-16);
    line-height: 1.8;
    margin-bottom: var(--sp-lg);
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding-top: var(--sp-md);
    border-top: var(--border-divider);
}
.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #ffffff;
    font-weight: 700;
    font-size: var(--fs-18);
    border-radius: 50%;
    border: 2px solid rgba(20, 184, 166, 0.25);
}
.testimonial-author-name {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 2px;
}
.testimonial-author-role {
    font-size: var(--fs-12);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ----- FAQ Accordion ----- */
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}
.faq-item {
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-sm), var(--shadow-inset);
    transition: var(--t-fast);
    overflow: hidden;
}
.faq-item.active {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-md);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    padding: var(--sp-md) var(--sp-lg);
    background: transparent;
    border: none;
    color: var(--text-on-surface);
    font-family: var(--font-heading);
    font-size: var(--fs-18);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--t-fast);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: 50%;
    color: var(--accent);
    transition: transform var(--t-base);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
    border-color: transparent;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base) ease;
}
.faq-answer-inner {
    padding: 0 var(--sp-lg) var(--sp-md);
    color: var(--text-body);
    line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 500px; }


/* ----- CTA Banner ----- */
.cta-banner {
    padding: var(--sp-xxl) var(--sp-xl);
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(19, 69, 99, 0.12) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(19, 69, 99, 0.18) 0%, transparent 50%);
    pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 {
    font-size: var(--fs-44);
    font-weight: 700;
    margin-bottom: var(--sp-md);
    color: var(--text-on-surface);
}
.cta-banner h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-banner p {
    max-width: 640px;
    margin: 0 auto var(--sp-xl);
    color: var(--text-body);
    line-height: 1.8;
    font-size: var(--fs-18);
}
.cta-banner-buttons {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-xl);
}
.cta-banner-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-lg);
    padding-top: var(--sp-md);
    border-top: var(--border-divider);
    color: var(--text-muted);
    font-size: var(--fs-14);
    margin-top: 20px;
}
.cta-banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cta-banner-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}
.cta-banner-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-full);
    color: var(--text-on-surface);
    font-size: var(--fs-14);
    font-weight: 500;
    transition: var(--t-fast);
}
.cta-banner-contact a:hover {
    border-color: rgba(20, 184, 166, 0.4);
    color: var(--accent);
    transform: translateY(-2px);
}


/* ----- Freelance hero stats ----- */
.freelance-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}
.freelance-hero-stats > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    color: var(--text-muted);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-full);
    font-size: var(--fs-14);
}
.freelance-hero-stats > span strong {
    color: var(--accent);
    font-weight: 600;
}


/* ============================================================
   23. FOOTER
   ============================================================ */
.footer-main {
    padding: var(--sp-xxxl) 0 var(--sp-lg);
    background: var(--bg-footer);
    border-top: var(--border);
    position: relative;
    overflow: hidden;
}
.footer-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(19, 69, 99, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.footer-main .container {
    position: relative;
    z-index: 1;
}

.footer-main,
.footer-main .footer-description,
.footer-main .footer-links li a,
.footer-main .footer-links li span,
.footer-main .footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}
.footer-main .footer-title,
:root[data-theme="light"] .footer-main .footer-title {
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: var(--sp-xxl);
}
.footer-logo img {
    max-width: 100px;
    height: auto;
    margin-bottom: var(--sp-md);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}
:root[data-theme="light"] .footer-main .logo-dark { display: none; }
:root[data-theme="light"] .footer-main .logo-light { display: block; }

.footer-description {
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: var(--sp-sm);
}
.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-md);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--t-fast);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.4);
    color: var(--accent);
    transform: translateY(-3px);
}
.footer-title {
    font-size: var(--fs-18);
    font-weight: 600;
    margin-bottom: var(--sp-md);
    font-family: var(--font-heading);
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li a {
    transition: var(--t-fast);
    display: inline-block;
}
.footer-links li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-md);
    padding-top: var(--sp-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom p {
    font-size: var(--fs-14);
    margin: 0;
}


/* ============================================================
   24. RESPONSIVE
   ============================================================ */

/* -- 1200px: blog layout adjustments -- */
@media (max-width: 1200px) {
    .blog-layout,
    .blog-single-layout {
        grid-template-columns: 1fr 300px;
        gap: var(--sp-xl);
    }
    .menu ul li a { padding: 12px var(--sp-xs);font-size: 15px;}
}

/* -- 992px: tablet -- */
@media (max-width: 992px) {
    :root {
        --fs-56: 44px;
        --fs-44: 34px;
        --fs-24: 22px;
        --sp-section: 70px;
        --sp-xxxl: 50px;
        --sp-xxl: 40px;
    }

    /* .header-bg { padding: 12px var(--sp-sm); } */
        .header-bg {
        padding: var(--sp-xs) var(--sp-sm);
        border-radius: var(--r-md);
        position: relative;
        z-index: 9999;
    }
    .header-bg .buttons {margin-left: auto;margin-right: 10px;}
    .menu-toggle { display: flex;position: relative;right: 20px;}
    .menu-toggle.active{z-index: 9999;top: -10px;right: 0px;}
    .menu {
        position: fixed;
        top: -10px;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-elevated);
        z-index: 999;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        padding: 0;
        transition: right var(--t-base);
        justify-content: start;
    }
    .menu.active { right: -20px; }
    .menu ul {
        flex-direction: column;
        gap: 0;
        padding: 70px 0;
        width: 100%;
    }
    .menu ul li {
        width: 100%;
        border-bottom: var(--border-divider);
    }
    .menu ul li a {
        padding: 16px 24px;
        width: 100%;
        text-align: left;
        border-left: 3px solid transparent;
        border-radius: 0;
    }
    .menu ul li a::after { display: none; }
    .menu ul li a:hover,
    .menu ul li a.active {
        background: rgba(20, 184, 166, 0.08);
        border-left-color: var(--accent);
        padding-left: 28px;
    }

    body.menu-open { overflow: hidden; }

    .hero-main { padding: 180px 0 90px; min-height: auto; }
    .page-hero { padding: 170px 0 70px; }

    .about-content { grid-template-columns: 1fr; gap: 50px; }
    .about-image { height: 400px; }

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

    .counter-row { flex-wrap: wrap; padding: var(--sp-lg) var(--sp-xl); }
    .counter-item { flex: 0 0 50%; padding: var(--sp-md); }
    .counter-divider { display: none; }

    .portfolio-item { grid-template-columns: 1fr; gap: 25px; }
    .portfolio-image { height: 240px; }

    .experience-timeline::before { left: 150px; }
    .experience-item { grid-template-columns: 130px 1fr; gap: var(--sp-lg); }
    .experience-item::before { left: 144px; }

    .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }

    .about-bio-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-bio-image { height: 400px; }
    .skills-grid { grid-template-columns: 1fr 1fr; }

    .contact-cards-grid { grid-template-columns: 1fr; }
    .contact-full-grid { grid-template-columns: 1fr; gap: 50px; }

    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-lg);
    }
    .blog-card.featured { grid-template-columns: 1fr; }
    .blog-card.featured .blog-card-image {
        height: 260px;
        min-height: auto;
    }

    .blog-single-layout { grid-template-columns: 1fr; }
    .post-title { font-size: 32px; }
    .blog-related-grid { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
    .footer-content > div:first-child { grid-column: 1 / -1; }

    /* Freelance page */
    .service-detail-grid { grid-template-columns: 1fr 1fr; }
    .why-me-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: var(--sp-xl) var(--sp-md); }
}

/* -- 768px: mobile -- */
@media (max-width: 768px) {
    :root {
        --fs-56: 36px;
        --fs-44: 28px;
        --fs-18: 16px;
        --sp-section: 60px;
        --sp-xxxl: 40px;
    }
    .btn {padding: 12px 20px;font-size: var(--fs-14);}
    .header-main { padding: 12px 0; }

    .row.align-items-center.justify-content-space-between { flex-wrap: nowrap; }
    .logo img { max-width: 60px; }

    .hero-main { padding: 150px 0 80px; }
    h1.main-heading span { display: block; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    .page-hero { padding: 150px 0 60px; }

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

    .counter-row { flex-direction: column; padding: var(--sp-md); }
    .counter-item {
        flex: 1;
        width: 100%;
        padding: var(--sp-md) 0;
        border-bottom: var(--border-divider);
    }
    .counter-item:last-child { border-bottom: none; }

    .portfolio-item { padding: var(--sp-md); }
    .portfolio-image { height: 200px; }

    .experience-timeline::before { left: 18px; }
    .experience-item {
        grid-template-columns: 1fr;
        gap: var(--sp-sm);
        padding-left: 50px;
        margin-bottom: var(--sp-xl);
    }
    .experience-item::before { left: 12px; top: 8px; }
    .experience-date {
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: var(--sp-sm);
        min-height: auto;
        padding-right: 0;
    }
    .experience-content:hover { transform: none; }
    .experience-icon { display: none; }

    .contact-form-wrapper,
    .contact-full-form { padding: var(--sp-md); }
    .contact-full-form .form-row { grid-template-columns: 1fr; }
    .about-bio-info { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }

    .blog-hero { padding: 140px 0 50px; }
    .blog-posts-grid { grid-template-columns: 1fr; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-card-image { height: 200px; }

    .blog-single-hero { padding: 150px 0 40px; }
    .post-title { font-size: 26px; }
    .post-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-md);
    }
    .featured-img-wrapper img { height: 240px; }
    .blog-post-nav { grid-template-columns: 1fr; }
    .blog-post-nav-item:last-child { text-align: left; }
    .blog-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-main { padding: var(--sp-xxl) 0 var(--sp-md); }
    .footer-content { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: var(--sp-lg);
    }
    .footer-social { justify-content: center; }

    /* Freelance page */
    .service-detail { padding: var(--sp-md); }
    .service-detail-header { flex-direction: column; align-items: flex-start; text-align: left; }
    .service-detail-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
    .service-detail-meta { grid-template-columns: 1fr; }
    .why-me-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: var(--sp-md); }
    .faq-question { padding: var(--sp-sm) var(--sp-md); font-size: var(--fs-16); }
    .faq-answer-inner { padding: 0 var(--sp-md) var(--sp-sm); }
    .cta-banner h2 { font-size: var(--fs-32); }
    .cta-banner-buttons { flex-direction: column; align-items: center; }
    .cta-banner-buttons .btn { width: 100%; max-width: 280px; }
}

/* -- 480px: small phone -- */
@media (max-width: 480px) {
    :root {
        --fs-56: 30px;
        --fs-44: 24px;
        --sp-section: 50px;
    }
    .hero-main { padding: 130px 0 60px; }
    .blog-card-body { padding: 18px; }
    .blog-card-title { font-size: var(--fs-18); }
    .pagination-btn {
        width: 38px;
        height: 38px;
        font-size: var(--fs-14);
    }
    .post-title { font-size: 22px; }
}


/* ============================================================
   25. PORTFOLIO-2 ADDITIONS
   (Star ratings, project gallery, tools grid, WhatsApp btn,
    benefits row, project banner, before/after, video card)
   ============================================================ */

/* ----- Star Rating ----- */
.star-rating {
    display: inline-flex;
    gap: 3px;
    margin-bottom: var(--sp-sm);
    color: #fbbf24;
}
.star-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ----- Portfolio Grid Cards (project listing page) ----- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}
.portfolio-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    transition: var(--t-base);
}
.portfolio-card.is-hidden { display: none; }
.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.portfolio-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--pill-bg);
}
.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.06); }
.portfolio-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--r-full);
    font-size: var(--fs-12);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.portfolio-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.portfolio-card-body h3 {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 10px;
    line-height: 1.4;
}
.portfolio-card-body p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--sp-sm);
    flex-grow: 1;
}
.portfolio-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--sp-md);
}
.portfolio-card-tags .tag {
    padding: 4px 10px;
    font-size: var(--fs-12);
}
.portfolio-card-actions {
    display: flex;
    gap: var(--sp-xs);
    flex-wrap: wrap;
    padding-top: var(--sp-md);
    border-top: var(--border-divider);
}
.portfolio-card-actions a {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-size: var(--fs-14);
    font-weight: 500;
    border-radius: var(--r-sm);
    transition: var(--t-fast);
}
.portfolio-card-actions .link-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #ffffff;
}
.portfolio-card-actions .link-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.portfolio-card-actions .link-secondary {
    background: var(--surface-input);
    border: var(--border);
    color: var(--text-on-surface);
}
.portfolio-card-actions .link-secondary:hover {
    border-color: rgba(20, 184, 166, 0.4);
    color: var(--accent);
}

/* ----- Project Banner / Single Portfolio ----- */
.project-banner {
    padding: 200px 0 60px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}
.project-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(19, 69, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.project-banner .container { position: relative; z-index: 2; }
.project-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-md);
    align-items: center;
    margin-bottom: var(--sp-md);
}
.project-banner-cat {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    font-size: var(--fs-12);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--r-full);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.project-banner h1 {
    font-size: var(--fs-44);
    font-weight: 700;
    color: var(--text-on-surface);
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-bottom: var(--sp-md);
}
.project-banner h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.project-banner-tagline {
    color: var(--text-muted);
    font-size: var(--fs-18);
    line-height: 1.7;
    max-width: 720px;
}
.project-banner-image {
    margin-top: var(--sp-xl);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: var(--border);
    box-shadow: var(--shadow-lg);
}
.project-banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----- Project Info Grid (overview / features / tech) ----- */
.project-info-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--sp-xxxl);
    align-items: start;
}
.project-overview h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-on-surface);
    margin: var(--sp-xl) 0 var(--sp-md);
}
.project-overview h2:first-child { margin-top: 0; }
.project-overview p {
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: var(--sp-md);
}
.project-meta-card {
    padding: var(--sp-xl);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
    position: sticky;
    top: 110px;
}
.project-meta-card h3 {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--text-on-surface);
    padding-bottom: var(--sp-sm);
    border-bottom: var(--border-divider);
    margin-bottom: var(--sp-md);
    position: relative;
}
.project-meta-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}
.project-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
}
.project-meta-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: var(--sp-sm);
    border-bottom: var(--border-divider);
}
.project-meta-list li:last-child { border-bottom: none; padding-bottom: 0; }
.project-meta-list .meta-label {
    font-size: var(--fs-12);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}
.project-meta-list .meta-value {
    font-size: var(--fs-16);
    font-weight: 500;
    color: var(--text-on-surface);
}
.project-meta-card .btn { width: 100%; }

/* ----- Project Features list ----- */
.project-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 var(--sp-md);
    padding: 0;
}
.project-features-list li {
    position: relative;
    padding: 12px 14px 12px 38px;
    background: var(--surface-input);
    border: var(--border);
    border-radius: var(--r-md);
    color: var(--text-body);
    line-height: 1.6;
    font-size: var(--fs-14);
}
.project-features-list li::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 16px;
    width: 14px;
    height: 14px;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: 50%;
}
.project-features-list li::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* ----- Project Gallery ----- */
.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}
.project-gallery-grid .gallery-item {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: var(--border);
    aspect-ratio: 4 / 3;
    background: var(--pill-bg);
    transition: var(--t-base);
}
.project-gallery-grid .gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-md);
}
.project-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- Before / After ----- */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
}
.before-after-card {
    padding: var(--sp-lg);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
}
.before-after-card .ba-tag {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: var(--sp-md);
    font-size: var(--fs-12);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--r-full);
}
.before-after-card.before .ba-tag {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.before-after-card.after .ba-tag {
    color: var(--accent);
    background: var(--pill-bg);
    border: var(--pill-border);
}
.before-after-card img {
    width: 100%;
    border-radius: var(--r-md);
    border: var(--border);
    margin-bottom: var(--sp-md);
}
.before-after-card h4 {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 8px;
}
.before-after-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ----- Tools / Technologies Grid ----- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
}
.tool-card {
    padding: var(--sp-lg);
    text-align: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: var(--t-base);
}
.tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--sp-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: var(--r-md);
}
.tool-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}
.tool-card h4 {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 4px;
}
.tool-card p {
    font-size: var(--fs-14);
    color: var(--text-faint);
    margin: 0;
}

/* ----- Mission / Bordered statement card ----- */
.mission-card {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--sp-xxl);
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(19, 69, 99, 0.08) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md), var(--shadow-inset);
}
.mission-card svg {
    width: 50px;
    height: 50px;
    color: var(--accent);
    margin-bottom: var(--sp-md);
}
.mission-card h2 {
    font-size: var(--fs-32);
    font-weight: 700;
    color: var(--text-on-surface);
    margin-bottom: var(--sp-md);
}
.mission-card h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mission-card p {
    color: var(--text-body);
    font-size: var(--fs-18);
    line-height: 1.85;
    margin: 0;
    font-style: italic;
}

/* ----- Benefits row (Hire-Me page) ----- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-md);
}
.benefit-card {
    padding: var(--sp-lg) var(--sp-md);
    text-align: center;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-lg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: var(--t-fast);
}
.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.3);
}
.benefit-card .benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--sp-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pill-bg);
    border: var(--pill-border);
    border-radius: 50%;
    color: var(--accent);
    font-size: 22px;
}
.benefit-card h4 {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 4px;
}
.benefit-card p {
    font-size: var(--fs-14);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ----- Trust Badges Row ----- */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-md);
    justify-content: center;
    align-items: center;
    margin-top: var(--sp-xl);
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-full);
    color: var(--text-on-surface);
    font-size: var(--fs-14);
    font-weight: 500;
}
.trust-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* ----- Video Testimonial Card ----- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
}
.video-card {
    padding: var(--sp-lg);
    background: var(--surface-card);
    border: var(--border);
    border-radius: var(--r-xl);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: var(--t-base);
}
.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: var(--shadow-lg);
}
.video-thumbnail {
    position: relative;
    height: 240px;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--sp-md);
    background: var(--pill-bg);
    cursor: pointer;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
    transition: transform var(--t-fast);
}
.video-thumbnail:hover .video-play { transform: translate(-50%, -50%) scale(1.1); }
.video-play svg { width: 26px; height: 26px; fill: currentColor; }
.video-card h4 {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--text-on-surface);
    margin-bottom: 4px;
}
.video-card p {
    color: var(--text-muted);
    font-size: var(--fs-14);
    margin: 0;
}

/* ----- WhatsApp Floating Button ----- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 800;
    transition: transform var(--t-fast);
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* ----- Resources / Generic Cards ----- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

/* ----- Process List (numbered) for home page ----- */
.process-step .process-step-number {
    margin-bottom: var(--sp-md);
}

/* ----- Responsive Additions ----- */
@media (max-width: 1200px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .project-info-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
    .project-meta-card { position: static; }
    .project-features-list { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-grid { grid-template-columns: 1fr; }
    .project-banner { padding: 150px 0 40px; }
    .project-banner h1 { font-size: 28px; }
    .project-gallery-grid { grid-template-columns: 1fr; }
    .before-after-grid { grid-template-columns: 1fr; }
    .mission-card { padding: var(--sp-lg); }
    .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .tools-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
}

