/* Portfolio Website - Main Styles */

/* ===== PAGE LOADER STYLES ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1929 0%, #0f2744 50%, #1a2332 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

#svg-loader {
    zoom: 1.5;
    overflow: visible;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.3));
}

/* Loader Text */
.loader-text {
    color: #00f2ff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: loader-pulse-text 2s ease-in-out infinite;
    font-family: 'Montserrat', sans-serif;
}

@keyframes loader-pulse-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Loader Progress Bar */
.loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f2ff, #7d5fff);
    border-radius: 3px;
    animation: loader-progress-anim 1.8s ease-in-out forwards;
}

@keyframes loader-progress-anim {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Loader SVG Animations */
@keyframes loader-fade-particles {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes loader-floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

#loader-particles {
    animation: loader-fade-particles 5s infinite alternate;
}

.loader-particle {
    animation: loader-floatUp linear infinite;
}

.lp1 { animation-duration: 2.2s; animation-delay: 0s; }
.lp2 { animation-duration: 2.5s; animation-delay: 0.3s; }
.lp3 { animation-duration: 2s; animation-delay: 0.6s; }
.lp4 { animation-duration: 2.8s; animation-delay: 0.2s; }
.lp5 { animation-duration: 2.3s; animation-delay: 0.4s; }
.lp6 { animation-duration: 3s; animation-delay: 0.1s; }
.lp7 { animation-duration: 2.1s; animation-delay: 0.5s; }
.lp8 { animation-duration: 2.6s; animation-delay: 0.2s; }
.lp9 { animation-duration: 2.4s; animation-delay: 0.3s; }

@keyframes loader-bounce-lines {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

#loader-line-v1, #loader-line-v2, #loader-node-server, #loader-panel-right, #loader-reflectores, #loader-particles {
    animation: loader-bounce-lines 3s ease-in-out infinite alternate;
}

#loader-line-v2 { animation-delay: 0.2s; }
#loader-node-server, #loader-panel-right, #loader-reflectores, #loader-particles { animation-delay: 0.4s; }

/* Mobile Loader Adjustments */
@media (max-width: 768px) {
    #svg-loader {
        zoom: 1.2;
    }
    
    .loader-text {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .loader-progress {
        width: 160px;
    }
}

/* ===== END PAGE LOADER STYLES ===== */

/* CSS Variables */
:root {
    /* Primary Palette */
    --primary-color: #3a6ea5;
    --primary-light: #4d85bd;
    --primary-dark: #2a5080;
    
    /* New Vibrant Accents - Electric Cyan & Violet */
    --accent-color: #00f2ff;
    --accent-bright: #00c3ff;
    --accent-secondary: #7d5fff; /* Added for gradients */
    
    /* Text Colors */
    --text-light: #ffffff;
    --text-muted: #b8d4e3;
    --text-dark: #212529;
    --text-secondary: #a0aec0; /* Slightly lighter for better contrast on dark */
    
    /* Backgrounds */
    --bg-dark: #0a1929;
    --bg-darker: #050c14;
    
    /* Glassmorphism & Gradients */
    --card-bg: rgba(15, 30, 50, 0.65); /* Darker, transparent base for glass */
    --card-border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3a6ea5 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-bright) 100%);
    --gradient-glow: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    
    /* Shadows & Effects */
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-hover: 0 15px 50px rgba(0, 242, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 242, 255, 0.4);
    
    --backdrop-blur: blur(12px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    background: linear-gradient(135deg, #0a1929 0%, #0f2744 50%, #1a2332 100%);
    min-height: 100vh;
    color: var(--text-light);
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, span, div, input, button, textarea, a {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Neural Network Canvas */
#neural-network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

/* Header/Navigation Styles */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    background: rgba(10, 25, 41, 0.7); /* Increased transparency */
    backdrop-filter: var(--backdrop-blur); /* Strong blur */
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.company-info h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    background: linear-gradient(90deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 10px;
    transition: var(--transition);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 12, 20, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 60px; /* Space for top items if needed */
    }

    .nav-links.active {
        right: 0;
    }
    
    /* Hamburger Animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--accent-color);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--accent-color);
    }
    
    /* Overlay for when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(2px);
    }
    
    .overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 10;
    padding: 12rem 3rem 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.profile-photo-container {
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Availability Badge */
.availability-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 20px 60px rgba(91, 163, 208, 0.4);
    position: relative;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4px;
}

.profile-photo:hover {
    box-shadow: 0 25px 70px rgba(91, 163, 208, 0.6);
    border-color: var(--accent-bright);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: var(--bg-dark);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-color) 50%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
    min-height: 6rem;
    text-align: center;
    text-shadow: 0 0 40px rgba(0, 242, 255, 0.3); /* Subtle glow */
}

/* Ensure typed text is visible even if gradient fails */
.hero-title #typed-text {
    display: inline;
}

.typing-cursor {
    display: inline;
    color: var(--accent-bright);
    margin-left: 0;
    font-weight: 400;
    font-size: 1em;
    visibility: hidden;
    /* Override parent gradient text properties */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--accent-bright) !important;
    background-clip: initial !important;
    vertical-align: baseline;
}

/* Show and blink when the typing animation is complete */
.typing-cursor.blink {
    visibility: visible;
    animation: cursorBlink 0.8s step-start infinite;
}

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

.hero-subtitle {
    font-size: 2rem;
    color: var(--accent-bright);
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(15, 30, 50, 0.6);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 1.3s ease-out;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: var(--text-dark); /* Changed for better contrast on bright accent */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
    color: #000;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button-secondary {
    background: rgba(0, 242, 255, 0.05);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.scroll-indicator {
    margin-top: 4rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--accent-color);
}

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

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

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 10;
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.section-alt {
    background: rgba(10, 25, 41, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-color) 50%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 3rem;
}

.about-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: var(--card-border);
    transition: var(--transition);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-card);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    /* Static card - no hover effects */
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    cursor: default;
}

.about-card-title {
    font-size: 1.8rem;
    color: var(--accent-bright);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
}

.about-card-title i {
    color: var(--accent-bright);
}

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

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.achievement-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Tools Grid (Skills & Projects) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.tool-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-card);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* For glow effects */
}

/* Inner glow element for glass effect - only for clickable cards */
.tool-card.clickable-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}

.tool-card.clickable-card:hover::before {
    opacity: 1;
}

/* Only clickable project cards get hover effects */
.tool-card.clickable-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

/* Static Tool Cards (Skills) - No Hover Effect */
.tool-card:not(.clickable-card):hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    cursor: default;
}

.tool-card.no-hover-animation:hover .tool-icon {
    transform: none;
    box-shadow: none;
}

.tool-card.no-hover-animation:hover .project-icon {
    transform: none;
    box-shadow: none;
}

.tool-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Only clickable cards get icon hover effects */
.tool-card.clickable-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    border-color: var(--accent-color);
    background: rgba(0, 242, 255, 0.1);
}

.tool-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
    transition: var(--transition);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.tool-card.clickable-card:hover .tool-icon i {
    color: var(--text-light);
    text-shadow: 0 0 20px var(--accent-color);
}

.tool-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-bright);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tool-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    flex-grow: 1;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.skill-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Languages and Soft Skills in Education Section */
.languages-soft-skills-section {
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.cert-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(58, 110, 165, 0.3);
    transition: var(--transition);
}

.cert-card:hover {
    /* Static card - no hover effects */
    transform: none;
    border-color: rgba(58, 110, 165, 0.3);
    box-shadow: var(--shadow-card);
    cursor: default;
}

.cert-title {
    font-size: 1.5rem;
    color: var(--accent-bright);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
}

.cert-title i {
    color: var(--accent-color);
}

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


.skill-category-title {
    color: var(--accent-bright);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.language-list,
.soft-skills-list {
    list-style: none;
    padding: 0;
}

.language-list li,
.soft-skills-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.language-list li::before {
    content: '🌐';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.soft-skills-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(58, 110, 165, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(58, 110, 165, 0.2);
}

.interest-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 10px;
    flex-shrink: 0;
}

.interest-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.interest-name {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* Certifications Grid */
.certifications-grid {
    margin-top: 4rem;
}

.certifications-heading {
    font-size: 2.5rem;
    color: var(--accent-bright);
    margin-bottom: 3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.certifications-heading i {
    color: var(--accent-color);
}

.cert-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.cert-link:hover {
    text-decoration: none;
}

.cert-link-disabled {
    display: block;
    cursor: default;
}

.cert-link-disabled .cert-item-card {
    cursor: default;
}

.cert-link-disabled .cert-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.cert-link-disabled:hover .cert-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(58, 110, 165, 0.4);
}

.cert-item-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(58, 110, 165, 0.3);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.cert-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
    cursor: pointer;
}

.cert-link:hover .cert-item-card {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.cert-item-card:hover .cert-icon, .cert-link:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    border-color: var(--accent-color);
    background: rgba(0, 242, 255, 0.1);
}

.cert-icon i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.cert-item-card:hover .cert-icon i, .cert-link:hover .cert-icon i {
    color: var(--text-light);
    text-shadow: 0 0 20px var(--accent-color);
}

.cert-name {
    font-size: 1.2rem;
    color: var(--accent-bright);
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-issuer {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cert-code {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cert-year {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.text-muted {
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
}

/* Project Cards - Clickable Indicator */
.clickable-card {
    position: relative;
    cursor: pointer;
    padding-bottom: 3.5rem; /* Extra space for indicator */
}

.clickable-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.click-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    width: 90%;
}

.clickable-card:hover .click-indicator {
    opacity: 1;
}

.click-indicator i {
    margin-right: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 41, 0.97);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(10, 25, 41, 0.9); /* More transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 2% auto;
    padding: 2.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 24px;
    width: 95%;
    max-width: 1500px;
    max-height: 94vh;
    position: relative;
    animation: slideDown 0.4s ease;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

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

.modal-close {
    color: var(--text-light);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 10;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--accent-bright);
    transform: rotate(90deg) scale(1.1);
}

.modal-close:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.modal-title {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Architecture Flow - Clean Grid Layout */
.architecture-flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
    max-width: 100%;
}

.arch-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.arch-step-wrapper {
    flex: 1;
    max-width: 380px;
    min-width: 380px;
}

.arch-step {
    background: rgba(58, 110, 165, 0.12);
    border: 2px solid rgba(91, 163, 208, 0.3);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    width: 100%;
}

.arch-step:hover {
    border-color: var(--accent-bright);
    background: rgba(58, 110, 165, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(91, 163, 208, 0.25);
}

.arch-number {
    position: absolute;
    top: -16px;
    left: 1.5rem;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid #0a1929;
    box-shadow: 0 4px 12px rgba(91, 163, 208, 0.4);
}

.arch-content {
    padding-top: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.arch-content h4 {
    color: var(--accent-bright);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.arch-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.highlight {
    color: var(--accent-bright);
    font-weight: 600;
}

.arch-arrow-horizontal {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: bold;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.arch-arrow-vertical {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0.5rem 0;
}

/* Tech Stack Section in Modal */
.tech-stack {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(91, 163, 208, 0.3);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tech-label {
    color: var(--accent-bright);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(58, 110, 165, 0.2);
    border: 1px solid rgba(91, 163, 208, 0.4);
    border-radius: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(91, 163, 208, 0.3);
    border-color: var(--accent-bright);
    transform: translateY(-2px);
}

/* Testing Platform Modal Styles */
.testing-platform-description {
    text-align: center;
    margin-bottom: 1.5rem;
}

.testing-platform-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.testing-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.testing-module-card {
    background: rgba(58, 110, 165, 0.12);
    border: 2px solid rgba(91, 163, 208, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testing-module-card:hover {
    border-color: var(--accent-bright);
    background: rgba(58, 110, 165, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91, 163, 208, 0.25);
}

.module-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.testing-module-card:hover .module-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(91, 163, 208, 0.4);
}

.module-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.module-title {
    color: var(--accent-bright);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.module-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .modal-content {
        padding: 2.5rem 2rem;
    }

    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .architecture-flow {
        gap: 1.2rem;
    }

    .arch-row {
        gap: 1rem;
    }

    .arch-step-wrapper {
        max-width: 300px;
        min-width: 300px;
    }

    .arch-step {
        min-height: 160px;
        padding: 1.5rem 1.25rem;
    }

    .arch-arrow-horizontal {
        font-size: 2rem;
    }

    .arch-arrow-vertical {
        font-size: 2rem;
    }

    .arch-content h4 {
        font-size: 1rem;
    }

    .arch-content p {
        font-size: 0.85rem;
    }

    .tech-stack {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .testing-modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 3% auto;
        padding: 2rem 1.5rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .architecture-flow {
        gap: 1.5rem;
    }

    .arch-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .arch-step-wrapper {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .arch-step {
        min-height: 140px;
        padding: 1.5rem 1rem;
    }

    .arch-arrow-horizontal {
        transform: rotate(90deg);
        font-size: 2rem;
        margin: 0;
    }

    .arch-arrow-vertical {
        font-size: 2rem;
    }

    .arch-content h4 {
        font-size: 1rem;
    }

    .arch-content p {
        font-size: 0.85rem;
    }

    .arch-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: -14px;
    }

    .click-indicator {
        font-size: 0.8rem;
        bottom: 0.5rem;
    }

    .tech-stack {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .tech-label {
        margin-bottom: 0;
    }

    .testing-modules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testing-platform-description p {
        font-size: 1rem;
    }
}

/* Experience Section */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.experience-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(58, 110, 165, 0.3);
    margin-bottom: 2.5rem;
    margin-left: 2rem;
    position: relative;
    transition: var(--transition);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-card);
}

.experience-card::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 3rem;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 0 4px rgba(58, 110, 165, 0.3);
}

.experience-card:hover {
    /* Static card - no hover effects */
    transform: none;
    border-color: rgba(58, 110, 165, 0.3);
    box-shadow: var(--shadow-card);
    cursor: default;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.experience-title {
    font-size: 1.8rem;
    color: var(--accent-bright);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
}

.experience-company {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.experience-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.experience-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Projects Section */
.project-card {
    min-height: 550px;
}

.project-card.clickable-card {
    min-height: 570px; /* Extra height for click indicator */
}

.project-icon {
    background: var(--gradient-accent);
}

.project-features {
    margin-top: auto;
}

.clickable-card .project-features {
    margin-bottom: 2rem; /* Extra space for click indicator */
}

.project-features p {
    color: var(--accent-bright);
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Education Section */
.education-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(58, 110, 165, 0.3);
    transition: var(--transition);
}

.education-card:hover {
    /* Static card - no hover effects */
    transform: none;
    border-color: rgba(58, 110, 165, 0.3);
    box-shadow: var(--shadow-card);
    cursor: default;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.education-title {
    font-size: 2rem;
    color: var(--accent-bright);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
}

.education-school {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.education-details {
    color: var(--text-secondary);
    font-size: 1rem;
}

.education-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.education-thesis {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(58, 110, 165, 0.2);
}

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

.education-thesis strong {
    color: var(--accent-bright);
}

.thesis-grade {
    color: var(--accent-color) !important;
    font-weight: 600;
    font-size: 1.2rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thesis-grade i {
    color: #ffc107;
}

/* Contact Section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(58, 110, 165, 0.3);
}

.contact-button:hover {
    /* Static button - no hover effects */
    transform: none;
    box-shadow: 0 10px 30px rgba(58, 110, 165, 0.3);
    background: var(--gradient-primary);
    cursor: default;
}

.contact-button i {
    font-size: 1.3rem;
}

.contact-button-cv {
    background: rgba(58, 110, 165, 0.2);
    border: 2px solid var(--accent-color);
}

.contact-button-cv:hover {
    background: var(--gradient-primary);
    border-color: var(--accent-bright);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 25, 41, 0.5);
    position: relative;
    z-index: 10;
}

/* Fade-in Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cert-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 10rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
        min-height: auto;
        line-height: 1.3;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

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

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .hero-content-wrapper {
        gap: 2rem;
    }

    .main-container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .about-card {
        padding: 2rem;
    }

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

    .cert-cards-grid {
        grid-template-columns: 1fr;
    }

    .languages-skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-interests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .certifications-heading {
        font-size: 2rem;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline::before {
        left: 0;
    }

    .experience-card {
        margin-left: 1rem;
        padding: 2rem;
    }

    .experience-card::before {
        left: -2.5rem;
    }

    .experience-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .experience-date {
        font-size: 0.9rem;
    }

    .education-header {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}/* GitHub Link Styling */
.github-link-container {
    margin-top: 20px;
    text-align: center;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #24292e 0%, #1a1e22 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #30363d;
}

.github-link:hover {
    background: linear-gradient(135deg, #30363d 0%, #24292e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 41, 46, 0.3);
}

.github-link i {
    font-size: 1.2rem;
}

/* Architecture Overview */
.architecture-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.architecture-overview p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* LangGraph State Machine Diagram */
.langgraph-diagram {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #bae6fd;
}

.state-machine-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.state-node {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(58, 110, 165, 0.3);
    transition: all 0.3s ease;
}

.state-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 110, 165, 0.4);
}

.state-node.state-parallel {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    min-width: 350px;
}

.state-node.state-loop {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    position: relative;
}

.state-node.state-end {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.state-node small {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
}

.state-arrow {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.state-arrow-loop {
    color: #f59e0b;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5px;
}

.state-branch {
    display: flex;
    justify-content: center;
    gap: 100px;
    width: 100%;
    margin: 10px 0;
}

.branch-left, .branch-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.state-arrow-diagonal {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsive adjustments for state machine */
@media (max-width: 768px) {
    .state-node {
        min-width: 150px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .state-node.state-parallel {
        min-width: 250px;
    }

    .state-branch {
        flex-direction: column;
        gap: 30px;
    }

    .langgraph-diagram {
        padding: 20px 10px;
    }

    .github-link {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Personal Project Badge */
.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #7d5fff 0%, #bd00ff 100%); /* Violet to Neon Purple */
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(125, 95, 255, 0.4); /* Matching purple glow */
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

/* Ensure project cards have relative positioning for badge */
.project-card {
    position: relative;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 242, 255, 0.5);
}

.back-to-top i {
    color: var(--bg-dark);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* Upcoming/In Progress Certification Badge */
.cert-upcoming {
    position: relative;
    opacity: 0.85;
}

.cert-badge-upcoming {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    z-index: 2;
}

.cert-upcoming .cert-year {
    color: #f59e0b !important;
    font-style: italic;
}

/* LLM Providers Section Styling */
.llm-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.llm-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 15px;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.llm-tag:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: var(--accent-bright);
}

/* Project Tech Tags */
.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(125, 95, 255, 0.15);
    border: 1px solid rgba(125, 95, 255, 0.3);
    border-radius: 12px;
    color: #a78bfa;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.project-tech:hover {
    background: rgba(125, 95, 255, 0.25);
    border-color: rgba(125, 95, 255, 0.5);
}

/* Keyboard focus styles for accessibility */
.clickable-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.clickable-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

