/* ============================================
   MAHESH KUMAR KONDURI - LUXURY PORTFOLIO
   Premium Dark Theme with Gold Accents
   Enhanced Graphical Version
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --gold-primary: #c9a96e;
    --gold-light: #e8d5a3;
    --gold-dark: #a07d3f;
    --gold-gradient: linear-gradient(135deg, #c9a96e 0%, #e8d5a3 50%, #c9a96e 100%);
    --gold-glow: rgba(201, 169, 110, 0.25);
    --text-primary: #f5f1e8;
    --text-secondary: #bdb8b0;
    --text-muted: #7a756e;
    --border-color: rgba(201, 169, 110, 0.2);
    --border-light: rgba(255, 255, 255, 0.07);
    --shadow-gold: 0 4px 40px rgba(201, 169, 110, 0.15);
    --shadow-gold-lg: 0 8px 60px rgba(201, 169, 110, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Raleway', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    background-image: radial-gradient(ellipse at 50% 0%, #12121a 0%, var(--bg-primary) 70%);
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--gold-primary);
    color: var(--bg-primary);
}

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

/* ============ BACKGROUND GRID ============ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Cursor Trail */
.cursor-glow {
    display: none;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: none;
}

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

.nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(201, 169, 110, 0.08) inset;
}

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

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    outline: none;
}

.nav-logo:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
    border-radius: 8px;
}

.nav-logo-svg {
    transition: var(--transition);
}

.nav-logo-svg rect {
    animation: rotateSlow 20s linear infinite;
    transform-origin: center;
}

.nav-logo-svg circle {
    animation: pulseGlow 4s ease-in-out infinite;
}

.nav-logo-svg path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLogo 2s ease-out forwards;
}

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
    }
}

.nav-logo:hover .nav-logo-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(201, 169, 110, 0.4));
}

.nav-logo:hover .nav-logo-svg rect {
    animation: rotateSlow 5s linear infinite;
}

.nav-logo:hover .nav-logo-svg circle {
    stroke: var(--gold-light);
    opacity: 0.8;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgba(201, 169, 110, 0.08);
    opacity: 0;
    transition: var(--transition);
    transform: scale(0.85);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(201, 169, 110, 0.4);
}

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

.nav-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links a:hover::after {
    width: 60%;
}

/* Active nav link state */
.nav-links a.active {
    color: var(--gold-light);
}

.nav-links a.active::before {
    opacity: 1;
    transform: scale(1);
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.nav-links a.active::after {
    width: 40%;
    opacity: 1;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 25% 40%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 60%, rgba(201, 169, 110, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 0%, rgba(232, 213, 163, 0.04) 0%, transparent 30%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

/* Hero Monogram */
.hero-monogram {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease 0.1s both;
}

.monogram-svg {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 0 20px rgba(201, 169, 110, 0.3));
}

.ring-outer {
    animation: rotateSlow 20s linear infinite;
    transform-origin: center;
}

.ring-inner {
    animation: rotateSlow 15s linear infinite reverse;
    transform-origin: center;
}

/* Signature animation for hero monogram paths */

.mk-text {
    animation: drawSignature 2s ease-in-out forwards;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

@keyframes drawSignature {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gold-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInDown 1s ease 0.3s both;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.hero-greeting {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    animation: fadeInDown 1s ease 0.4s both;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: 0.04em;
    animation: fadeInUp 1s ease 0.5s both;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(201, 169, 110, 0.2));
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.7s both;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.9s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(201, 169, 110, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(201, 169, 110, 0.5);
}

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

.btn-outline:hover {
    background: rgba(201, 169, 110, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    animation: fadeInUp 1s ease 1.1s both;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-ring {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
}

.stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-circle {
    transition: stroke-dashoffset 2s ease;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold-primary);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.5s both;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: scrollBounce 2s infinite;
}

/* ============ SECTIONS ============ */
.section {
    padding: 70px 0;
    position: relative;
    z-index: 1;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold-primary);
    margin-bottom: 16px;
    position: relative;
    padding: 8px 24px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 50px;
    background: transparent;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-primary);
    position: relative;
    letter-spacing: 0.03em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.9;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.highlight:hover {
    border-color: var(--border-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-gold);
}

.highlight:hover::before {
    opacity: 1;
}

.highlight i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.highlight span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* About Image */
.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 360px;
    height: 430px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    box-shadow: 
        0 10px 50px rgba(201, 169, 110, 0.35),
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(201, 169, 110, 0.1);
    z-index: 2;
    animation: floatPhoto 6s ease-in-out infinite;
}

@keyframes floatPhoto {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    66% {
        transform: translateY(-4px) rotate(-0.3deg);
    }
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.image-frame:hover .profile-photo {
    filter: grayscale(0%);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder-svg {
    width: 140px;
    height: 140px;
    opacity: 0.6;
}

.image-dots {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--gold-primary) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.3;
    z-index: 1;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 500px;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.22) 0%, rgba(201, 169, 110, 0.08) 35%, transparent 65%);
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    padding: 12px 20px;
    background: rgba(22, 22, 31, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-gold);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.floating-card i {
    color: var(--gold-primary);
    font-size: 1rem;
}

.card-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 5%;
    right: -20px;
    animation-delay: 4s;
}

/* ============ EXPERIENCE / TIMELINE ============ */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-primary), var(--border-color) 80%, transparent);
    border-radius: 2px;
}

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

.timeline-marker {
    position: absolute;
    left: -50px;
    top: 8px;
}

.marker-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.1), 0 0 15px rgba(201, 169, 110, 0.2);
    transition: var(--transition);
}

.timeline-item:hover .marker-dot {
    background: var(--gold-primary);
    box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.2), 0 0 25px rgba(201, 169, 110, 0.4);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-gold);
    transform: translateX(4px);
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-company h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-location i {
    color: var(--gold-primary);
    margin-right: 4px;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 4px 12px;
    background: rgba(201, 169, 110, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 110, 0.15);
}

.timeline-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 24px;
    padding: 6px 16px;
    background: rgba(201, 169, 110, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.timeline-projects {
    display: grid;
    gap: 16px;
}

.project-card {
    padding: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    background: rgba(201, 169, 110, 0.04);
    border-color: var(--border-color);
    transform: translateX(4px);
}

.project-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-card h4 i {
    color: var(--gold-primary);
    margin-right: 10px;
    font-size: 0.95rem;
}

.project-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tags span {
    padding: 5px 12px;
    font-size: 0.7rem;
    background: rgba(201, 169, 110, 0.08);
    color: var(--gold-light);
    border-radius: 5px;
    border: 1px solid rgba(201, 169, 110, 0.18);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.project-tags span:hover {
    background: rgba(201, 169, 110, 0.15);
    border-color: var(--gold-primary);
}

/* ============ SKILLS ============ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(201, 169, 110, 0.05), transparent 30%);
    animation: rotateSlow 10s linear infinite;
    opacity: 0;
    transition: var(--transition);
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    border-color: var(--border-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold-lg);
}

.skill-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    border: 1.5px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.skill-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gold-gradient);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.skill-category:hover .skill-icon::after {
    opacity: 0.15;
}

.skill-icon i {
    font-size: 1.4rem;
    color: var(--gold-primary);
}

.skill-category h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.skill-pill {
    padding: 7px 15px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-pill:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(201, 169, 110, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.1);
}

/* ============ PROJECTS / AI INITIATIVES ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-showcase {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.project-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.project-showcase:hover {
    border-color: var(--border-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold-lg);
}

.project-showcase:hover::before {
    opacity: 1;
}

.project-showcase:hover::after {
    width: 60%;
}

.project-showcase-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.06);
    border: 1.5px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.project-showcase:hover .project-showcase-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.2);
}

.project-showcase-icon i {
    font-size: 1.6rem;
    color: var(--gold-primary);
}

.project-showcase h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.project-showcase p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* ============ ACHIEVEMENTS ============ */
.achievements-grid {
    display: grid;
    gap: 24px;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-4px);
}

.achievement-card.featured {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: start;
    border-color: rgba(201, 169, 110, 0.25);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 169, 110, 0.03) 100%);
    padding: 36px;
}

.achievement-card.featured .achievement-badge {
    align-self: start;
    padding-top: 8px;
}

.achievement-card.featured .achievement-visual {
    grid-column: 1 / -1;
}

.achievement-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.achievement-card.featured::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.achievement-badge {
    flex-shrink: 0;
}

.trophy-svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 15px rgba(201, 169, 110, 0.3));
    animation: float 6s ease-in-out infinite;
}

.sparkle {
    animation: pulse 2s ease-in-out infinite;
}

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

.achievement-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 50px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.achievement-label i {
    color: var(--gold-primary);
}

.achievement-card.featured h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.achievement-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.achievement-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(201, 169, 110, 0.05);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 20px;
}

.achievement-quote i {
    color: var(--gold-primary);
    font-size: 0.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.achievement-quote span {
    font-size: 0.88rem;
    color: var(--gold-light);
    font-style: italic;
    line-height: 1.6;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.achievement-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.75rem;
    background: rgba(201, 169, 110, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 20px;
    color: var(--gold-light);
    font-weight: 500;
}

.achievement-tags span i {
    font-size: 0.65rem;
    color: var(--gold-primary);
}

.achievement-visual {
    position: relative;
    z-index: 1;
    margin-top: 24px;
}

.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
}

.certificate-frame {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    cursor: pointer;
}

.certificate-frame:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: var(--shadow-gold-lg);
    border-color: var(--gold);
}

.certificate-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.certificate-frame:hover img {
    transform: scale(1.08);
}

.certificate-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
}

.certificate-placeholder i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    opacity: 0.4;
}

.certificate-placeholder span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Non-featured achievement cards */
.achievement-card:not(.featured) {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.achievements-grid::after {
    content: '';
    display: block;
}

.achievement-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    border: 1.5px solid var(--border-color);
}

.achievement-icon i {
    font-size: 1.2rem;
    color: var(--gold-primary);
}

.achievement-card:not(.featured) h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.achievement-card:not(.featured) p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Achievements responsive grid for smaller cards */
@media (min-width: 769px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .achievements-grid > .achievement-card:not(.featured) {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .achievement-card.featured {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 36px;
    }
    
    .achievement-badge {
        margin: 0 auto;
    }
    
    .achievement-visual {
        margin: 0 auto;
    }

    .certificate-gallery {
        margin: 0 auto;
    }
    
    .achievement-quote {
        text-align: left;
    }
    
    .achievement-tags {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .achievement-card.featured {
        padding: 28px;
    }
    
    .trophy-svg {
        width: 90px;
        height: 90px;
    }
    
    .certificate-frame {
        width: 100%;
        height: auto;
    }

    .certificate-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .achievement-card:not(.featured) {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============ EDUCATION ============ */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.edu-card:hover {
    border-color: var(--border-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.edu-card:hover::before {
    width: 100%;
}

.edu-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.06);
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
}

.edu-card:hover .edu-icon {
    background: rgba(201, 169, 110, 0.12);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
}

.edu-icon i {
    font-size: 1.3rem;
    color: var(--gold-primary);
}

.edu-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.edu-school {
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 500;
}

.edu-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.contact-item:hover {
    padding-left: 8px;
    border-bottom-color: var(--border-color);
}

.contact-item i {
    color: var(--gold-primary);
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gold-gradient);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.25);
}

.social-links a:hover::before {
    opacity: 0.2;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
    background: rgba(22, 22, 31, 1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 16px;
    font-size: 0.72rem;
    color: var(--gold-primary);
    background: var(--bg-card);
    padding: 2px 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

/* ============ FOOTER ============ */
.footer {
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(17, 17, 24, 1) 100%);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo svg {
    filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.3));
    transition: var(--transition);
}

.footer-logo svg:hover {
    filter: drop-shadow(0 0 20px rgba(201, 169, 110, 0.5));
    transform: scale(1.1);
}

.footer-quote {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    border-left: 2px solid var(--gold-primary);
    padding-left: 16px;
    max-width: 300px;
}

.footer-nav h4,
.footer-connect h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-nav ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--gold-light);
    padding-left: 16px;
}

.footer-nav ul li a:hover::before {
    width: 10px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(201, 169, 110, 0.2);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.25);
}

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

.footer-location i {
    color: var(--gold-primary);
    margin-right: 6px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), var(--gold-primary), var(--border-color), transparent);
    margin-bottom: 24px;
}

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

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition);
}

.back-to-top:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.2);
}

.back-to-top i {
    font-size: 0.7rem;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

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

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes particleFade {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(201, 169, 110, 0.2); }
    50% { border-color: rgba(201, 169, 110, 0.5); }
}

@keyframes connectLines {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(17, 17, 24, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .monogram-svg {
        width: 140px;
        height: 140px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-ring {
        width: 48px;
        height: 48px;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -30px;
    }

    .marker-dot {
        width: 18px;
        height: 18px;
    }

    .timeline-content {
        padding: 24px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .image-frame {
        width: 260px;
        height: 300px;
    }

    .floating-card {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .contact-form {
        padding: 24px;
    }
}

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

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

    .project-metrics {
        grid-template-columns: 1fr;
    }

    .monogram-svg {
        width: 120px;
        height: 120px;
    }
}


/* ============ IMAGE LIGHTBOX ============ */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201, 169, 110, 0.15);
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--gold-light);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(201, 169, 110, 0.3);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 480px) {
    .certificate-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .certificate-frame {
        aspect-ratio: 4/3;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
}


/* ============ PERSONAL GALLERY ============ */
.personal-gallery {
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-lg);
}

.gallery-item-large {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(100%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 1.5rem;
    padding: 14px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.3);
    border: 1px solid rgba(201, 169, 110, 0.5);
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-row: auto;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 12px;
    }
}
