/* ============================================================
   ADITYA DUBEY PORTFOLIO — Golden Dark Premium Theme
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    /* Core palette */
    --bg-main:        #0B0F19;
    --bg-secondary:   #111827;
    --bg-card:        #151B2B;
    --bg-input:       #0F172A;
    --border-gold:    rgba(212, 175, 55, 0.35);
    --border-subtle:  rgba(255, 255, 255, 0.08);

    /* Gold */
    --gold:           #D4AF37;
    --gold-hover:     #F5C542;
    --gold-dim:       rgba(212, 175, 55, 0.15);
    --gold-glow:      rgba(212, 175, 55, 0.25);

    /* Text */
    --text-primary:   #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-muted:     #9CA3AF;
    --text-dim:       #6B7280;

    /* Status */
    --success:        #22C55E;
    --error:          #EF4444;
    --info:           #3B82F6;
    --warning:        #F59E0B;

    /* Typography */
    --font-display:   'Syne', sans-serif;
    --font-body:      'Inter', sans-serif;

    /* Transitions */
    --ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.4);
    --shadow-md:      0 4px 14px rgba(0,0,0,0.4);
    --shadow-lg:      0 10px 40px rgba(0,0,0,0.5);
    --shadow-gold:    0 4px 20px rgba(212,175,55,0.2);

    /* Layout */
    --navbar-height:  72px;
    --section-py:     100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

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

::selection {
    background: var(--gold);
    color: #000;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

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

/* ── Utility Classes ───────────────────────────────────────── */
.font-syne       { font-family: var(--font-display); }
.font-inter      { font-family: var(--font-body); }
.text-gold        { color: var(--gold) !important; }
.text-gold-hover  { color: var(--gold-hover) !important; }
.bg-gold          { background-color: var(--gold) !important; }
.bg-darker        { background-color: var(--bg-main) !important; }
.bg-card          { background-color: var(--bg-card) !important; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-wide    { letter-spacing: 0.025em; }
.w-20px           { width: 20px; }
.w-30px           { width: 30px; }

.transition-all     { transition: all 0.3s var(--ease); }
.transition-colors  { transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.transition-transform { transition: transform 0.3s var(--ease); }
.transition-opacity { transition: opacity 0.3s; }

/* ── Custom Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #c9a227);
    color: #000;
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-gold::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: left 0.5s;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline-gold {
    color: var(--gold);
    border: 1.5px solid var(--gold);
    background: transparent;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-dark-gold {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.btn-dark-gold:hover {
    background: var(--gold);
    color: #000;
}

/* ── Navbar ────────────────────────────────────────────────── */
.custom-navbar {
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    transition: all 0.3s var(--ease);
    z-index: 1050;
}

.custom-navbar.scrolled {
    background: rgba(11, 15, 25, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--border-gold);
}

.logo-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), #c9a227);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #000;
    font-family: var(--font-display);
    margin-right: 8px;
}

.logo-lt, .logo-rt {
    color: var(--gold);
    font-weight: 800;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    transition: color 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* Navbar toggler */
.navbar-toggler {
    border-color: var(--border-gold) !important;
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile nav dropdown */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(11, 15, 25, 0.98);
        border-radius: 0 0 16px 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--border-subtle);
        border-top: none;
    }
}

/* ── Glass Cards ───────────────────────────────────────────── */
.glass-card {
    background: rgba(21, 27, 43, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease);
}

.glass-card:hover {
    border-color: var(--border-gold);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

.hover-gold:hover {
    color: var(--gold) !important;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.group:hover .group-hover-gold {
    color: var(--gold) !important;
}

.group:hover .group-hover-opacity-100 {
    opacity: 1 !important;
}

/* ── Section Titles ────────────────────────────────────────── */
.sec-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.sec-title {
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-top: 1rem;
}

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--navbar-height) + 40px);
    display: flex;
    align-items: center;
}

/* Background effects */
.hero-noise {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.g1 {
    width: 500px; height: 500px;
    background: rgba(212, 175, 55, 0.08);
    top: -100px; left: -100px;
}

.g2 {
    width: 400px; height: 400px;
    background: rgba(212, 175, 55, 0.05);
    bottom: -50px; right: -50px;
}

.g3 {
    width: 300px; height: 300px;
    background: rgba(59, 130, 246, 0.04);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.hero-body {
    position: relative;
    z-index: 2;
}

/* Hero badge */
.hero-badge {
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 500;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

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

/* Hero greeting */
.hero-hi {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Hero title line */
.hero-title-line {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
}

/* Typing effect */
.hero-role {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.role-pre {
    color: var(--text-muted);
    font-weight: 400;
}

.role-typed {
    color: var(--gold);
    font-weight: 600;
}

.role-cursor {
    color: var(--gold);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

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

/* Hero profile image */
.hero-profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-profile-ring {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold), #c9a227, var(--gold-hover), var(--gold));
    animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
    0% { background: linear-gradient(0deg, var(--gold), transparent, var(--gold)); }
    25% { background: linear-gradient(90deg, var(--gold), transparent, var(--gold)); }
    50% { background: linear-gradient(180deg, var(--gold), transparent, var(--gold)); }
    75% { background: linear-gradient(270deg, var(--gold), transparent, var(--gold)); }
    100% { background: linear-gradient(360deg, var(--gold), transparent, var(--gold)); }
}

.hero-profile-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-main);
}

.hero-profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-card);
    border: 4px solid var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-profile-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    z-index: -1;
}

/* Hero contact info */
.hero-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-info-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-info-list li i {
    color: var(--gold);
    width: 16px;
    text-align: center;
}

/* Hero social icons */
.hero-socials .soc-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
    background: transparent;
}

.hero-socials .soc-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-3px);
}

/* ── ABOUT SECTION ─────────────────────────────────────────── */
#about .about-card {
    position: relative;
}

.about-lead {
    line-height: 1.8;
}

.about-stats .astat {
    text-align: center;
    padding: 1rem;
}

.astat-n {
    font-size: 2.2rem;
    line-height: 1.2;
}

.about-avatar .av-img {
    border: 2px solid var(--border-gold) !important;
    overflow: hidden;
}

.about-details .ad-row {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.about-details .ad-row:last-child {
    border-bottom: none;
}

/* ── SKILLS SECTION ────────────────────────────────────────── */
.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s var(--ease);
    height: 100%;
}

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

.skill-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.skill-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.skill-card .skill-list {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── PROJECTS SECTION ──────────────────────────────────────── */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.project-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
}

.project-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
}

.project-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 2px;
}

.project-card-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 5px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: all 0.3s var(--ease);
}

.project-link:hover {
    color: var(--gold);
    border-color: var(--border-gold);
    background: var(--gold-dim);
}

/* Featured project card (large) */
.featured-project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.featured-project-card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}

/* ── EXPERIENCE SECTION ────────────────────────────────────── */
.timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--border-subtle));
}

.tl-marker {
    position: relative;
    z-index: 2;
}

.exp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s var(--ease);
}

.exp-card:hover {
    border-color: var(--border-gold);
}

.exp-date-badge {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ── EDUCATION SECTION ─────────────────────────────────────── */
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--gold);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s var(--ease);
}

.edu-card:hover {
    border-color: var(--border-gold);
    border-left-color: var(--gold);
}

/* ── ACHIEVEMENTS SECTION ──────────────────────────────────── */
.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.achievement-item:last-child {
    border-bottom: none;
}

.achievement-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.achievement-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Achievement card style (alternative) */
.ach-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s var(--ease);
    height: 100%;
}

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

/* ── CONTACT SECTION ───────────────────────────────────────── */
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
}

/* ── Form Controls ─────────────────────────────────────────── */
.form-control,
.form-select {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-control::placeholder {
    color: var(--text-dim) !important;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-input) !important;
    border-color: var(--gold) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 3px var(--gold-glow) !important;
    outline: none;
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 1.5rem;
    margin-top: 0;
}

.footer-brand .logo-brand {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

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

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.footer-social-links a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
}

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

/* ── Back to Top Button ────────────────────────────────────── */
.btt {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #c9a227);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-gold);
}

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

.btt:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

/* ── Toast / Alert Messages ────────────────────────────────── */
.toast-container .toast {
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.alert {
    border-radius: 12px;
}

/* ── Social icon inline links ──────────────────────────────── */
.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}

.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-3px);
}

/* ── Badges ────────────────────────────────────────────────── */
.badge-gold {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.badge-gold-solid {
    background: var(--gold);
    color: #000;
}

/* ── Scroll Reveal Animation ───────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Staggered delays */
.reveal-up[style*="--d"] {
    transition-delay: var(--d);
}

/* ── Section spacing ───────────────────────────────────────── */
.section {
    padding: 80px 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
    .hero-profile-ring {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: calc(var(--navbar-height) + 20px);
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-profile-ring {
        width: 250px;
        height: 250px;
    }

    .section {
        padding: 60px 0;
    }

    .about-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .hero {
        text-align: center;
    }

    .hero-body {
        text-align: center;
    }

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

    .hero-info-list li {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center !important;
    }

    .hero-profile-ring {
        width: 200px;
        height: 200px;
        margin: 0 auto 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .about-stats {
        gap: 0.5rem !important;
    }

    .astat-n {
        font-size: 1.5rem;
    }

    .footer-col {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-tagline {
        margin: 0 auto;
    }

    .footer-social-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-role {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.85rem;
    }

    .project-card-img,
    .project-card-img-placeholder {
        height: 140px;
    }
}

/* ── Page transition ───────────────────────────────────────── */
.page-enter {
    animation: fadeInUp 0.5s var(--ease) forwards;
}

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

/* ── Misc ──────────────────────────────────────────────────── */
.min-vh-25 {
    min-height: 25vh;
}

.border-gold {
    border-color: var(--border-gold) !important;
}

.object-fit-cover {
    object-fit: cover;
}

.mw-md-75 {
    max-width: 75%;
}

@media (max-width: 767.98px) {
    .mw-md-75 {
        max-width: 100%;
    }
}

/* ── Print styles ──────────────────────────────────────────── */
@media print {
    body {
        background: #fff;
        color: #000;
    }
    .custom-navbar,
    .btt,
    .hero-noise,
    .hero-grid-bg,
    .glow {
        display: none;
    }
}

/* ============================================================
   Golden mockup implementation
   ============================================================ */
:root {
    --bg-main: #0B0F19;
    --bg-secondary: #111827;
    --bg-card: #151B2B;
    --bg-input: #0F172A;
    --border-gold: rgba(212, 175, 55, 0.35);
    --gold: #D4AF37;
    --gold-hover: #F5C542;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
}

body.dark-theme {
    background:
        radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.08), transparent 30%),
        linear-gradient(180deg, #060A12 0%, var(--bg-main) 50%, #080D15 100%);
    color: var(--text-primary);
}

.custom-navbar {
    min-height: 58px;
    background: rgba(4, 6, 10, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    padding: 0.35rem 0;
}

.logo-brand {
    gap: 12px;
    letter-spacing: 0;
}

.logo-mark {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.brand-name {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.nav-link {
    color: var(--text-primary) !important;
    font-size: 0.84rem;
    font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--gold-hover) !important;
}

/* ── Navbar "Journey" dropdown ───────────────────────────────── */
.custom-navbar .nav-item.dropdown .nav-link {
    background: none;
    border: 0;
    padding: 0.5rem;
}

.custom-navbar .dropdown-toggle::after {
    vertical-align: 0.14em;
}

.custom-navbar .dropdown-menu {
    background: rgba(4, 6, 10, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 8px;
    padding: 6px;
}

.custom-navbar .dropdown-item {
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 700;
}

.custom-navbar .dropdown-item i {
    color: var(--gold-hover);
    margin-right: 10px;
    text-align: center;
    width: 16px;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold-hover);
}

/* ── Homepage journey cards (Travel / Media / Awards) ─────────── */
.journey-card {
    color: var(--text-primary);
    text-decoration: none;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.journey-card:hover {
    border-color: var(--border-gold);
    color: var(--text-primary);
    transform: translateY(-4px);
}

.journey-card h3 {
    margin-bottom: 6px;
}

/* Specificity beats the generic `.mini-card span` rule further down. */
.journey-card .journey-preview {
    color: var(--gold-hover);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 10px;
}

.journey-card .gold-link {
    display: inline-block;
    font-size: 0.82rem;
    margin-top: 10px;
}

.btn,
.card,
.glass-card,
.mini-card,
.project-mock-card,
.contact-panel {
    border-radius: 8px !important;
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-hover), var(--gold));
    border: 1px solid rgba(255, 220, 98, 0.6);
    color: #070A11 !important;
    font-weight: 800;
}

.btn-outline-gold {
    background: rgba(15, 23, 42, 0.58);
    border-color: var(--gold);
    color: var(--gold-hover) !important;
    font-weight: 700;
}

.hero-mock {
    min-height: 620px;
    padding: 96px 0 32px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.36);
}

.hero-sparks {
    position: absolute;
    inset: 58px 0 0;
    background:
        radial-gradient(circle at 63% 47%, rgba(245, 197, 66, 0.42) 0 1px, transparent 2px),
        radial-gradient(circle at 73% 40%, rgba(245, 197, 66, 0.36) 0 1px, transparent 2px),
        radial-gradient(circle at 56% 62%, rgba(245, 197, 66, 0.28) 0 1px, transparent 2px);
    background-size: 86px 86px, 119px 119px, 64px 64px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--gold-hover);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.hero-copy h1 {
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(3rem, 6.5vw, 5.8rem);
    font-weight: 800;
    line-height: 0.95;
    margin: 0 0 12px;
}

.hero-copy h1 span {
    color: var(--gold-hover);
}

.hero-copy h2 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.5vw, 1.34rem);
    font-weight: 800;
    line-height: 1.35;
    max-width: 620px;
}

.hero-text,
.muted-copy {
    color: var(--text-secondary);
    max-width: 630px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 22px;
}

.hero-actions .btn {
    min-width: 165px;
}

.hero-contact {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.hero-contact li,
.contact-mini p {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 6px;
}

.hero-contact i,
.contact-mini i {
    color: var(--gold-hover);
    margin-right: 12px;
    width: 18px;
}

.hero-socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.hero-socials a {
    align-items: center;
    background: rgba(249, 250, 251, 0.14);
    border: 1px solid rgba(249, 250, 251, 0.16);
    color: #fff;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 34px;
}

.profile-stage {
    min-height: 480px;
    position: relative;
}

.gold-ring {
    border: 5px solid var(--gold-hover);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(212, 175, 55, 0.38), inset 0 0 80px rgba(212, 175, 55, 0.14);
    height: min(34vw, 430px);
    left: 50%;
    position: absolute;
    top: 48%;
    transform: translate(-50%, -50%);
    width: min(34vw, 430px);
}

.profile-figure {
    align-items: center;
    display: flex;
    height: 480px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.profile-figure img {
    height: 480px;
    max-width: 82%;
    object-fit: contain;
}

.profile-fallback {
    align-items: center;
    background: linear-gradient(180deg, #1b2436, #070A11);
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 22px 80px rgba(0,0,0,0.55);
    color: var(--gold-hover);
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 6rem;
    gap: 12px;
    height: 380px;
    justify-content: center;
    width: 300px;
}

.profile-fallback strong {
    color: #fff;
    font-size: 3rem;
}

.mock-band {
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    padding: 22px 0;
}

.mock-title {
    align-items: center;
    color: var(--text-primary);
    display: flex;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    gap: 12px;
    margin-bottom: 14px;
}

.mock-title i {
    color: var(--gold-hover);
}

.section-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.gold-link {
    color: var(--gold-hover);
    font-weight: 800;
}

.skill-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mini-card,
.contact-panel {
    background: linear-gradient(180deg, rgba(21, 27, 43, 0.9), rgba(12, 18, 30, 0.92));
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-primary);
    padding: 18px;
}

.mini-card i {
    color: var(--gold-hover);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.mini-card h3 {
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 800;
}

.mini-card p,
.mini-card span {
    color: var(--text-secondary);
    font-size: 0.86rem;
    margin: 0;
}

.project-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-mock-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    overflow: hidden;
}

.project-image {
    background: #0F172A;
    display: block;
    height: 118px;
}

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

.project-body {
    padding: 14px;
}

.project-body h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.project-body p {
    color: var(--text-secondary);
    font-size: 0.83rem;
    line-height: 1.45;
    min-height: 48px;
}

.project-tags,
.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-tags span {
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: var(--gold-hover);
    font-size: 0.72rem;
    padding: 1px 8px;
}

.project-actions {
    margin-top: 10px;
}

.project-actions a {
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: #fff;
    flex: 1;
    font-size: 0.75rem;
    padding: 3px 8px;
    text-align: center;
}

.timeline-compact {
    border-left: 1px solid var(--gold);
    margin-left: 8px;
    padding-left: 18px;
}

.timeline-dot-card {
    background: rgba(21, 27, 43, 0.82);
    border: 1px solid rgba(249, 250, 251, 0.08);
    margin-bottom: 8px;
    padding: 10px 14px;
    position: relative;
}

.timeline-dot-card::before {
    background: var(--gold-hover);
    border-radius: 999px;
    content: "";
    height: 10px;
    left: -24px;
    position: absolute;
    top: 16px;
    width: 10px;
}

.timeline-dot-card strong,
.timeline-dot-card span,
.timeline-dot-card small {
    display: block;
}

.timeline-dot-card strong {
    color: #fff;
    font-weight: 800;
}

.timeline-dot-card span,
.timeline-dot-card small {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.achievement-list {
    background: rgba(21, 27, 43, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 14px 18px;
}

.achievement-list div {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.achievement-list i {
    color: var(--gold-hover);
    margin-right: 10px;
}

.contact-band {
    padding-bottom: 12px;
}

.form-control,
.form-select,
.input-group-text {
    background-color: var(--bg-input) !important;
    border-color: rgba(212, 175, 55, 0.28) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-label {
    color: var(--text-secondary);
    font-weight: 700;
}

.site-footer {
    background: #070A11;
    border-top: 1px solid rgba(212, 175, 55, 0.44);
    margin-top: 0;
    padding: 22px 0 16px;
}

.portfolio-toast {
    background: #111827;
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
}

@media (max-width: 1199px) {
    .project-grid,
    .skill-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hero-mock {
        padding-top: 88px;
    }

    .profile-stage {
        min-height: 330px;
    }

    .profile-figure {
        height: 330px;
    }

    .gold-ring {
        height: 280px;
        width: 280px;
    }

    .profile-fallback {
        height: 280px;
        width: 220px;
    }

    .project-grid,
    .skill-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .brand-name {
        font-size: 1rem;
    }

    .hero-copy h1 {
        font-size: 3.1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .project-grid,
    .skill-strip {
        grid-template-columns: 1fr;
    }

    .section-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* ============================================================
   Structural hero and typography refinement
   ============================================================ */
body {
    font-family: 'Inter', sans-serif;
    letter-spacing: normal;
    font-stretch: normal;
}

.hero-section {
    min-height: calc(100vh - 80px);
    padding: 120px 0 80px;
    background:
        radial-gradient(circle at 72% 42%, rgba(212, 175, 55, 0.14), transparent 24%),
        #0B0F19;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.36);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 720px;
}

.hero-eyebrow {
    color: #F5C542;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: normal;
    margin-bottom: 8px;
}

.hero-title {
    color: #F9FAFB;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.4rem, 7vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 0.95;
    margin: 0 0 18px;
}

.hero-title span {
    color: #F5C542;
}

.hero-subtitle {
    color: #F9FAFB;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.08rem, 1.7vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.35;
    margin: 0 0 14px;
    max-width: 680px;
}

.hero-description {
    color: #D1D5DB;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 620px;
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-actions .btn {
    min-width: 160px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

.hero-contact {
    display: grid;
    gap: 8px;
    margin: 26px 0 0;
    padding: 0;
}

.hero-contact li {
    color: #D1D5DB;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
}

.hero-contact i {
    color: #F5C542;
    width: 18px;
    text-align: center;
}

.hero-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.hero-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(249, 250, 251, 0.1);
    border: 1px solid rgba(249, 250, 251, 0.12);
    color: #F9FAFB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-socials a:hover {
    color: #0B0F19;
    background: #D4AF37;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.profile-frame {
    width: 430px;
    height: 430px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #D4AF37;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #F5C542;
    font-size: 5rem;
}

.profile-placeholder strong {
    color: #F9FAFB;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 96px 0 54px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        text-align: center;
    }

    .hero-copy {
        max-width: none;
        margin: 0 auto;
    }

    .hero-description,
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-contact li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .profile-frame {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 88px 0 44px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }
}
