/* ==========================================================================
   PREMIUM LUXURY DESIGN SYSTEM (OBSIDIAN & GOLD)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #050507;
    --bg-light: #0d0d12;
    --bg-card: rgba(18, 18, 24, 0.65);
    --bg-nav: rgba(5, 5, 7, 0.8);
    
    /* Luxury Gold Gradients & Accent Colors */
    --gold-primary: #bf953f;
    --gold-light: #fcf6ba;
    --gold-dark: #aa771c;
    --accent-gold: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --accent-glow: rgba(212, 175, 55, 0.12);
    
    /* Text Colors */
    --text-main: #f5f5f7;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    /* Layout & Styling */
    --border-color: rgba(212, 175, 55, 0.08);
    --border-hover: rgba(212, 175, 55, 0.35);
    --card-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    --glow-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Cinzel', serif;
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary));
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ===== UTILITY & CLASS DESIGN SYSTEM ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 120px 0 80px;
    position: relative;
    z-index: 2;
}

.text-gold {
    background: var(--accent-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.text-shimmer {
    background: linear-gradient(to right, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--card-shadow), var(--glow-shadow);
}

/* Section Main Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* ===== ANIMATED CURSOR ===== */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold-primary);
}

/* ===== BUTTON SYSTEM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    color: var(--bg-dark);
    border: none;
    background: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(191, 149, 63, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(191, 149, 63, 0.5), var(--glow-shadow);
}

.btn-secondary {
    color: var(--text-main);
    background: transparent;
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    color: var(--bg-dark);
    border-color: transparent;
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.sticky {
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

header.sticky .main-nav {
    height: 70px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    font-family: var(--font-heading);
    background: var(--accent-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    margin-left: 2px;
}

.navbar {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.navbar li a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.navbar li a:hover,
.navbar li a.active {
    color: var(--text-main);
    background: rgba(212, 175, 55, 0.08);
}

.navbar li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.navbar li a:hover::after,
.navbar li a.active::after {
    width: 40%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* Animated radial lights in hero */
.home::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.07) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    z-index: -1;
    pointer-events: none;
}

.home::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    bottom: 10%;
    right: 5%;
    z-index: -1;
    pointer-events: none;
}

.back-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    opacity: 0.15;
}

#canvas-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.home-text {
    text-align: center;
    max-width: 900px;
    z-index: 2;
    padding: 0 1.5rem;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.04);
}

.home-text h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 25px;
}

.home-text h1 span.serif-name {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
}

.home-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 60px;
    align-items: center;
}
.about-img-container {
    position: relative;
    border-radius: 30px;
    overflow: visible;
}

.about-img-container::before {
    content: fit-content;
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    border-radius: 30px;
    z-index: -1;
    transition: var(--transition);
}

.about-img-container:hover::before {
    top: 10px;
    left: -10px;
}

.about-img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    filter: brightness(0.9) contrast(1.05);
}

.about-img-container:hover .about-img {
    filter: brightness(1.05) contrast(1);
    transform: scale(1.02);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.about-disciplines {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.discipline-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.discipline-card i {
    color: var(--gold-primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.discipline-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.discipline-card:hover i {
    transform: scale(1.2);
}

/* ===== TECHNICAL LANGUAGES ===== */
.languages-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.lang-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
}

.lang-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.lang-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0.9) grayscale(20%);
    transition: var(--transition);
}

.lang-card:hover .lang-icon-wrapper {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--border-hover);
    box-shadow: var(--glow-shadow);
}

.lang-card:hover .lang-icon {
    filter: brightness(1.1) grayscale(0%);
    transform: scale(1.1);
}

.lang-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ===== TIMELINE (EXPERIENCE) ===== */
.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    padding-left: 30px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-primary) 0%, rgba(212, 175, 55, 0.1) 100%);
}

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

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

.timeline-node {
    position: absolute;
    left: -37px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-node {
    background: var(--gold-light);
    transform: scale(1.3);
}

.timeline-content {
    padding: 30px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.timeline-header h3 span {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.timeline-org {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-org i {
    color: var(--gold-primary);
    font-size: 0.95rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.timeline-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1.2rem;
    line-height: 1;
}

/* ===== SKILLS SECTION ===== */
.skills-section {
    background-color: var(--bg-light);
}

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

.skill-card {
    padding: 40px 30px;
    text-align: center;
}

.skill-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: var(--transition);
}

.skill-card:hover .skill-icon-box {
    background: var(--accent-gold);
    border-color: transparent;
    box-shadow: var(--glow-shadow);
}

.skill-card:hover .skill-icon-box img {
    filter: brightness(0);
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

/* ===== ACHIEVEMENTS ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.achievement-card {
    overflow: hidden;
}

.ach-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.ach-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.achievement-card:hover .ach-img-wrapper img {
    transform: scale(1.08);
}

.ach-body {
    padding: 30px;
}

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

.achievement-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PROJECTS (PORTFOLIO) ===== */
.projects-section {
    background-color: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.8;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
    opacity: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 5, 7, 0.9) 0%, rgba(5, 5, 7, 0.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.project-link-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-shadow);
}

.project-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-meta {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.project-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.project-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== POSITIONS & VOLUNTEER ===== */
.por-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.por-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.por-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.por-body {
    padding: 30px;
    text-align: center;
}

.por-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.por-body h6 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
}

/* ===== GALLERY PREVIEW ===== */
.photos-preview-section {
    background-color: var(--bg-light);
    text-align: center;
}

.photos-preview-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
}

.photos-preview-card p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.contact-item span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: var(--glow-shadow);
}

.contact-item:hover span {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--bg-dark);
    background: var(--accent-gold);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

/* Contact Form Styling */
.contact-form {
    padding: 45px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.form-group textarea {
    resize: none;
    min-height: 140px;
}

.form-btn {
    width: 100%;
    border: none;
    padding: 16px;
    font-size: 1rem;
}

/* Form Success & Error Alerts */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    animation: fadeIn 0.4s ease;
    position: relative;
}

.form-message.hidden {
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.form-message i {
    font-size: 1.2rem;
}

.close-message {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}

.close-message:hover {
    opacity: 1;
}

/* ===== TOOLS & TECH GRID ===== */
.tools-section {
    background-color: var(--bg-light);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tool-card {
    padding: 25px 15px;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tool-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: brightness(0.8) grayscale(30%);
    transition: var(--transition);
}

.tool-card span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.tool-card:hover {
    background: rgba(212, 175, 55, 0.04);
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.tool-card:hover img {
    filter: brightness(1.1) grayscale(0%);
    transform: scale(1.05);
}

.tool-card:hover span {
    color: var(--text-main);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Back to Top button */
.top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.top.active {
    opacity: 1;
    visibility: visible;
}

.top-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.top-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gold);
    width: 0;
    z-index: 1002;
    transition: width 0.1s ease;
}

/* ===== REVEAL INTERSECT ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== LIGHTBOX SYSTEM (GALLERY) ===== */
.photos-section {
    padding-top: 140px;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 7, 0.9) 0%, rgba(5, 5, 7, 0.2) 100%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.gallery-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 7, 0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: var(--transition);
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.08);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-main);
    font-size: 2.8rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold-primary);
    opacity: 1;
    transform: rotate(90deg);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .home-text h1 { font-size: 4.2rem; }
    .about-grid { gap: 40px; }
}

@media (max-width: 992px) {
    section { padding: 90px 0 60px; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-img-container {
        max-width: 400px;
        margin: 0 auto;
    }
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    .achievements-grid {
        grid-template-columns: 1fr 1fr;
    }
    .por-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 7, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px 0;
        gap: 5px;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    header.sticky .navbar {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .navbar.active {
        transform: translateY(0);
    }

    .navbar li {
        width: 100%;
        text-align: center;
    }

    .navbar li a {
        display: block;
        padding: 15px;
        font-size: 1.05rem;
    }
    
    .navbar li a::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hamburger Active Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    body.menu-open {
        overflow: hidden;
    }

    .home-text h1 { font-size: 3.2rem; }
    .home-text h3 { font-size: 1.4rem; }
    .hero-btns { flex-direction: column; gap: 15px; align-items: center; }
    .btn { width: 100%; max-width: 320px; }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .timeline-date {
        align-self: flex-start;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .home-text h1 { font-size: 2.6rem; }
    .about-text h3 { font-size: 1.8rem; }
    .about-disciplines { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: 1fr; }
    .por-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title h2 { font-size: 2.2rem; }
    .lightbox { padding: 15px; }
    .lightbox-close { top: 15px; right: 15px; font-size: 2rem; }
}