/*
Theme Name: Quỳnh Trang Fitness
Theme URI: https://phamthiquynhtrang.com
Author: Phạm Thị Quỳnh Trang
Author URI: https://phamthiquynhtrang.com
Description: Dark portfolio theme phong cách thể thao - Pink accent, neon glow, 3D effects. v1.7 — Differentiate aria-label between hero and contact social links (fix "duplicate links same purpose" Lighthouse audit).
Version: 1.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quynhtrang
Tags: dark, portfolio, one-page, fitness, custom-colors, custom-menu, accessibility-ready
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ===== v1.4 Accessibility — Heading classes (kế thừa style từ h4 cũ) ===== */
.blog-title{font-size:1rem;color:var(--text-white);margin:8px 0 10px;font-weight:600;line-height:1.4}
.blog-title a{color:inherit;text-decoration:none}
.blog-title a:hover{color:var(--gold)}
.video-title{font-family:var(--font-display);font-size:1.05rem;font-weight:600;color:var(--text-white);margin-bottom:8px;line-height:1.4;transition:color var(--transition)}
.video-card:hover .video-title{color:var(--btn-color)}
.timeline-title{color:var(--text-white);font-size:1rem;margin-bottom:4px;font-weight:600}
.course-title{color:var(--text-white);font-size:0.95rem;margin:8px 0 10px;font-weight:600}
.gift-cta-title{font-family:var(--font-display);font-size:1.6rem;color:var(--btn-color);font-weight:700;margin-bottom:6px;letter-spacing:2px;text-shadow:0 0 10px rgba(254,197,68,0.4),0 0 30px rgba(254,197,68,0.15)}
@media (max-width:768px){.gift-cta-title{font-size:1.3rem}}

/* ===== v1.5 Performance — Lazy render below-fold sections ===== */
/* content-visibility:auto skip rendering off-screen sections — saves layout/paint time */
.gift-cta,.about,.blog,.videos,.skills-resume,.courses,.services,.reviews,.contact{
    content-visibility:auto;
    contain-intrinsic-size:auto 800px;
}
/* Hero section (above-fold) — KHÔNG dùng content-visibility để render ngay */
.hero{content-visibility:visible}


/* =============================================
   PHẠM THỊ QUỲNH TRANG - FITNESS PORTFOLIO
   Dark Theme + Pink Accent
   ============================================= */

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

:root {
    --gold: #ff00bf;
    --gold-light: #ff4dd2;
    --gold-dark: #cc0099;
    --gold-glow: rgba(255, 0, 191, 0.3);
    --btn-color: #ff00bf;
    --btn-hover: #cc0099;
    --neon-glow: rgba(255, 0, 191, 0.35);
    --neon-soft: rgba(255, 0, 191, 0.12);
    --bg-body: #111111;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --bg-section-alt: #141414;
    --text-white: #ffffff;
    --text-light: #d4d4d4;
    --text-muted: #888888;
    --text-dark: #555555;
    --border-color: #2a2a2a;
    --font-main: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 10px 40px rgba(0,0,0,0.6);
    --shadow-gold: 0 5px 25px rgba(255, 0, 191, 0.3);
    --shadow-neon: 0 0 20px rgba(255, 0, 191, 0.2), 0 0 60px rgba(255, 0, 191, 0.08);
    --shadow-3d: 0 20px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4), 0 1px 3px rgba(255,255,255,0.04) inset;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a:hover { color: var(--gold-light); }

.gold { color: var(--gold); }

.section {
    padding: 70px 0;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--btn-color);
    color: var(--bg-dark);
    border-color: var(--btn-color);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--btn-hover);
    color: var(--bg-dark);
    border-color: var(--btn-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 191, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm {
    padding: 8px 18px;
    font-size: 0.78rem;
}

/* ---- Section Header ---- */
.section-tag {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 45px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--text-muted);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.section-cta .btn {
    font-size: 0.95rem;
    padding: 14px 36px;
}

/* Small pill button (Xem Thêm) */
.btn-sm {
    font-size: 0.85rem !important;
    padding: 10px 24px !important;
}

.btn-pill {
    border-radius: 50px !important;
}

/* ======================================================
   HEADER
   ====================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 6px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--btn-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 700;
    white-space: nowrap;
}

.header-nav {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.header-nav > ul,
.header-nav > div > ul {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.header-nav ul li a {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 7px 6px;
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}

.header-nav ul li a:hover,
.header-nav ul li a.active,
.header-nav ul li.current-menu-item > a,
.header-nav ul li.current_page_item > a {
    color: var(--gold);
}

/* WordPress Sub-menu (dropdown) */
.header-nav ul li {
    position: relative;
}

.header-nav ul li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    box-shadow: var(--shadow);
    z-index: 100;
    list-style: none;
    flex-direction: column;
    gap: 0;
}

.header-nav ul li:hover > .sub-menu {
    display: flex;
}

.header-nav ul li .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 0;
}

.header-nav ul li .sub-menu li a:hover {
    background: rgba(255, 0, 191, 0.06);
}

/* Dropdown indicator */
.header-nav ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 2px;
    font-size: 0.45rem;
    vertical-align: middle;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 0.6rem;
    font-weight: 500;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 6px;
    transition: var(--transition);
}

.header-phone i { color: var(--gold); }

.header-phone:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ======================================================
   HERO SECTION
   ====================================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(255, 0, 191, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(10, 10, 10, 0.8) 0%, transparent 50%),
        linear-gradient(160deg, #0a0a0a 0%, #121212 40%, #161616 70%, #111111 100%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 60px;
    position: relative;
    z-index: 2;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.3s;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.5s;
}

.hero-title {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.7s;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 440px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 0.9s;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 1.1s;
}

.hero-social {
    display: flex;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards 1.3s;
}

.hero-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.hero-social a:hover {
    background: var(--btn-color);
    border-color: var(--btn-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 0, 191, 0.3);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards 0.6s;
}

.hero-img-wrapper {
    position: relative;
    width: 380px;
    height: 460px;
}

.hero-img-photo {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: linear-gradient(135deg, #181818 0%, #1a1a1a 100%);
}

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

.hero-img-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    pointer-events: none;
}

.hero-img-decor {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: 1;
}

.hero-img-dots {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--gold) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.3;
    z-index: 1;
}

/* Floating Cards */
.hero-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid rgba(255, 0, 191, 0.2);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4), 0 0 25px rgba(255, 0, 191, 0.1);
    animation: floatCard 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.float-card-2 {
    bottom: 40px;
    left: -10px;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff00bf;
    font-size: 1rem;
    border: 1px solid rgba(255, 0, 191, 0.3);
    box-shadow: 0 0 12px rgba(255, 0, 191, 0.15);
}

.float-info strong {
    display: block;
    color: var(--text-white);
    font-size: 1.1rem;
}

.float-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-lr;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gold);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 110%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ======================================================
   GIFT CTA SECTION — Neon 3D Border
   ====================================================== */
.gift-cta {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.gift-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    z-index: 0;
}

.gift-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
    padding: 30px 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 0, 191, 0.04) 0%, rgba(10, 10, 10, 0.95) 50%, rgba(255, 0, 191, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: neonBorderGlow 4s ease-in-out infinite;
}

@keyframes neonBorderGlow {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    50% {
        border-color: rgba(255, 0, 191, 0.2);
        box-shadow: 0 0 15px rgba(255, 0, 191, 0.06), 0 4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255, 0, 191, 0.1);
    }
}

.gift-cta-inner::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 16px;
    background: conic-gradient(from var(--neon-angle, 0deg), transparent 0%, rgba(255,0,191,0.5) 3%, transparent 6%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    animation: neonTrail 4s linear infinite;
    pointer-events: none;
}

@keyframes neonTrail { 0% { --neon-angle: 0deg; } 100% { --neon-angle: 360deg; } }
@property --neon-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.gift-cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.gift-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff00bf;
    flex-shrink: 0;
    border: 1px solid rgba(255, 0, 191, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: giftPulse 2s ease-in-out infinite;
}

@keyframes giftPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 191, 0.3); }
    50% { box-shadow: 0 0 0 14px rgba(255, 0, 191, 0); }
}

.gift-cta-text {
    text-align: left;
    min-width: 0;
}

.gift-cta-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--btn-color);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,0,191,0.4), 0 0 30px rgba(255,0,191,0.15);
}

.gift-cta-text p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.5;
}

.gift-cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1rem;
    padding: 16px 36px;
    background: #ffffff;
    color: var(--btn-color);
    border-color: rgba(255, 0, 191, 0.4);
    animation: giftBtnGlow 2.5s ease-in-out infinite;
}

.gift-cta-btn:hover {
    background: #fff0fa;
    color: var(--btn-hover);
    border-color: var(--btn-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 191, 0.3);
}

@keyframes giftBtnGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 0, 191, 0.2); }
    50% { box-shadow: 0 4px 30px rgba(255, 0, 191, 0.5), 0 0 60px rgba(255, 0, 191, 0.15); }
}

.gift-cta-btn .fa-gift {
    margin-right: 6px;
}

@media (max-width: 768px) {
    .gift-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 24px;
    }
    .gift-cta-content {
        flex-direction: column;
        gap: 12px;
    }
    .gift-cta-text {
        text-align: center;
    }
    .gift-cta-text h3 {
        font-size: 1.3rem;
    }
}

/* ======================================================
   FLOATING CONTACT BUTTONS (Zalo + Messenger)
   ====================================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.float-zalo {
    background: #0068ff;
}

.float-zalo:hover {
    background: #0055d4;
    box-shadow: 0 6px 30px rgba(0, 104, 255, 0.4);
}

.float-zalo img {
    filter: brightness(0) invert(1);
}

.float-messenger {
    background: linear-gradient(135deg, #00b2ff, #006aff, #a033ff);
}

.float-messenger:hover {
    box-shadow: 0 6px 30px rgba(0, 106, 255, 0.4);
}

.float-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: floatPulse 2s ease-in-out infinite;
}

.float-zalo::after { border-color: #0068ff; }
.float-messenger::after { border-color: #006aff; }

@keyframes floatPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        left: 16px;
        gap: 10px;
    }
    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }
}

/* ======================================================
   ABOUT SECTION
   ====================================================== */
.about {
    background: #ffffff;
}

.about .section-tag { color: var(--btn-color); }
.about .section-tag::before { background: var(--btn-color); }
.about .section-title { color: #1a1a1a; }
.about .about-role { color: #555; }
.about .about-text { color: #666; }
.about .info-label { color: #888; }
.about .info-value { color: #1a1a1a; }
.about .about-info-item { border-bottom-color: #e8e8e8; }
.about .about-img-frame { border-color: var(--gold); opacity: 0.15; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.about-img-photo {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #181818, #1a1a1a);
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
}

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

.about-img-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    opacity: 0.2;
    z-index: 1;
}

.about-role {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.9;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.about-info-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    min-width: 90px;
}

.info-value {
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ======================================================
   SERVICES
   ====================================================== */
.services {
    background: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0) translateZ(0);
    box-shadow: var(--shadow-3d);
}

.service-card:hover {
    border-color: var(--btn-color);
    transform: perspective(1000px) translateY(-12px) translateZ(30px);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        0 10px 30px rgba(0,0,0,0.4),
        0 0 25px rgba(255, 0, 191, 0.2),
        0 0 60px rgba(255, 0, 191, 0.08),
        0 1px 2px rgba(255,255,255,0.06) inset;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, transparent 40%, rgba(255, 0, 191, 0.08) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 0, 191, 0.04);
    font-family: var(--font-display);
    line-height: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ff00bf;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 0, 191, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon {
    background: var(--btn-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 0, 191, 0.3), 0 0 40px rgba(255, 0, 191, 0.1);
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ======================================================
   SKILLS & RESUME
   ====================================================== */
.skills-resume {
    background: var(--bg-section-alt);
}

.skills-resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.skills-list {
    margin-top: 30px;
}

.skill-item {
    margin-bottom: 24px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
}

.skill-percent {
    font-size: 0.88rem;
    color: var(--text-white);
    font-weight: 600;
}

.skill-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff00bf, #ff66d4, #ffffff);
    border-radius: 10px;
    width: 0;
    transition: width 1.2s ease;
    box-shadow: none;
}

/* Timeline */
.timeline {
    margin-top: 30px;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 3px solid var(--gold);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.timeline-content:hover {
    border-color: rgba(255, 0, 191, 0.25);
    transform: translateY(-4px) translateX(4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 15px rgba(255, 0, 191, 0.08);
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 0, 191, 0.06);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
    border: 1.5px solid rgba(255, 0, 191, 0.4);
}

.timeline-content h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.timeline-org {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-content p:last-child {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ======================================================
   COURSES / PORTFOLIO
   ====================================================== */
.courses {
    background: #ffffff;
}

.courses .section-tag {
    color: #999;
}
.courses .section-tag::before {
    background: #999;
}
.courses .section-title {
    color: #1a1a1a;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

.course-card:hover {
    transform: perspective(800px) translateY(-14px) rotateX(2deg) translateZ(20px);
    border-color: #ff00bf;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.18),
        0 10px 25px rgba(0,0,0,0.1),
        0 0 25px rgba(255, 0, 191, 0.2),
        0 0 60px rgba(255, 0, 191, 0.08);
}

.course-thumb {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover .course-thumb i {
    transform: scale(1.15);
    color: rgba(255,255,255,0.35);
}

.course-thumb i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.15));
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--btn-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.1rem;
    transform: scale(0.8);
    transition: var(--transition);
}

.course-card:hover .course-link {
    transform: scale(1);
}

.course-info {
    padding: 20px;
}

.course-cat {
    font-size: 0.72rem;
    color: #ff00bf;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.course-info h4 {
    color: #1a1a1a;
    font-size: 0.95rem;
    margin: 8px 0 10px;
    font-weight: 600;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #666666;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-meta .fa-star { color: var(--gold); }

.course-link-text {
    display: block;
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--btn-color);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-link-text i {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.course-card:hover .course-link-text {
    opacity: 1;
    transform: translateY(0);
}

.course-card:hover .course-link-text i {
    transform: translateX(4px);
}

/* ======================================================
   BLOG
   ====================================================== */
.blog {
    background: var(--bg-section-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: perspective(800px) translateY(-14px) translateZ(25px);
    border-color: rgba(255, 0, 191, 0.35);
    box-shadow:
        0 35px 80px rgba(0,0,0,0.6),
        0 12px 30px rgba(0,0,0,0.4),
        0 0 25px rgba(255, 0, 191, 0.15),
        0 0 60px rgba(255, 0, 191, 0.06);
}

.blog-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.blog-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(255,0,191,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-thumb-placeholder i {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.4;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.08);
}

.blog-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 0, 191, 0.2);
}

.blog-date-badge .day {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff00bf;
}

.blog-date-badge .month {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.blog-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-body p {
    flex: 1;
}

.blog-meta a {
    color: var(--gold);
    text-decoration: none;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-body h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-read-more {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 48px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    background: var(--bg-card);
}

.blog-pagination .page-numbers:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.blog-pagination .page-numbers.current {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-dark);
    font-weight: 700;
}

.blog-pagination .prev,
.blog-pagination .next {
    gap: 6px;
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.blog-empty i {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 20px;
    display: block;
}

/* Archive Description */
.archive-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 8px;
    line-height: 1.6;
}

/* ======================================================
   YOUTUBE VIDEOS
   ====================================================== */
.videos {
    background: var(--bg-section-alt);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 12px auto 0;
    text-align: center;
    line-height: 1.6;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 10px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);
}

.video-card:hover {
    transform: perspective(800px) translateY(-10px) translateZ(15px);
    border-color: rgba(255, 0, 191, 0.3);
    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        0 0 15px rgba(255, 0, 191, 0.1),
        0 0 45px rgba(255, 0, 191, 0.04);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--bg-dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-lazy img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 0, 191, 0.9);
    color: var(--bg-dark);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-play-btn:hover {
    background: var(--gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    margin-left: 3px;
}

.video-info {
    padding: 20px 24px;
}

.video-info h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color var(--transition);
}

.video-card:hover .video-info h4 {
    color: var(--btn-color);
}

.video-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.videos-cta {
    text-align: center;
    margin-top: 40px;
}

.videos-cta .btn i:first-child {
    margin-right: 8px;
    font-size: 1.1rem;
}

.videos-cta .btn .fa-external-link-alt {
    margin-left: 8px;
    font-size: 0.8rem;
}

/* ======================================================
   REVIEWS
   ====================================================== */
.reviews {
    background: #f8f8f8;
}

.reviews .section-tag { color: #999; }
.reviews .section-tag::before { background: #999; }
.reviews .section-title { color: #1a1a1a; }

.reviews .review-card {
    background: #ffffff;
    border-color: #e8e8e8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.reviews .review-card:hover {
    border-color: rgba(255,0,191,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 15px rgba(255,0,191,0.06);
}
.reviews .review-quote { color: rgba(255,0,191,0.3); }
.reviews .review-text { color: #555; }
.reviews .review-info strong { color: #1a1a1a; }
.reviews .review-info span { color: #888; }

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

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-3d);
}

.review-card:hover {
    border-color: rgba(255, 0, 191, 0.3);
    transform: perspective(800px) translateY(-12px) translateZ(25px);
    box-shadow:
        0 30px 70px rgba(0,0,0,0.55),
        0 10px 25px rgba(0,0,0,0.35),
        0 0 20px rgba(255, 0, 191, 0.12);
}

.review-quote {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.review-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.review-info strong {
    display: block;
    color: var(--text-white);
    font-size: 0.9rem;
}

.review-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ======================================================
   CONTACT
   ====================================================== */
.contact {
    background: var(--bg-section-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}

.contact-form-wrap h3,
.contact-info-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--btn-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 191, 0.08), 0 0 15px rgba(255, 0, 191, 0.06);
}

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

.contact-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--text-white);
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.contact-info-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-social {
    display: flex;
    gap: 10px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--btn-color);
    border-color: var(--btn-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(255, 0, 191, 0.25);
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.footer-logo span {
    font-family: var(--font-display);
    color: var(--text-white);
    font-size: 1.1rem;
}

.footer-inner > p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
    transition: var(--transition);
}

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

/* ======================================================
   BACK TO TOP
   ====================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--btn-color);
    border: none;
    color: var(--bg-dark);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 191, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 191, 0.4);
}

/* ======================================================
   SCROLL ANIMATIONS
   ====================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ======================================================
   PAGE TEMPLATE (page.php)
   ====================================================== */
.page-main {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 70vh;
    background: var(--bg-dark);
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

.page-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.page-content {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 48px 0 20px;
}

.page-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 36px 0 16px;
}

.page-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 28px 0 12px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.page-content a:hover {
    color: var(--gold-light);
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-content ul,
.page-content ol {
    padding-left: 28px;
    margin-bottom: 20px;
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 8px;
}

.page-content ul li::marker {
    color: var(--gold);
}

.page-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(255, 0, 191, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.page-content table th,
.page-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.page-content table th {
    background: rgba(255, 0, 191, 0.1);
    color: var(--gold);
    font-weight: 600;
}

.page-content pre,
.page-content code {
    background: var(--bg-card);
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.page-content pre {
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.page-content code {
    padding: 2px 8px;
}

.page-content iframe,
.page-content video {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.page-links {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.page-links a {
    color: var(--gold);
    margin: 0 8px;
}

/* Post Meta (single.php) */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    color: var(--gold);
    font-size: 0.85rem;
}

.post-meta a {
    color: var(--gold);
    text-decoration: none;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-tags i {
    color: var(--gold);
}

.post-tags a {
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.post-tags a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Post Navigation */
.post-navigation {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-nav-link {
    display: block;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.post-nav-link:hover {
    border-color: var(--gold);
    background: rgba(255, 0, 191, 0.05);
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-nav-title {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-image { order: 1; justify-content: center; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-img-wrapper { width: 300px; height: 360px; }
    .float-card-1 { right: -40px; }
    .float-card-2 { left: -40px; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-img-wrapper { max-width: 300px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .skills-resume-grid { grid-template-columns: 1fr; gap: 50px; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-nav,
    .header-phone { display: none; }

    .menu-toggle { display: flex; }

    .header-nav.active {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .header-nav.active ul {
        flex-direction: column;
        gap: 4px;
    }

    .header-nav.active ul li a {
        padding: 12px 16px;
        display: block;
    }

    /* Mobile sub-menu */
    .header-nav.active ul li .sub-menu {
        display: none;
        position: static;
        min-width: auto;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .header-nav.active ul li:hover > .sub-menu,
    .header-nav.active ul li.menu-item-has-children > .sub-menu {
        display: flex;
    }

    /* Page template responsive */
    .page-main { padding-top: 80px; padding-bottom: 60px; }
    .page-title { font-size: 1.8rem; }
    .page-content h2 { font-size: 1.4rem; }
    .page-content h3 { font-size: 1.2rem; }
    .page-content { font-size: 1rem; }

    .services-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .hero-scroll-indicator { display: none; }
    .hero-float-card { display: none; }

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

@media (max-width: 480px) {
    .hero-name { font-size: 2.4rem; }
    .hero-img-wrapper { width: 250px; height: 300px; }

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

    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }
}

/* =============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================= */

/* Content-visibility: auto for below-fold sections - skip rendering until visible */
.about,
.skills-resume,
.courses,
.blog,
.videos,
.services,
.reviews,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* Reduce layout thrashing - explicit aspect ratios */
.hero-img-photo img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about-img-photo img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.blog-thumb img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.review-avatar img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.video-lazy img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Reduce animation overhead on mobile */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   Ghost Koenig editor card support (ported theme addition)
   ============================================================ */
.page-content .kg-card { margin: 1.8rem 0; }
.page-content img,
.page-content .kg-image { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.page-content figure { margin: 1.8rem 0; }
.page-content figcaption { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 10px; }

/* Wide cards extend slightly beyond the text column */
.kg-width-wide { position: relative; margin-left: -40px; margin-right: -40px; }
.kg-width-wide img { width: 100%; }

/* Full-width cards break out to the full viewport */
.kg-width-full { position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.kg-width-full img { width: 100%; border-radius: 0; }

@media (max-width: 900px) {
    .kg-width-wide { margin-left: 0; margin-right: 0; }
}

/* Koenig bookmark / button / callout basics */
.kg-bookmark-card a.kg-bookmark-container { display: flex; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); text-decoration: none; overflow: hidden; }
.kg-bookmark-content { padding: 18px; }
.kg-bookmark-title { color: var(--text-white); font-weight: 600; }
.kg-bookmark-description { color: var(--text-muted); }
.kg-button-card a { background: var(--btn-color); color: #fff; padding: 12px 26px; border-radius: var(--radius-sm); text-decoration: none; display: inline-block; }
.kg-callout-card { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--neon-soft); border: 1px solid var(--border-color); }

/* Ghost native pagination (inside .blog-pagination) */
.blog-pagination .pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.blog-pagination .pagination a { color: var(--gold); text-decoration: none; padding: 8px 18px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); transition: var(--transition); }
.blog-pagination .pagination a:hover { background: var(--neon-soft); }
.blog-pagination .pagination .page-number { color: var(--text-muted); }
