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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
}

.loading-title {
    margin-bottom: 4rem;
}

.loading-name {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 50%, #00cc6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    animation: titleGlow 3s ease-in-out infinite alternate, gradientShift 4s ease-in-out infinite;
}

.loading-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #a0a0a0;
    letter-spacing: 2px;
    opacity: 0.8;
    animation: subtitleFade 2s ease-in-out infinite alternate;
}

.loading-bar-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.3) 25%, 
        rgba(0, 255, 136, 0.6) 50%, 
        rgba(0, 255, 136, 0.3) 75%, 
        transparent 100%);
    animation: shimmer 2s ease-in-out infinite;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.loading-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #aaaaaa;
}

#loading-percentage {
    font-weight: 600;
    color: #00ff88;
    min-width: 40px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.loading-label {
    font-weight: 500;
}

.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease 0.5s, visibility 0.8s ease 0.5s;
}

.main-content.show {
    opacity: 1;
    visibility: visible;
}

/* Loading Animations */
@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(0, 204, 106, 0.8));
        transform: scale(1.02);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes subtitleFade {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

html {
    scroll-behavior: smooth;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(5, 15, 35, 0.92) 0%, 
        rgba(10, 25, 50, 0.95) 25%, 
        rgba(15, 30, 60, 0.98) 50%, 
        rgba(10, 25, 50, 0.95) 75%, 
        rgba(5, 15, 35, 0.92) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.3) 25%, 
        rgba(0, 255, 136, 0.6) 50%, 
        rgba(0, 255, 136, 0.3) 75%, 
        transparent 100%) 1;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 255, 136, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.02) 0%, 
        rgba(0, 102, 255, 0.03) 50%, 
        rgba(0, 255, 136, 0.02) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.navbar:hover {
    background: linear-gradient(135deg, 
        rgba(8, 20, 40, 0.95) 0%, 
        rgba(15, 30, 60, 0.98) 25%, 
        rgba(20, 35, 70, 1) 50%, 
        rgba(15, 30, 60, 0.98) 75%, 
        rgba(8, 20, 40, 0.95) 100%);
    border-image: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.5) 20%, 
        rgba(0, 255, 136, 0.8) 50%, 
        rgba(0, 255, 136, 0.5) 80%, 
        transparent 100%) 1;
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 30px rgba(0, 255, 136, 0.1);
    transform: translateY(-1px);
}

.navbar:hover::before {
    opacity: 1;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #00ff88;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 2rem;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    color: #00ff88;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    color: #cccccc;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #aaaaaa;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #00ff88;
}

.btn-secondary:hover {
    background: #00ff88;
    color: #000000;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 400px;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

#three-canvas {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Tech icons removed to showcase clean 3D animation */
.tech-icons {
    display: none;
}

.scroll-indicator {
    text-align: center;
    margin-top: 4rem;
    color: #aaaaaa;
}

.scroll-arrow {
    margin-top: 1rem;
    animation: bounce 2s infinite;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: #111111;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.2rem;
    color: #000000;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #aaaaaa;
    font-size: 0.9rem;
    font-weight: 400;
}

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

.image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #00ff88 0%, #0066ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #000000;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    padding: 5px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image-placeholder:hover .profile-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.image-placeholder:hover {
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.4);
    transform: translateY(-5px);
}

/* Projects Section */
.projects {
    background: #0a0a0a;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.project-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.3);
}



.project-image {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
    flex-shrink: 0;
    padding: 10px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .project-image {
    border-color: rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    transform: scale(1.05);
}

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



.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-content p {
    color: #aaaaaa;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.2);
}



.project-links {
    display: flex;
    gap: 0.8rem;
}

.project-link {
    color: #00ff88;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.1);
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

.project-link.disabled {
    color: #666666;
    border-color: #444444;
    background: rgba(68, 68, 68, 0.1);
    cursor: not-allowed;
}

.project-link.disabled:hover {
    background: rgba(68, 68, 68, 0.1);
    border-color: #444444;
}

@keyframes borderGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Blog Section */
.blog {
    background: linear-gradient(135deg, #111111 0%, #0d0d0d 100%);
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.blog-welcome {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.blog-welcome h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.blog-welcome p {
    font-size: 1.1rem;
    color: #aaaaaa;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Timeline */
.blog-timeline {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
    transform: translateY(-5px);
}

.timeline-date {
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-description {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-description strong {
    color: #00ff88;
    font-weight: 600;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: #00ff88;
    font-weight: 500;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    color: #00ff88;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timeline-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 102, 255, 0.2) 100%);
    border-color: rgba(0, 255, 136, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.timeline-link.disabled {
    color: #888888;
    border-color: #444444;
    background: rgba(68, 68, 68, 0.2);
    cursor: not-allowed;
}

.timeline-link.disabled:hover {
    transform: none;
    color: #888888;
    background: rgba(68, 68, 68, 0.2);
}

.timeline-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.certificate-link {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.certificate-link:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border-color: rgba(255, 193, 7, 0.5);
    color: #ffffff;
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.certificate-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.certificate-modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certificate-modal-header h3 {
    color: #ffc107;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.certificate-modal-close {
    background: none;
    border: none;
    color: #aaaaaa;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.certificate-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.certificate-modal-body {
    padding: 1rem;
    text-align: center;
    max-height: 70vh;
    overflow-y: auto;
}

.certificate-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.certificate-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .certificate-modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .certificate-modal-header {
        padding: 1rem 1.5rem 0.5rem;
    }
    
    .certificate-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .certificate-modal-body {
        padding: 0.5rem;
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .timeline-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.3rem;
    }
    
    .timeline-description {
        font-size: 0.95rem;
    }
    
    .timeline-tags {
        gap: 0.4rem;
    }
    
    .tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

.blog-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 0;
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.3);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.blog-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-date {
    color: #aaaaaa;
    font-size: 0.8rem;
}

.blog-category {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.blog-excerpt {
    color: #aaaaaa;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.blog-link {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    cursor: not-allowed;
}

.blog-link.disabled {
    color: #666666;
    border-color: #444444;
}

/* Blog Highlights */
.blog-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.highlight-item {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: #00ff88;
    font-weight: 500;
}

.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-excerpt strong {
    color: #00ff88;
    font-weight: 600;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #111111 0%, #0d0d0d 100%);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.skills-category {
    position: relative;
}

.skills-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #00ff88;
    position: relative;
    padding-bottom: 0.5rem;
}

.skills-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88 0%, #0066ff 100%);
    border-radius: 2px;
}

.skills-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 102, 255, 0.2) 100%);
    transition: width 0.4s ease;
    border-radius: 15px;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover::after {
    width: 100%;
}

.skill-item:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.15);
}

.skill-item i {
    font-size: 2rem;
    color: #00ff88;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    min-width: 40px;
    text-align: center;
}

.skill-item:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
}

.skill-item span {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.skill-item:hover span {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Skill level indicators */
.skill-item[data-level="expert"]::after {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3) 0%, rgba(0, 200, 100, 0.3) 100%);
}

.skill-item[data-level="intermediate"]::after {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.3) 0%, rgba(0, 102, 255, 0.3) 100%);
}

.skill-item[data-level="beginner"]::after {
    background: linear-gradient(135deg, rgba(100, 100, 255, 0.3) 0%, rgba(150, 50, 255, 0.3) 100%);
}

/* Contact Section */
.contact {
    background: #0a0a0a;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.contact-item i {
    font-size: 1.2rem;
    color: #00ff88;
    width: 20px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: #cccccc;
    margin: 0;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.social-link:hover {
    background: #00ff88;
    color: #000000;
    transform: translateY(-3px);
}

.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #333333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border-left: 4px solid #00ff88;
}

.contact-note p {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-note i {
    color: #00ff88;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: #000000;
    padding: 2rem 0;
    border-top: 1px solid #333333;
}

.footer-content {
    text-align: center;
}

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

.footer-copyright {
    color: #cccccc;
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-social-link:hover {
    background: #00ff88;
    color: #000000;
    transform: translateY(-2px);
}

.footer-quote {
    color: #00ff88;
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-social {
        order: 1;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .name {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-content {
        grid-template-columns: 1fr;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

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

    .image-container {
        width: 300px;
        height: 300px;
    }

    .tech-icons {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .image-container {
        width: 250px;
        height: 250px;
    }

    .tech-icons {
        font-size: 1.5rem;
        gap: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

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