@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

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

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

/* Resume link styling */
.nav-links .resume-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 16px;
    border-radius: 20px;
    opacity: 1;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .resume-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.nav-links .resume-link::after {
    display: none;
}

.theme-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.theme-toggle:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-gradient {
    display: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 32px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 18px;
    opacity: 0.6;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.location-badge {
    position: absolute;
    left: 40px;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.location-badge .location-text {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.location-badge .location-name {
    font-weight: 600;
    font-size: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

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

/* Sections */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 20px;
    opacity: 0.6;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    position: relative; 
}

.about-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
    background: url('IMG_4011.jpeg') center/cover;
    border: 0px solid rgba(0, 0, 0, 0.0);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.8;
}

.about-text p {
    margin-bottom: 24px;
}

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

.stat-item {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Ensure project thumbnails are fully visible and scaled down */
.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.project-content {
    padding: 32px;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.certification-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.certification-card:nth-child(2)::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.certification-card:nth-child(3)::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.certification-card:nth-child(4)::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.cert-header {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.cert-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.cert-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cert-issuer {
    font-size: 16px;
    color: #a0a9c0;
    font-weight: 500;
    margin-bottom: 4px;
}

.cert-date, .cert-expiry {
    font-size: 14px;
    color: #8892b0;
    margin-bottom: 2px;
}

.cert-id {
    font-size: 12px;
    color: #64748b;
    font-family: 'Courier New', monospace;
}

.cert-actions {
    margin-top: 20px;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.1);
}

.cert-link:hover {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* Responsive adjustments for certifications */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .certification-card {
        padding: 24px;
    }
    
    .cert-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .cert-icon {
        width: 50px;
        height: 50px;
    }
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.project-description {
    font-size: 16px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.project-link:hover {
    opacity: 0.7;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.skill-category h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

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

.skill-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-item:hover {
    opacity: 1;
    padding-left: 10px;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    padding-left: 40px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.experience-item {
    position: relative;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 40px;
    width: 16px;
    height: 16px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
}

.experience-date {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
}

.experience-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.experience-company {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.experience-description {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

.experience-description ul {
    margin-top: 16px;
    padding-left: 20px;
}

.experience-description li {
    margin-bottom: 8px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

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

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 60px 40px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    font-size: 14px;
    opacity: 0.5;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.social-links-hero {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.social-links-hero a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px;
}

.social-links-hero a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        padding: 0 20px;
    }

    .section {
        padding: 80px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 300px;
    }

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

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-timeline {
        padding-left: 20px;
    }

    .experience-item::before {
        left: -30px;
    }

    .location-badge {
        left: 20px;
        bottom: 20px;
    }
}

/* Light theme */
body.light-theme {
    background-color: #ffffff;
    color: #0a0a0a;
}

body.light-theme .nav-container {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .logo,
body.light-theme .nav-links a,
body.light-theme .theme-toggle {
    color: #0a0a0a;
}

body.light-theme .hero {
    background: linear-gradient(135deg, #595959 0%, #ffffff 100%);
}

body.light-theme .footer-links a,
body.light-theme .copyright {
    color: #000000; /* Darker color for readability */
}

body.light-theme .footer-links a:hover {
    color: #0a0a0a;
}

body.light-theme .footer {
    background: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .project-card,
body.light-theme .stat-item,
body.light-theme .skill-category,
body.light-theme .experience-item,
body.light-theme .contact-form {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .project-card:hover,
body.light-theme .stat-item:hover,
body.light-theme .skill-category:hover,
body.light-theme .experience-item:hover {
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .skill-category h3,
body.light-theme .stat-number {
    color: #0a0a0a;
}

body.light-theme .tech-tag {
    background: rgba(0, 0, 0, 0.1);
    color: #333333;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #0a0a0a;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    border-color: #667eea;
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .contact-link {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0a0a0a;
}

body.light-theme .contact-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .location-badge {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .scroll-indicator svg {
    stroke: #0a0a0a;
}

body.light-theme .hero-subtitle,
body.light-theme .hero-description,
body.light-theme .section-subtitle,
body.light-theme .about-text,
body.light-theme .stat-label,
body.light-theme .project-description,
body.light-theme .project-link,
body.light-theme .skill-item,
body.light-theme .experience-company,
body.light-theme .experience-description,
body.light-theme .contact-info p,
body.light-theme .form-group label,
body.light-theme .copyright {
    color: #333333;
}

body.light-theme .about-text {
    color: #0a0a0a;
}

body.light-theme .about-image {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-links a::after {
    background: #0a0a0a;
}

body.light-theme .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .hero-title {
    background: linear-gradient(135deg, #0a0a0a 0%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .section-title {
    color: #0a0a0a;
}

body.light-theme .hero-gradient {
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
}

body.light-theme .social-links-hero a {
    color: rgba(0, 0, 0, 0.8);
}

body.light-theme .social-links-hero a:hover {
    color: #000000;
}
