/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Screenshot Accurate */
    --bg-primary: #0d0d12;
    --bg-secondary: #10101a;
    --bg-card: #13131f;
    --bg-card-alt: #16162a;
    --bg-active: #1e1b4b;
    --accent-purple: #7c3aed;
    --accent-purple-light: #a855f7;
    --text-primary: #ffffff;
    --text-secondary: #8b8b9a;
    --text-muted: #6b6b80;
    --border-purple: rgba(124, 58, 237, 0.15);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --max-width: 1400px;
    --section-padding: 60px;
    --card-padding: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #7c3aed;
    text-decoration: none;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 1440px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* ===================================
   LOADING SCREEN
   =================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-text {
    display: flex;
    gap: 8px;
}

.loading-text span {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    animation: bounce 1.2s ease-in-out infinite;
}

.loading-text span:nth-child(1) {
    animation-delay: 0s;
}

.loading-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.loading-text span:nth-child(3) {
    animation-delay: 0.2s;
}

.loading-text span:nth-child(4) {
    animation-delay: 0.3s;
}

.loading-text span:nth-child(5) {
    animation-delay: 0.4s;
}

.loading-text span:nth-child(6) {
    animation-delay: 0.5s;
}

.loading-text span:nth-child(7) {
    animation-delay: 0.6s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1440px) {
    .nav-container {
        padding: 0 60px;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 40px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.logo-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-purple);
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-purple);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.nav-cta {
    background: var(--accent-purple);
    color: var(--text-primary);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-cta:hover::before {
    width: 200px;
    height: 200px;
}

.nav-cta:hover {
    background: var(--accent-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse at top, rgba(88, 28, 135, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hi-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 320px;
    font-weight: 900;
    color: transparent;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    letter-spacing: 20px;
    line-height: 1;
    -webkit-text-stroke: 2px #7c3aed;
    text-stroke: 2px #7c3aed;
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
        text-stroke: 2px rgba(255, 255, 255, 0.1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.03);
        -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
        text-stroke: 2px rgba(255, 255, 255, 0.15);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
    }
}

.hero-left {
    animation: fadeInUp 0.8s ease;
}

.hero-intro {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 540px;
}

.cta-button-outline {
    background: transparent;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-purple);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button-outline:hover::before {
    left: 0;
}

.cta-button-outline:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.hero-right {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #a855f7, #7c3aed, #6366f1);
    border-radius: 24px;
    opacity: 0.5;
    filter: blur(20px);
    z-index: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

.hero-image-card:hover .card-glow {
    opacity: 0.8;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(168, 85, 247, 0.08));
    border-radius: 20px;
    padding: 3px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-card:hover .image-wrapper {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.1));
    border-color: rgba(124, 58, 237, 0.5);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-image-card:hover .image-wrapper::before {
    opacity: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-card:hover .image-wrapper img {
    transform: scale(1.02);
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-number[data-target="7"]::after {
    content: '';
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   SECTION TITLES
   =================================== */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.section-title .accent {
    color: var(--accent-purple-light);
}

.section-title-center {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--section-padding) 0;
}

.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 50px;
}

.service-item {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    border-color: transparent;
    transform: translateX(4px);
}

.service-item.active {
    background: var(--bg-active);
    border-color: var(--accent-purple);
    padding: 32px 24px;
}

.service-item.active::before {
    opacity: 1;
}

.service-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-purple);
    min-width: 40px;
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.service-item.active .service-description {
    display: block;
}

.service-arrow {
    font-size: 20px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.service-item.active .service-arrow {
    transform: rotate(90deg);
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    padding: var(--section-padding) 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    display: block;
    text-decoration: none;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
}

.portfolio-image {
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
}

.portfolio-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-info {
    padding: 20px;
}

.portfolio-category {
    font-size: 11px;
    color: var(--accent-purple);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 8px 0;
}

.portfolio-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.portfolio-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.2);
    color: var(--accent-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

/* ===================================
   RESUME SECTION
   =================================== */
.resume {
    padding: var(--section-padding) 0;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.resume-column .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.resume-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.resume-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.resume-card:hover::before {
    opacity: 1;
}

.resume-card:hover {
    border-color: transparent;
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

.resume-date {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.resume-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.resume-company {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===================================
   SKILLS SECTION
   =================================== */
.skills {
    padding: var(--section-padding) 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.skills-grid .skill-item:nth-child(6) {
    grid-column: 3 / 4;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover::before,
.skill-item.active::before {
    opacity: 1;
}

.skill-item:hover,
.skill-item.active {
    background: var(--accent-purple);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

.skill-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item:hover .skill-icon img,
.skill-item.active .skill-icon img {
    filter: grayscale(0%) brightness(1);
}

.skill-percentage {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.skill-name {
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-item:hover .skill-name,
.skill-item.active .skill-name {
    color: var(--text-primary);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: var(--section-padding) 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-track .testimonial-card {
    flex-shrink: 0;
    box-sizing: border-box;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.testimonials-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.3);
    background: transparent;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.testimonials-arrow:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.2);
}

.testimonial-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 24px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(124, 58, 237, 0.2);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quote-icon-svg {
    color: var(--accent-purple);
    width: 24px;
    height: 24px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-purple);
    width: 24px;
    border-radius: 4px;
}

/* ===================================
   BLOG SECTION
   =================================== */
.blog {
    padding: var(--section-padding) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}

.blog-card.featured {
    grid-row: span 1;
}

.blog-image {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-secondary);
}

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

.blog-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-date,
.blog-comments {
    font-size: 11px;
    color: var(--text-muted);
}

.blog-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-link {
    font-size: 12px;
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-purple-light);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    padding: var(--section-padding) 0;
}

.faq-label {
    text-align: center;
    display: inline-block;
    width: 100%;
    font-size: 12px;
    color: var(--accent-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid var(--accent-purple);
    border-radius: 20px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ── Split layout FAQ (matches contact page) ── */
.contact-faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.contact-faq-left {
    position: sticky;
    top: 100px;
}

.contact-faq-left .faq-label {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.contact-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.contact-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-purple);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.contact-faq-item.open::before {
    transform: scaleY(1);
}

.contact-faq-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 20px 16px 20px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}

.contact-faq-btn:hover {
    color: var(--accent-purple-light);
}

.contact-faq-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    flex-shrink: 0;
    line-height: 1;
    font-weight: 300;
    transition: transform 0.3s;
}

.contact-faq-item.open .contact-faq-icon {
    transform: rotate(45deg);
}

.contact-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 20px;
}

.contact-faq-item.open .contact-faq-body {
    max-height: 400px;
    padding: 0 20px 20px;
}

.contact-faq-body p {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--section-padding) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

.contact-form select,
.contact-form input,
.contact-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.contact-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 20px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
    border-radius: 100px 100px 0px 0px;
    margin-top: 30px;
}

.footer-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #1e1040 0%,
            #4f2d8a 20%,
            #7c3aed 40%,
            #a855f7 60%,
            #c026d3 80%,
            #ec4899 100%);
    z-index: 0;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.footer-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: floatSlow 10s ease-in-out infinite;
}

.footer-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatSlow 12s ease-in-out infinite reverse;
}

.footer-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatSlow 15s ease-in-out infinite;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, -50px);
    }
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

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

.footer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.footer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.footer-bio {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-right {
        order: 1;
    }

    .hero-left {
        order: 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hi-text {
        font-size: 240px;
    }

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

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .skills-grid .skill-item:nth-child(6) {
        grid-column: 2 / 3;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-faq-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-faq-left {
        position: static;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .social-icons {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(13, 13, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 8px;
        z-index: 999;
        border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        transform: translateY(-20px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        font-size: 16px;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }

    .nav-right {
        display: none;
    }

    .nav-right .social-icons {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .hero-title {
        font-size: 36px;
    }

    .hero-intro {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hi-text {
        font-size: 140px;
        letter-spacing: 10px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-left {
        order: 0;
    }

    .hero-right {
        order: 1;
    }

    .hero-image-card {
        max-width: 100%;
        transform: perspective(1000px) rotateY(-5deg) rotateX(1deg);
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 1 1 45%;
    }

    .section-title {
        font-size: 26px;
    }

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

    .skills-grid .skill-item:nth-child(6) {
        grid-column: auto;
    }

    .footer-brand {
        max-width: 100%;
    }

    :root {
        --section-padding: 60px;
    }
}