/* CSS Variables for Theme */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #00d4ff;
    --accent-hover: #00b8e6;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(255, 255, 255, 0.03);
    --nav-bg: rgba(10, 10, 10, 0.98);
    --section-bg: #111111;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent-color: #0066cc;
    --accent-hover: #0052a3;
    --accent-gradient: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(0, 0, 0, 0.02);
    --nav-bg: rgba(255, 255, 255, 0.98);
    --section-bg: #f9fafb;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    margin-left: 60px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Main content area adjustment */
main {
    margin-left: 0;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 60px;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.98) 0%, rgba(26, 31, 38, 0.98) 100%);
    backdrop-filter: blur(15px);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
}

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

.side-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8c5d1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.side-link:hover {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.3);
}

.side-link i {
    font-size: 1rem;
}

.side-link::after {
    content: attr(title);
    position: absolute;
    left: 60px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1002;
}

.side-link:hover::after {
    opacity: 1;
}

/* Top Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 60px;
    width: calc(100% - 60px);
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
}

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

.nav-logo a {
    font-size: 2.2rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 3px;
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.nav-logo a:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3);
    color: #f0f0f0;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.theme-toggle {
    margin-right: 1rem;
}

.theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.portfolio-btn {
    margin-left: auto;
    margin-right: 1rem;
}

.btn-portfolio {
    background: linear-gradient(135deg, #4a9eff, #357abd);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-portfolio:hover {
    background: linear-gradient(135deg, #357abd, #2968a3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 6rem;
    align-items: center;
    height: 100vh;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--accent-color);
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 2px;
}

.name-italic {
    font-style: italic;
    font-family: 'Dancing Script', cursive;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
}

.typing-text {
    color: var(--accent-color);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #4a9eff, #357abd);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357abd, #2968a3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

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

.profile-card {
    width: 350px;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(74, 158, 255, 0.5);
}

.profile-img i {
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

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

/* Section Styles */
section {
    padding: 100px 0;
    scroll-margin-top: 80px;
    position: relative;
    z-index: 1;
}

section#home {
    padding-top: 0;
    scroll-margin-top: 0;
    min-height: 100vh;
}

section#about {
    background: var(--section-bg);
    padding: 120px 0;
}

section#skills {
    background: var(--bg-primary);
}

section#projects {
    background: var(--section-bg);
}

section#certificates {
    background: var(--bg-primary);
}

section#experience {
    background: var(--section-bg);
}

section#contact {
    background: var(--bg-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

/* About Section */
.about {
    background: var(--section-bg);
    padding: 120px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-text {
    max-width: 100%;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-highlight {
    margin-bottom: 2rem;
}

.highlight-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-description p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.name-highlight {
    color: var(--accent-color);
    font-weight: 600;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2em;
}

.about-description strong {
    color: var(--accent-color);
    font-weight: 600;
}

.about-skills-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.skill-tag {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Remove old about image styles - no longer needed */

/* Skills Section */
.skills {
    background: var(--bg-primary);
    padding: 100px 0;
}

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

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.skill-category h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.skill-item:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.skill-item:hover span {
    color: white;
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-weight: 500;
    text-align: center;
}

/* Projects Section */
.projects {
    background: var(--section-bg);
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    align-items: start;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: fit-content;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.project-image {
    height: 280px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.project-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

.browser-mockup {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.browser-header {
    height: 30px;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.browser-buttons {
    display: flex;
    gap: 6px;
    margin-right: 12px;
}

.browser-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.btn-close {
    background: #ff5f57;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #28ca42;
}

.browser-url {
    background: #ffffff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    color: #666;
    border: 1px solid #e0e0e0;
    flex: 1;
    max-width: 250px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.browser-content {
    height: calc(100% - 30px);
    position: relative;
    overflow: hidden;
}

.browser-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(0.75);
    transform-origin: top left;
    width: 133.33%;
    height: 133.33%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.browser-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.browser-content iframe[style*="opacity: 1"] + ::before {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px 15px 0 0;
}

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #00d4ff;
}

.overlay-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.project-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.project-tech span {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #4f46e5;
}

/* Certificates Section */
.certificates {
    background: #f9fafb;
}

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

.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.certificate-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.certificate-icon i {
    font-size: 2rem;
    color: white;
}

.certificate-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.certificate-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.certificate-issuer {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #6366f1;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #6366f1;
    border-radius: 50%;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #6366f1;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.timeline-content p {
    color: #6b7280;
    margin-top: 1rem;
    line-height: 1.6;
}

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

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

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

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #6b7280;
}

.contact-item i {
    color: #6366f1;
    font-size: 1.25rem;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4f46e5;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        margin-left: 0;
        font-size: 14px;
    }

    .side-nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 250px;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem 1rem;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    }

    .side-nav.active {
        transform: translateX(0);
    }

    .side-nav-content {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        align-items: stretch;
    }

    .side-link {
        width: 100%;
        height: 50px;
        justify-content: flex-start;
        padding: 0 1rem;
        gap: 1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .side-link i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    .side-link::after {
        content: attr(title);
        position: static;
        background: none;
        color: #b8c5d1;
        padding: 0;
        border-radius: 0;
        font-size: 0.9rem;
        white-space: nowrap;
        opacity: 1;
        pointer-events: auto;
        font-weight: 500;
    }

    .side-link:hover::after {
        color: #4a9eff;
    }

    .navbar {
        left: 0;
        width: 100%;
        padding: 1rem 0;
        background: rgba(15, 20, 25, 0.98) !important;
    }

    .nav-container {
        padding: 0 20px;
        gap: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        width: 80%;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(74, 158, 255, 0.2);
        transform: translateY(-2px);
    }

    .nav-logo a {
        font-size: 1.8rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #ffffff;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .portfolio-btn {
        display: none;
    }

    /* Mobile menu overlay */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Mobile side nav overlay */
    .side-nav.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 0 50px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 30px;
        font-size: 1rem;
    }

    .profile-card {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .about {
        padding: 80px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
    }

    .about-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .highlight-text {
        font-size: 1.1rem;
    }

    .about-skills-preview {
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }

    .timeline-dot {
        left: 10px !important;
    }

    .projects {
        padding: 80px 0;
    }

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

    .project-card {
        margin: 0 auto;
        max-width: 100%;
        border-radius: 15px;
    }

    .project-image {
        height: 280px;
    }

    .browser-content iframe {
        transform: scale(0.8);
        width: 125%;
        height: 125%;
        border-radius: 0;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .project-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

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

    .project-tech span {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

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

    .certificate-card {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .skills {
        padding: 80px 0;
    }

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

    .skill-category {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .skill-category h3 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.2rem;
    }

    .skill-items {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem 0.8rem;
    }

    .skill-item i {
        font-size: 1.8rem;
    }

    .skill-item span {
        font-size: 0.85rem;
    }

    section {
        padding: 80px 0 60px 0;
    }

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

    .container {
        padding: 0 20px;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px 0;
    }

    .hero-container {
        padding: 0 15px;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

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

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .profile-card {
        width: 200px;
        height: 200px;
    }

    .profile-img {
        width: 160px;
        height: 160px;
    }

    .nav-logo a {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .nav-container {
        padding: 0 15px;
    }

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

    .project-image {
        height: 250px;
    }

    .browser-content iframe {
        transform: scale(0.75);
        width: 133.33%;
        height: 133.33%;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .project-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .project-tech span {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

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

    .project-link {
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

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

    .certificate-card {
        padding: 1.2rem;
    }

    .certificate-icon {
        width: 60px;
        height: 60px;
    }

    .certificate-icon i {
        font-size: 1.5rem;
    }

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

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

    .stat-card {
        padding: 1.2rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .skill-category h3 {
        font-size: 1.1rem;
    }

    .skill-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .skill-item {
        padding: 0.8rem 0.5rem;
    }

    .skill-item i {
        font-size: 1.5rem;
    }

    .skill-item span {
        font-size: 0.75rem;
    }

    section {
        padding: 60px 0 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .side-nav {
        width: 280px;
        padding: 1.5rem;
    }

    .side-link {
        height: 45px;
        padding: 0 0.8rem;
    }

    .side-link::after {
        font-size: 0.85rem;
    }
}
