/* ============================================
   DEEPTHI G - PORTFOLIO WEBSITE
   Modern Design with Indian Warmth
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary Palette - Warm Saffron/Coral meets Modern Purple */
    --primary: #E8475F;
    --primary-light: #FF6B81;
    --primary-dark: #C73044;

    /* Accent - Deep Royal Purple */
    --accent: #6C3CE0;
    --accent-light: #8B5CF6;
    --accent-dark: #5221C8;

    /* Warm Gold - Indian Touch */
    --gold: #F0A500;
    --gold-light: #FFD166;

    /* Background Colors */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-tertiary: #1A1A24;
    --bg-card: rgba(26, 26, 36, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B80;

    /* Gradient */
    --gradient-main: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-warm: linear-gradient(135deg, var(--primary), var(--gold));
    --gradient-cool: linear-gradient(135deg, var(--accent), #3B82F6);
    --gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(108, 60, 224, 0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(232, 71, 95, 0.06) 0%, transparent 50%);

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 60, 224, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Space Grotesk', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

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

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

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

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

ul {
    list-style: none;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    display: none;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease-out;
    opacity: 0.5;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot, .cursor-ring {
        display: block;
    }
    body {
        cursor: none;
    }
    a, button, .service-card, .skill-pill {
        cursor: none;
    }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-d {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary);
}

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

.nav-cta {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    background: var(--gradient-main);
    color: white;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 60, 224, 0.3);
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    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);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 16px rgba(108, 60, 224, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(108, 60, 224, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(108, 60, 224, 0.08);
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--bg-primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

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

/* ---------- Section Styles ---------- */
.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(232, 71, 95, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(232, 71, 95, 0.15);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 60, 224, 0.12);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(232, 71, 95, 0.08);
    bottom: -50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(240, 165, 0, 0.06);
    top: 40%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: rgba(108, 60, 224, 0.08);
    top: 20%;
    right: 20%;
    animation: float 9s ease-in-out infinite reverse;
}

.floating-emoji {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.e1 { top: 15%; left: 8%; animation-delay: 0s; }
.e2 { top: 25%; right: 12%; animation-delay: 1.5s; }
.e3 { bottom: 30%; left: 15%; animation-delay: 3s; }
.e4 { bottom: 20%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-light);
    background: rgba(108, 60, 224, 0.08);
    border: 1px solid rgba(108, 60, 224, 0.2);
    padding: 10px 22px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    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.4); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title-sub {
    display: block;
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 8px;
}

.typing-text {
    color: var(--primary-light);
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    width: 400px;
    height: 400px;
    position: relative;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.12;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* Profile Picture */
.profile-pic-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.profile-pic-border {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-main);
    box-shadow: 0 8px 40px rgba(108, 60, 224, 0.35),
                0 0 80px rgba(108, 60, 224, 0.1);
    position: relative;
    z-index: 3;
}

.profile-pic-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.4;
    filter: blur(12px);
    z-index: -1;
}

.profile-lady-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.profile-pic-ring {
    position: absolute;
    inset: -20px;
    border: 2px dashed rgba(108, 60, 224, 0.25);
    border-radius: 50%;
    animation: spin 25s linear infinite;
    z-index: 1;
}

.profile-pic-ring.ring-2 {
    inset: -38px;
    border-color: rgba(232, 71, 95, 0.15);
    animation-duration: 35s;
    animation-direction: reverse;
}

.profile-pic-dots {
    position: absolute;
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(circle at 0% 0%, var(--primary) 2.5px, transparent 2.5px),
                radial-gradient(circle at 50% 0%, var(--accent) 2px, transparent 2px),
                radial-gradient(circle at 100% 0%, var(--gold) 2.5px, transparent 2.5px),
                radial-gradient(circle at 0% 100%, var(--primary-light) 2px, transparent 2px),
                radial-gradient(circle at 100% 100%, var(--accent-light) 2.5px, transparent 2.5px),
                radial-gradient(circle at 0% 50%, var(--gold-light) 1.5px, transparent 1.5px),
                radial-gradient(circle at 100% 50%, var(--primary) 1.5px, transparent 1.5px);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

/* Hide old profile circle */
.hero-profile {
    display: none;
}

.hero-image-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    z-index: 3;
    animation: float 5s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

.hero-image-card i {
    font-size: 1rem;
}

.card-1 {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}
.card-1 i { color: var(--primary); }

.card-2 {
    bottom: 15%;
    right: 0%;
    animation-delay: 1.2s;
}
.card-2 i { color: var(--accent); }

.card-3 {
    top: 10%;
    left: 5%;
    animation-delay: 2.4s;
}
.card-3 i { color: var(--gold); }

.card-4 {
    bottom: 5%;
    left: 10%;
    animation-delay: 3.6s;
}
.card-4 i { color: var(--primary-light); }

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

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---------- About Section ---------- */
.about {
    padding: var(--section-padding);
    background: var(--gradient-bg);
    position: relative;
}

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

.about-visual {
    position: relative;
    min-height: 400px;
}

.about-card-stack {
    position: relative;
    height: 400px;
}

.about-card {
    position: absolute;
    width: 280px;
    padding: 28px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-glow);
    border-color: rgba(108, 60, 224, 0.3);
}

.about-card-1 {
    top: 0;
    left: 0;
    transform: rotate(-3deg);
    z-index: 1;
}

.about-card-2 {
    top: 100px;
    left: 80px;
    transform: rotate(2deg);
    z-index: 2;
}

.about-card-3 {
    top: 200px;
    left: 20px;
    transform: rotate(-1deg);
    z-index: 3;
}

.about-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 16px;
}

.about-card h4 {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-content .about-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content strong {
    color: var(--text-primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 30px 0 36px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.highlight-item i {
    color: #4ADE80;
    font-size: 0.9rem;
}

/* ---------- Journey Timeline ---------- */
.journey {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent), var(--gold));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding: 0 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 2;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--gradient-main);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 0 6px rgba(108, 60, 224, 0.3);
}

.timeline-content {
    padding: 28px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: rgba(108, 60, 224, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Services Section ---------- */
.services {
    padding: var(--section-padding);
    position: relative;
}

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

.service-card {
    position: relative;
    padding: 36px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 60, 224, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    border-color: rgba(108, 60, 224, 0.3);
    background: linear-gradient(135deg, rgba(108, 60, 224, 0.08), rgba(232, 71, 95, 0.05));
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(108, 60, 224, 0.1);
    border: 1px solid rgba(108, 60, 224, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tags span {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

/* ---------- Skills Section ---------- */
.skills {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.skill-category {
    padding: 36px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: rgba(108, 60, 224, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.skill-category-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.skill-category h3 {
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-weight: 600;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.skill-pill:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(108, 60, 224, 0.06);
    transform: translateY(-2px);
}

.skill-pill i {
    color: var(--accent-light);
    font-size: 0.85rem;
}

/* ---------- Why Me Section ---------- */
.why-me {
    padding: var(--section-padding);
}

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

.why-card {
    padding: 36px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 60, 224, 0.3);
    box-shadow: var(--shadow-glow);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 40px 0 80px;
}

.cta-card {
    position: relative;
    padding: 80px 60px;
    background: var(--gradient-main);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: var(--section-padding);
    background: var(--gradient-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(108, 60, 224, 0.3);
    transform: translateX(8px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 60, 224, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-light);
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-socials {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.contact-socials h4 {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-main);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(12px);
}

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

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(108, 60, 224, 0.04);
    box-shadow: 0 0 0 3px rgba(108, 60, 224, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B6B80' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

/* ---------- Footer ---------- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links-group h4 {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-main);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 4px 16px rgba(108, 60, 224, 0.3);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(108, 60, 224, 0.4);
}

/* ---------- Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .about-visual {
        min-height: auto;
    }

    .about-card-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .about-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 320px;
    }

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

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

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 40px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-dot {
        left: 8px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        z-index: 998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        z-index: 999;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-title-sub {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .cta-card {
        padding: 50px 30px;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }

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

    .stat-divider {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .btn {
        justify-content: center;
    }
}

/* ---------- Form Success Toast ---------- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 16px 32px;
    background: #4ADE80;
    color: #0A0A0F;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(74, 222, 128, 0.3);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
