/* 
   Premium Creative CV Stylesheet - Light Theme 
   Designer: Antigravity
*/

:root {
    /* Colors - Light Theme with Vibrant Creative Accents */
    --bg-main: #f8fafc;
    --bg-alt: #ffffff;
    --bg-card: #ffffff;
    --text-main: #334155;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --primary: #4f46e5;
    /* Indigo */
    --primary-glow: rgba(79, 70, 229, 0.25);
    --secondary: #0ea5e9;
    /* Sky Blue */
    --accent: #f43f5e;
    /* Rose */
    --border: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 10px 25px -5px var(--primary-glow);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-heading);
}

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

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

ul {
    list-style: none;
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
    position: relative;
}

/* Creative pattern overlay for alt backgrounds */
.bg-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.bg-alt>.container {
    position: relative;
    z-index: 1;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Typography Tools */
.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-heading h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    box-shadow: var(--shadow-colored);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-heading);
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Floating Pill Navigation */
/* ═══════════════════════════════════════════
   PREMIUM FLOATING HEADER
   ═══════════════════════════════════════════ */
.pill-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 92%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 60px;
    padding: 10px 10px 10px 24px;
    box-shadow:
        0 8px 32px rgba(79, 70, 229, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
}

.pill-header.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 16px 48px rgba(79, 70, 229, 0.13),
        0 4px 16px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    padding: 8px 8px 8px 24px;
}

.pill-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.pill-logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Nav Links */
.pill-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pill-links li a {
    display: flex;
    align-items: center;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 7px 14px;
    border-radius: 30px;
    transition: all .25s ease;
    position: relative;
    text-decoration: none;
    letter-spacing: .2px;
}

.pill-links li a:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.07);
}

.pill-links li a.active {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
    font-weight: 700;
}

/* Active dot indicator */
.pill-links li a.active::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #4f46e5;
    border-radius: 50%;
}

/* CTA Button */
.pill-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 10px 22px;
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    color: white !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 50px;
    white-space: nowrap;
    transition: all .3s ease;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
    text-decoration: none;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.pill-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

/* Hamburger (mobile) */
.pill-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4f46e5;
    font-size: 1.05rem;
    transition: all .25s;
    flex-shrink: 0;
}

.pill-hamburger:hover {
    background: rgba(79, 70, 229, 0.15);
}

/* ── Mobile Full-Screen Drawer ── */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s;
}

.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    max-width: 85vw;
    background: white;
    z-index: 999;
    padding: 2rem 1.5rem;
    box-shadow: -8px 0 40px rgba(0, 0, 0, .15);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.drawer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: .95rem;
    transition: background .2s;
}

.drawer-close:hover {
    background: #e2e8f0;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: all .2s;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(79, 70, 229, .08);
    color: #4f46e5;
}

.drawer-nav a i {
    width: 20px;
    text-align: center;
    font-size: .85rem;
    color: #4f46e5;
}

.drawer-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.drawer-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 14px;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: white !important;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(79, 70, 229, .35);
    transition: all .25s;
}

.drawer-cta a:hover {
    transform: translateY(-2px);
}


/* Hero Marquee Section - Moved to bottom of Hero */
.hero-marquee {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    height: 60px;
    overflow: hidden;
    z-index: 10;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 35s linear infinite;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
}

.marquee-content span {
    margin-right: 50px;
}

.marquee-content a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

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

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

/* 100/100 Light Premium Hero Section */
.light-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
    background-color: #f8fafc;
    /* Crisp, off-white background */
}

/* Soft Pastel Mesh Background */
.light-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.6;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    animation: float-mesh 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.8) 0%, rgba(147, 197, 253, 0) 70%);
    /* Pastel Blue */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(249, 168, 212, 0.7) 0%, rgba(249, 168, 212, 0) 70%);
    /* Pastel Pink */
    animation-delay: -5s;
}

.blob-3 {
    top: 20%;
    left: 30%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.7) 0%, rgba(196, 181, 253, 0) 70%);
    /* Pastel Purple */
    animation-delay: -10s;
}

@keyframes float-mesh {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10%, -10%) scale(1.1);
    }

    66% {
        transform: translate(-5%, 15%) scale(0.9);
    }

    100% {
        transform: translate(-15%, -5%) scale(1.2);
    }
}

.light-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

/* Typography & Left Column */
.hero-text-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: #0f172a;
    /* Deep slate, almost black */
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.light-typing {
    font-size: 1.8rem;
    color: #2563eb;
    /* Vibrant exact blue */
    font-weight: 700;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.light-desc {
    font-size: 1.25rem;
    color: #475569;
    /* Slate gray */
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 400;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
}

.shadow-btn {
    background: #0f172a;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    transition: all 0.3s ease;
}

.shadow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
    background: #1e293b;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.7);
    color: #0f172a;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Right Column: Overlapping Glass Cards */
.hero-visual-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
    perspective: 1200px;
    /* For subtle 3D parallax later */
}

.glass-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.light-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.light-glass-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 0 0 1px #fff;
    z-index: 10;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4f46e5;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}

.card-text h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.card-text p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Stacking Positions and floating animations */
.stack-card-1 {
    top: 15%;
    right: 5%;
    width: 280px;
    animation: simple-float 6s ease-in-out infinite;
    z-index: 3;
}

.stack-card-2 {
    top: 45%;
    left: 0%;
    width: 300px;
    animation: simple-float 7s ease-in-out infinite -2s;
    z-index: 2;
}

.stack-card-3 {
    bottom: 10%;
    right: 15%;
    width: 260px;
    animation: simple-float 8s ease-in-out infinite -4s;
    z-index: 1;
}

@keyframes simple-float {

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

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

/* About Section */
.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--text-heading);
    font-weight: 700;
}

.personal-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--border);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.info-item .label {
    font-weight: 700;
    color: var(--text-heading);
    min-width: 100px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.info-item .value {
    color: var(--text-main);
    font-weight: 500;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-card);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.category-title i {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.sub-category {
    margin-bottom: 2.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sub-category h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
    font-weight: 700;
}

.progress-item {
    margin-bottom: 1.2rem;
}

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

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

.progress-bg {
    width: 100%;
    height: 10px;
    background-color: var(--bg-main);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    width: 0;
    /* Animated via JS */
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Accordion in Light Theme */
.accordion {
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-colored);
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

.accordion-header h4 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.accordion-header i {
    color: var(--primary);
    transition: var(--transition);
    font-size: 1.2rem;
    background: rgba(79, 70, 229, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
}

.accordion-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    background: #fff;
}

.skill-list li {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.skill-list li::before {
    content: "\f058";
    /* Check circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}

.skill-list li strong {
    color: var(--text-heading);
    font-weight: 700;
    display: inline-block;
    margin-right: 5px;
}

.skill-list li:last-child {
    margin-bottom: 0;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(79, 70, 229, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 90px;
}

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

.timeline-dot {
    position: absolute;
    left: 28px;
    top: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.15);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

/* Arrow pointer */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 12px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(45deg);
    z-index: -1;
}

.timeline-content:hover::after {
    border-color: transparent;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.02);
}

.timeline-date {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    font-weight: 800;
}

.timeline-company {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.timeline-responsibilities li {
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.timeline-responsibilities li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 1.1rem;
}

.timeline-responsibilities li strong {
    color: var(--text-heading);
    font-weight: 700;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.edu-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(14, 165, 233, 0.05));
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.edu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.edu-card:hover::before {
    transform: scaleY(1);
}

.edu-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.edu-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.edu-card p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.video-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    padding: 1rem;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.video-card video {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    aspect-ratio: 9/16;
    background: #000;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.graphics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.graphics-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
}

.graphics-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.graphics-card img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-sm);
    display: block;
    object-fit: contain;
}

/* Contact Section */
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    box-shadow: var(--shadow-xl);
}

.contact-info h2 {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.contact-info h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .icon-wrap {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-form {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--text-heading);
    padding: 4rem 0 2rem;
    color: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}

footer p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Animations (Reveal on Scroll) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.left {
    transform: translateX(-50px);
}

.reveal.right {
    transform: translateX(50px);
}

.reveal.left.active,
.reveal.right.active {
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .grid-2,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .greeting {
        margin: 0 auto 1.5rem;
    }

    .hero-image {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }

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

    .timeline-dot {
        left: 7px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-content::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .pill-header {
        width: 92%;
        max-width: 420px;
        top: 12px;
        padding: 8px 8px 8px 18px;
    }

    .pill-header.scrolled {
        top: 8px;
    }

    .pill-links {
        display: none;
    }

    .pill-cta {
        display: none;
    }

    .pill-hamburger {
        display: flex;
    }

    .section-padding {
        padding: 80px 0;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* Enhanced Mobile Hero (Light Premium) */
    .light-hero {
        padding-top: 100px;
        padding-bottom: 20px;
    }

    .light-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 2rem;
    }

    .hero-text-area {
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .light-typing {
        font-size: 1.3rem;
        min-height: 30px;
        margin-bottom: 1rem;
    }

    .light-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .shadow-btn,
    .hero-actions .glass-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.05rem;
    }

    /* Scale down the 3D cards for mobile */
    .hero-visual-area {
        min-height: 480px;
    }

    .glass-stack {
        transform: scale(0.65) translateY(-50px);
        transform-origin: center top;
    }

    .tech-card .row-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .hero-marquee {
        height: 50px;
    }

    .marquee-content {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* ==========================================
   HIRE ME — Freelancer CTA Banner
   ========================================== */
.hire-me-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.hire-me-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.35), transparent 70%);
    pointer-events: none;
}

.hire-me-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 70%);
    pointer-events: none;
}

.hire-me-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.hire-me-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 6px 16px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 600;
    color: #86efac;
    margin-bottom: 1rem;
    letter-spacing: .5px;
}

.hire-me-left h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: .8rem;
    letter-spacing: -1px;
}

.hire-me-highlight {
    background: linear-gradient(135deg, #818cf8, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hire-me-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
}

.hire-me-left p strong {
    color: #fbbf24;
}

.hire-me-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.hire-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 16px 36px;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    white-space: nowrap;
    text-decoration: none;
}

.hire-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.5);
}

.hire-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.hire-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hire-me-inner {
        flex-direction: column;
        text-align: center;
    }

    .hire-me-left h2 {
        font-size: 1.8rem;
    }

    .hire-me-right {
        width: 100%;
    }

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

    .hire-me-badge {
        justify-content: center;
    }
}

/* ==========================================
   MAIN FOOTER — Full Link Footer
   ========================================== */
.main-footer {
    background: #0f172a;
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-group ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links-group ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

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