
:root {
    /* Color Palette */
    --color-bg-darker: #050505;
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #121212;
    --color-bg-card-hover: #191919;
    
    /* Luxury Gold Palette (Champagne / Bronze) */
    --color-gold-light: #f3d79f;
    --color-gold: #dfba73;
    --color-gold-dark: #c5a059;
    --color-gold-deep: #a5803a;
    
    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    
    /* Shadows & Borders */
    --gold-glow: 0 8px 32px 0 rgba(223, 186, 115, 0.15);
    --gold-glow-large: 0 12px 48px 0 rgba(223, 186, 115, 0.25);
    --border-gold: 1px solid rgba(223, 186, 115, 0.15);
    --border-gold-hover: 1px solid rgba(223, 186, 115, 0.4);
    --glass-background: rgba(18, 18, 18, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-luxury: 'Cinzel', serif;
    --font-modern: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

/* Selection */
::selection {
    background: var(--color-gold);
    color: var(--color-bg-darker);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-darker);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-modern);
    font-weight: 300;
    line-height: 1.6;
    background-color: var(--color-bg-darker);
    -webkit-font-smoothing: antialiased;
}

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

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

input, textarea, button {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Gradients */
.gold-gradient-text {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-luxury);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-bg-darker);
    border: 1px solid transparent;
    box-shadow: var(--gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(223, 186, 115, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    box-shadow: var(--gold-glow);
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-nav:hover {
    background: var(--color-gold);
    color: var(--color-bg-darker);
    box-shadow: var(--gold-glow);
}

/* Button Hover Ripple Background Effect */
.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 0;
    padding-bottom: 120%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.btn-hover-effect:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease;
}

.custom-cursor-outline {
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-gold-dark);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Cursor hover classes */
.cursor-hover .custom-cursor-dot {
    width: 10px;
    height: 10px;
}
.cursor-hover .custom-cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(223, 186, 115, 0.08);
    border-color: var(--color-gold-light);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg-darker);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader .logo-text {
    font-family: var(--font-luxury);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    background-clip: text; /* standard property for compatibility */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 2s infinite ease-in-out;
}

.preloader-bar {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.loading-label {
    font-family: var(--font-luxury);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(223, 186, 115, 0.1);
}

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

.logo {
    font-family: var(--font-luxury);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    display: flex;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-luxury);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.menu-bar {
    width: 25px;
    height: 1px;
    background-color: var(--color-text-primary);
    transition: var(--transition-quick);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    position: relative;
    background: radial-gradient(circle at 75% 35%, rgba(223, 186, 115, 0.05) 0%, transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Left Side Info */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-subtitle {
    font-family: var(--font-luxury);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-luxury);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-title span {
    display: block;
}

.hero-tagline {
    font-family: var(--font-luxury);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    border-left: 2px solid var(--color-gold);
    padding-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    max-width: 500px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-number {
    font-family: var(--font-luxury);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-gold);
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* Right Side - Luxury Round Image */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

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

.profile-image-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 3;
    border: 2px solid rgba(223, 186, 115, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.05) brightness(0.95);
    transition: var(--transition-smooth);
}

.profile-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 60%, rgba(5, 5, 5, 0.4) 100%);
    pointer-events: none;
}

.image-bg-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 186, 115, 0.15) 0%, transparent 65%);
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
}

.image-ring-outer {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 1px dashed rgba(223, 186, 115, 0.2);
    z-index: 2;
    animation: rotate-clockwise 40s linear infinite;
    pointer-events: none;
}

.image-ring-inner {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid rgba(223, 186, 115, 0.15);
    z-index: 2;
    animation: rotate-counter 25s linear infinite;
    pointer-events: none;
}

/* Floating glass badges */
.floating-badge {
    position: absolute;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-gold);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 4;
}

.badge-top-right {
    top: 15%;
    right: -25px;
}

.badge-bottom-left {
    bottom: 15%;
    left: -35px;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(223, 186, 115, 0.1);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.badge-text p {
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hover Effects on Profile Photo Frame */
.image-wrapper:hover .profile-image-container {
    transform: scale(1.03);
    border-color: rgba(223, 186, 115, 0.6);
    box-shadow: var(--gold-glow-large);
}

.image-wrapper:hover .profile-img {
    filter: contrast(1.1) brightness(1.05);
}

/* ==========================================================================
   SECTION COMMON HEADER
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-luxury);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-luxury);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.title-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    margin: 1.5rem auto 0;
}

.section-header:not(.text-center) .title-divider {
    margin: 1.5rem 0 0;
    background: linear-gradient(to right, var(--color-gold), transparent);
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: var(--color-bg-dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text strong {
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.about-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.about-stat-item:hover {
    border-color: rgba(223, 186, 115, 0.2);
    background: rgba(223, 186, 115, 0.03);
    transform: translateY(-3px);
}

.about-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(223, 186, 115, 0.08);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-stat-icon svg {
    width: 20px;
    height: 20px;
}

.about-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.about-stat-value {
    font-family: var(--font-luxury);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.about-stat-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-image-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: var(--border-gold);
    max-width: 350px;
    transition: var(--transition-smooth);
}

.about-image-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--gold-glow-large);
    border-color: rgba(223, 186, 115, 0.4);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, transparent 100%);
    text-align: center;
}

.about-image-tag {
    font-family: var(--font-luxury);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-section {
    padding: 100px 0;
    background: var(--color-bg-darker);
    position: relative;
}

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

.skill-card {
    border-radius: 16px;
    padding: 1px; /* gradient border wrapper */
    background: linear-gradient(135deg, rgba(223, 186, 115, 0.1) 0%, transparent 50%, rgba(223, 186, 115, 0.03) 100%);
    transition: var(--transition-smooth);
}

.skill-card-inner {
    background: var(--color-bg-card);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.skill-icon-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-number {
    font-family: var(--font-luxury);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(223, 186, 115, 0.15);
    transition: var(--transition-smooth);
}

.skill-icon {
    width: 36px;
    height: 36px;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.skill-card-inner h3 {
    font-family: var(--font-luxury);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.skill-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    flex-grow: 1;
}

.skill-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, var(--color-gold-dark), var(--color-gold-light));
    border-radius: 3px;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.skill-percentage {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

/* Hover effects */
.skill-card:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, transparent 60%, var(--color-gold-light) 100%);
    box-shadow: var(--gold-glow);
    transform: translateY(-5px);
}

.skill-card:hover .skill-card-inner {
    background: var(--color-bg-card-hover);
}

.skill-card:hover .skill-number {
    color: rgba(223, 186, 115, 0.5);
    transform: scale(1.1);
}

.skill-card:hover .skill-icon {
    transform: rotate(10deg) scale(1.1);
    color: var(--color-gold-light);
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 11;
    border: var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.project-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Placeholder backgrounds for projects without screenshots */
.project-placeholder-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(223, 186, 115, 0.1);
    border: 1px solid rgba(223, 186, 115, 0.2);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder-icon svg {
    width: 28px;
    height: 28px;
}

.project-placeholder-label {
    font-family: var(--font-luxury);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.95) 10%, rgba(5, 5, 5, 0.4) 60%, rgba(5, 5, 5, 0.2) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tech-tags span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    border: 1px solid rgba(223, 186, 115, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    background: rgba(223, 186, 115, 0.05);
}

.project-title {
    font-family: var(--font-luxury);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.project-desc {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.project-link {
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    font-size: 0.65rem;
}

.project-link svg {
    width: 14px;
    height: 14px;
}

/* Hover Interactivity */
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--gold-glow-large);
    border-color: rgba(223, 186, 115, 0.3);
}

.project-card:hover .project-img,
.project-card:hover .project-placeholder-bg {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */
.certifications-section {
    padding: 100px 0;
    background: var(--color-bg-darker);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cert-card {
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(223, 186, 115, 0.12) 0%, transparent 50%, rgba(223, 186, 115, 0.04) 100%);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: block;
}

.cert-card-inner {
    background: var(--color-bg-card);
    border-radius: 19px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.cert-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-issuer-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.google-logo {
    background: rgba(66, 133, 244, 0.12);
    color: #4285f4;
}

.umich-logo {
    background: rgba(0, 39, 76, 0.15);
    color: #ffcb05;
}

.cert-badge-icon {
    color: var(--color-gold);
}

.cert-badge-icon svg {
    width: 24px;
    height: 24px;
}

.cert-title {
    font-family: var(--font-luxury);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.03em;
    flex-grow: 1;
}

.cert-issuer {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.cert-issuer strong {
    color: var(--color-text-primary);
    font-weight: 500;
}

.cert-date {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cert-verify {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-luxury);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.cert-verify svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-smooth);
}

/* Cert card hover */
.cert-card:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, transparent 60%, var(--color-gold-light) 100%);
    box-shadow: var(--gold-glow);
    transform: translateY(-6px);
}

.cert-card:hover .cert-card-inner {
    background: var(--color-bg-card-hover);
}

.cert-card:hover .cert-verify svg {
    transform: translate(3px, -3px);
}

/* ==========================================================================
   EDUCATION & EXPERIENCE TIMELINE SECTION
   ========================================================================== */
.education-section {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-gold), rgba(223, 186, 115, 0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

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

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

.timeline-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(223, 186, 115, 0.08);
    border: 2px solid rgba(223, 186, 115, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.timeline-dot svg {
    width: 20px;
    height: 20px;
}

.timeline-content {
    border-radius: 20px;
    padding: 2.5rem;
    border: var(--border-gold);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(223, 186, 115, 0.35);
    box-shadow: var(--gold-glow);
    transform: translateX(8px);
}

.timeline-content:hover ~ .timeline-marker .timeline-dot,
.timeline-item:hover .timeline-dot {
    background: rgba(223, 186, 115, 0.15);
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(223, 186, 115, 0.2);
    transform: scale(1.1);
}

.timeline-tag {
    font-family: var(--font-luxury);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-family: var(--font-luxury);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.4rem;
}

.timeline-subtitle {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.timeline-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   LINKEDIN / CONNECT SECTION
   ========================================================================== */
.connect-section {
    padding: 100px 0;
    background: var(--color-bg-darker);
}

.connect-card {
    border-radius: 24px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    border: var(--border-gold);
}

.connect-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(223, 186, 115, 0.07) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.connect-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.connect-icon-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(223, 186, 115, 0.08);
    border: var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.connect-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.connect-mini-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0077b5;
    border: 2px solid var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    z-index: 2;
}

.connect-mini-badge svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.5;
}

.connect-main-icon {
    width: 36px;
    height: 36px;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.connect-tag {
    font-family: var(--font-luxury);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.connect-heading {
    font-family: var(--font-luxury);
    font-size: 2.2rem;
    font-weight: 600;
}

.connect-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.linkedin-cta-btn {
    padding: 1rem 3rem;
}

.connect-card:hover .connect-icon-circle {
    transform: scale(1.1);
    background: rgba(223, 186, 115, 0.15);
    border-color: var(--color-gold);
    box-shadow: var(--gold-glow);
}

.connect-card:hover .connect-profile-img {
    transform: scale(1.02);
}

.connect-card:hover .connect-mini-badge {
    background: var(--color-gold);
    color: var(--color-bg-darker);
    border-color: var(--color-bg-card-hover);
}

.connect-card:hover .connect-main-icon {
    transform: scale(1.1);
    color: var(--color-text-primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--color-bg-dark);
}

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

.contact-form-wrapper,
.contact-socials-wrapper {
    padding: 3rem;
    border-radius: 24px;
    border: var(--glass-border);
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-form-title {
    font-family: var(--font-luxury);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 0.8rem 0;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-quick);
}

.form-label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-quick);
}

.form-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.form-input:focus ~ .form-underline {
    width: 100%;
}

.form-input:focus {
    border-bottom-color: transparent;
}

.form-feedback {
    font-size: 0.85rem;
    margin-top: -1rem;
    min-height: 20px;
    transition: var(--transition-quick);
}

.form-feedback.success {
    color: #4BB543;
}

.form-feedback.error {
    color: #ff3333;
}

/* Social Links List */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.social-link-card:hover {
    border-color: rgba(223, 186, 115, 0.3);
    background: rgba(223, 186, 115, 0.04);
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.social-link-icon svg {
    width: 22px;
    height: 22px;
}

/* Individual icon colors */
.github-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #e6edf3;
}
.linkedin-icon {
    background: rgba(0, 119, 181, 0.15);
    color: #0077b5;
}
.whatsapp-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}
.email-icon {
    background: rgba(234, 67, 53, 0.12);
    color: #ea4335;
}
.instagram-icon {
    background: rgba(225, 48, 108, 0.12);
    color: #e1306c;
}

.social-link-card:hover .social-link-icon {
    transform: scale(1.1);
}

.social-link-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.social-link-name {
    font-family: var(--font-luxury);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.03em;
}

.social-link-handle {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-link-arrow {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: var(--transition-smooth);
}

.social-link-card:hover .social-link-arrow {
    opacity: 1;
    color: var(--color-gold);
    transform: translate(0, 0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem 0;
}

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

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

.footer-quick-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-contact-link svg {
    width: 16px;
    height: 16px;
    color: var(--color-gold);
}

.footer-contact-link:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes rotate-clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-counter {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Floating animation for badge 1 */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bounce-slow {
    animation: bounce-slow 6s ease-in-out infinite;
}

/* Floating animation for badge 2 */
@keyframes bounce-slow-delay {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.bounce-slow-delay {
    animation: bounce-slow-delay 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .image-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .badge-top-right {
        right: -10px;
    }
    
    .badge-bottom-left {
        left: -15px;
    }

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

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

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

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav-menu {
        display: none; /* Mobile menu toggle will reveal this */
    }
    
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-tagline {
        border-left: none;
        border-bottom: 2px solid var(--color-gold);
        padding-left: 0;
        padding-bottom: 0.5rem;
        display: inline-block;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-metrics {
        justify-content: center;
        margin: 0 auto;
    }
    
    .hero-right {
        order: -1; /* image on top in mobile */
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .timeline {
        padding-left: 40px;
    }

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

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

    .timeline-dot {
        width: 36px;
        height: 36px;
    }

    .timeline-dot svg {
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-quick-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Interactive Mobile Nav Menu class (added via JS) */
    .nav-active .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--color-bg-darker);
        justify-content: center;
        gap: 2rem;
        z-index: 98;
    }
    
    .nav-active .menu-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-active .menu-bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-active .menu-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
