/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #070a13;
    --bg-secondary: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(26, 36, 56, 0.9);
    
    --primary: #00f2fe;      /* Neon Teal/Cyan */
    --primary-rgb: 0, 242, 254;
    --secondary: #4facfe;    /* Bright Blue */
    --accent: #7f00ff;       /* Electric Purple */
    --accent-rgb: 127, 0, 255;
    
    --text-primary: #f3f4f6;  /* Off-White */
    --text-muted: #9ca3af;    /* Cool Gray */
    --text-dark: #4b5563;     /* Dark Gray */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.3);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-dark: linear-gradient(180deg, var(--bg-dark), var(--bg-secondary));
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
    
    /* Layout Variables */
    --nav-height: 80px;
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Fonts */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Webkit Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 4px;
    transition: var(--transition-smooth);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ==========================================================================
   LAYOUT CONTAINERS & HELPER CLASSES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clean-list {
    list-style: none;
}

.text-purple { color: #a855f7 !important; }
.text-teal { color: #14b8a6 !important; }
.text-cyan { color: #06b6d4 !important; }
.text-red { color: #ef4444 !important; }
.text-green { color: #22c55e !important; }
.text-blue { color: #3b82f6 !important; }
.text-yellow { color: #eab308 !important; }
.text-orange { color: #f97316 !important; }

/* ==========================================================================
   PARTICLE CANVAS BACKGROUND
   ========================================================================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor-dot,
.custom-cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary);
    opacity: 0.5;
}

/* Hover state for links */
.custom-cursor-hover .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}
.custom-cursor-hover .custom-cursor-outline {
    transform: translate(-50%, -50%) scale(1.3);
    border-color: var(--accent);
    opacity: 0.8;
}

/* Hide default cursor on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
}
@media (max-width: 768px) {
    .custom-cursor-dot,
    .custom-cursor-outline {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* ==========================================================================
   HEADER / NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(7, 10, 19, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    background-color: rgba(7, 10, 19, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-hero);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Button link inside nav */
.nav-link.nav-btn {
    padding: 10px 24px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.nav-link.nav-btn:hover {
    background: var(--gradient-hero);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-link.nav-btn::after {
    display: none;
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.greetings-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.07);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.typed-text {
    color: var(--secondary);
    font-family: var(--font-mono);
}

.typed-cursor {
    color: var(--primary);
    font-weight: 300;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

/* CV Dropdown */
.cv-dropdown-wrapper {
    position: relative;
}

.cv-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 220px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 10;
    padding: 8px 0;
}

.cv-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.hero-socials {
    display: flex;
    gap: 20px;
}

.hero-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.hero-socials a:hover {
    color: var(--bg-dark);
    background: var(--gradient-hero);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

/* Hero Avatar Container */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-glow-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    filter: blur(25px);
    opacity: 0.35;
    animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-wrapper {
    position: relative;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-smooth);
    background-color: var(--bg-secondary);
}

.avatar-wrapper:hover .avatar-img {
    transform: scale(1.05);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.iot-badge {
    top: 15%;
    left: -20px;
    border-left: 3px solid var(--primary);
}

.dev-badge {
    bottom: 15%;
    right: -20px;
    border-right: 3px solid var(--accent);
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 2;
}

.mouse-scroll {
    width: 28px;
    height: 46px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-scroll .wheel {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(18px); opacity: 0; }
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-hero);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-overview-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.about-highlight-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.4;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

/* Stats Cards */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.stat-icon {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
    background: rgba(0, 242, 254, 0.05);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Details Section (Education & Skills/Contact) */
.about-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.sub-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.sub-section-title i {
    color: var(--primary);
}

.education-card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-card {
    display: flex;
    gap: 20px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition-smooth);
}

.edu-card:hover {
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.05);
}

.edu-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 12px;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.edu-details {
    flex-grow: 1;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.edu-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.badge-accent {
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
}

.edu-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.edu-score {
    font-size: 13px;
    color: var(--text-muted);
}

.edu-score strong {
    color: var(--primary);
}

/* About Cards Subgrid */
.about-cards-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-interactive-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-interactive-card:hover {
    transform: translateY(-5px);
    border-color: rgba(127, 0, 255, 0.2);
    box-shadow: 0 10px 25px rgba(127, 0, 255, 0.08);
}

.card-icon-header {
    font-size: 28px;
    margin-bottom: 16px;
}

.about-interactive-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.full-width-card {
    grid-column: span 2;
}

/* List with check icons */
.clean-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Language progress bars & animation on reveal */
.lang-progress {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lang-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide bars before interactive card is revealed active */
.about-interactive-card:not(.active) .progress-bar-fill {
    width: 0 !important;
}

/* Quick info grid card */
.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quick-info-item i {
    font-size: 18px;
    color: var(--primary);
    width: 36px;
    height: 36px;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quick-title {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.quick-desc {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(0, 242, 254, 0.15);
    top: 0;
    bottom: 0;
    left: 40px;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* Timeline dot */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    left: 40px;
    margin-left: -8px;
    top: 24px;
    z-index: 2;
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* Timeline date badge */
.timeline-date {
    position: absolute;
    left: -100px;
    top: 20px;
    width: 120px;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: none; /* Hidden on mobile by default, handled by media queries */
}

/* Card Glow Effect */
.card-glow {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-left: 80px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0;
    transition: var(--transition-smooth);
}

.timeline-item:hover .card-glow {
    border-color: rgba(0, 242, 254, 0.25);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 242, 254, 0.05);
}

.timeline-item:hover .card-glow::before {
    opacity: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.company-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

.company-name a {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.company-name a i {
    font-size: 12px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.job-duties {
    list-style: none;
}

.job-duties li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.job-duties li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.05);
}

.project-img-wrapper {
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.project-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.gradient-1 { background: linear-gradient(135deg, #00f2fe, #4facfe); }
.gradient-2 { background: linear-gradient(135deg, #4facfe, #7f00ff); }
.gradient-3 { background: linear-gradient(135deg, #7f00ff, #ff007f); }

.project-card:hover .project-gradient-overlay {
    opacity: 0.35;
}

.project-icon-box {
    font-size: 40px;
    color: var(--text-primary);
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.project-card:hover .project-icon-box {
    transform: scale(1.1);
    color: var(--primary);
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-category {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.project-year {
    font-size: 12px;
    color: var(--text-muted);
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-features {
    list-style: none;
    margin-bottom: 24px;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.project-features li i {
    color: var(--primary);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.project-tech-stack {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech-stack span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.project-links {
    margin-top: 18px;
    display: flex;
    gap: 16px;
}

.project-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.project-link:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
    transform: translateX(3px);
}

/* ==========================================================================
   SKILLS & CERTIFICATIONS
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.column-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-title i {
    color: var(--primary);
}

.skills-group {
    margin-bottom: 30px;
}

.group-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border-left: 2px solid var(--primary);
    padding-left: 10px;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 550;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.skill-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.25);
    background: var(--bg-card-hover);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.08);
}

/* Certifications list with vertical scrollbar */
.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 530px;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(127, 0, 255, 0.4) rgba(255, 255, 255, 0.02);
}

.certifications-list::-webkit-scrollbar {
    width: 6px;
}

.certifications-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.certifications-list::-webkit-scrollbar-thumb {
    background: rgba(127, 0, 255, 0.4);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.certifications-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.cert-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition-smooth);
}

.cert-item:hover {
    transform: translateY(-3px);
    border-color: rgba(127, 0, 255, 0.2);
    box-shadow: 0 10px 20px rgba(127, 0, 255, 0.05);
}

.cert-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(127, 0, 255, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #a855f7;
    flex-shrink: 0;
}

.cert-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cert-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cert-issuer {
    font-size: 13px !important;
    font-weight: 600;
    color: var(--primary) !important;
    margin-bottom: 2px;
}

.cert-details {
    font-size: 12px !important;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-panel-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-panel-p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-link-card:hover {
    transform: translateX(5px);
    border-color: rgba(0, 242, 254, 0.2);
    background: var(--bg-card-hover);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.contact-text .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.contact-text .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.02);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

textarea.form-control {
    resize: none;
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    color: var(--primary);
}

.form-status.error {
    color: #ef4444;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background-color: #04060b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-left p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 13px;
    color: var(--text-muted);
}

.designed-by {
    font-size: 12px !important;
    margin-top: 4px;
}

/* ==========================================================================
   ENTRANCE ANIMATION STYLES (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image-container {
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-socials {
        justify-content: center;
    }
    
    .about-overview-grid,
    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .about-cards-subgrid {
        grid-template-columns: 1fr;
    }
    
    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Mobile Navigation menu */
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #0b0f19;
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .nav-link.nav-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Timeline adjustments */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .card-glow {
        margin-left: 45px;
        padding: 20px;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 4px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cv-dropdown-wrapper {
        width: 100%;
    }
    
    .cv-dropdown-menu {
        width: 100%;
    }
    
    .avatar-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .avatar-glow-ring {
        width: 240px;
        height: 240px;
    }
    
    .floating-badge {
        font-size: 11px;
        padding: 8px 14px;
    }
    
    .iot-badge {
        left: -10px;
    }
    
    .dev-badge {
        right: -10px;
    }
}
