* {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
body {
       font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       line-height: 1.6;
       color: #2c3e50;
       background: #f8fafc;
   }
a {
    text-decoration: none;
    color: #1e293b;
}
a:hover {
    text-decoration: underline;
}
.container {
       max-width: 1200px;
       margin: 0 auto;
       padding: 0 20px;
   }
header {
       background: #ffffff;
       padding: 1rem 0;
       position: fixed;
       width: 100%;
       top: 0;
       z-index: 1000;
       border-bottom: 1px solid #e2e8f0;
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   }
nav {
       display: flex;
       justify-content: center;
       align-items: center;
       position: relative;
   }
.nav-links {
       display: flex;
       list-style: none;
       gap: 2rem;
   }
.nav-links a {
       color: #64748b;
       text-decoration: none;
       font-weight: 500;
       transition: color 0.2s ease;
       padding: 0.5rem 0;
   }
.nav-links a:hover {
       color: #1e40af;
   }
.section {
       padding: 4rem 0;
       background: white;
       margin-bottom: 1px;
   }
.section:nth-child(even) {
       background: #f8fafc;
   }
.section-content {
       max-width: 1000px;
       margin: 0 auto;
       padding: 0 2rem;
   }
.section h2 {
       font-size: 2.25rem;
       font-weight: 700;
       margin-bottom: 3rem;
       color: #1e293b;
       text-align: center;
       letter-spacing: -0.025em;
   }
.hero {
       background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
       color: white;
       padding: 6rem 0;
       text-align: center;
   }
.hero h1 {
       font-size: 3rem;
       font-weight: 800;
       margin-bottom: 1rem;
       letter-spacing: -0.025em;
   }
.hero .subtitle {
       font-size: 1.25rem;
       margin-bottom: 0.5rem;
       color: #dbeafe;
       font-weight: 500;
   }
.hero .description {
       font-size: 1rem;
       opacity: 0.9;
       max-width: 600px;
       margin: 0 auto 2rem;
       line-height: 1.7;
   }
.cta-button {
       display: inline-block;
       padding: 0.875rem 2rem;
       background: rgba(255, 255, 255, 0.1);
       color: white;
       text-decoration: none;
       border-radius: 6px;
       transition: all 0.2s ease;
       border: 1px solid rgba(255, 255, 255, 0.2);
       font-weight: 600;
       backdrop-filter: blur(10px);
   }
.cta-button:hover {
       background: rgba(255, 255, 255, 0.2);
       transform: translateY(-1px);
   }
.about-content {
       display: grid;
       grid-template-columns: 200px 1fr;
       gap: 4rem;
       align-items: start;
   }
.profile-section {
       text-align: center;
   }
.profile-img {
       width: 180px;
       height: 180px;
       border-radius: 8px;
       background: #f1f5f9;
       border: 2px solid #e2e8f0;
       display: flex;
       align-items: center;
       justify-content: center;
       color: #64748b;
       font-size: 2.5rem;
       margin: 0 auto 1rem;
   }
.profile-details h3 {
       font-size: 1.1rem;
       font-weight: 600;
       color: #1e293b;
       margin-bottom: 0.5rem;
   }
.profile-details p {
       color: #64748b;
       font-size: 0.9rem;
       margin-bottom: 0.25rem;
   }
.about-text {
       font-size: 1.1rem;
       line-height: 1.8;
       color: #475569;
   }
.about-text p {
       margin-bottom: 1.5rem;
   }
.skills-section {
       margin-top: 3rem;
   }
.skills-section h3 {
       font-size: 1.25rem;
       font-weight: 600;
       color: #1e293b;
       margin-bottom: 1.5rem;
   }
.skills-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
       gap: 1rem;
   }
.skill-category {
       background: #f8fafc;
       padding: 1.5rem;
       border-radius: 8px;
       border: 1px solid #e2e8f0;
   }
.skill-category h4 {
       font-size: 1rem;
       font-weight: 600;
       color: #1e40af;
       margin-bottom: 0.75rem;
   }
.skill-category ul {
       list-style: none;
   }
.skill-category li {
       color: #64748b;
       font-size: 0.9rem;
       margin-bottom: 0.25rem;
       padding-left: 1rem;
       position: relative;
   }
.skill-category li::before {
       content: '•';
       color: #1e40af;
       position: absolute;
       left: 0;
   }
.cert-grid, .project-grid, .blog-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
       gap: 1.5rem;
   }
.cert-card, .project-card, .blog-card {
       background: white;
       padding: 2rem;
       border-radius: 8px;
       border: 1px solid #e2e8f0;
       transition: all 0.2s ease;
   }
.section:nth-child(even) .cert-card,
   .section:nth-child(even) .project-card,
   .section:nth-child(even) .blog-card {
       background: #f8fafc;
   }
.cert-card:hover, .project-card:hover, .blog-card:hover {
       border-color: #1e40af;
       box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
   }
.cert-card h3, .project-card h3, .blog-card h3 {
       color: #1e293b;
       margin-bottom: 0.75rem;
       font-size: 1.25rem;
       font-weight: 600;
       line-height: 1.4;
   }
.cert-meta, .blog-meta {
       color: #1e40af;
       font-size: 0.9rem;
       font-weight: 500;
       margin-bottom: 1rem;
   }
.cert-card p, .project-card p, .blog-card p {
       color: #64748b;
       line-height: 1.6;
       margin-bottom: 1rem;
   }

.tech-stack {
       display: flex;
       flex-wrap: wrap;
       gap: 0.5rem;
       margin-top: 1rem;
   }
.tech-tag {
       background: #eff6ff;
       color: #1e40af;
       padding: 0.25rem 0.75rem;
       border-radius: 20px;
       font-size: 0.8rem;
       font-weight: 500;
       border: 1px solid #dbeafe;
   }
.contact-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       gap: 2rem;
       max-width: 800px;
       margin: 0 auto;
   }
.contact-item {
       background: white;
       padding: 2rem;
       border-radius: 8px;
       text-align: center;
       border: 1px solid #e2e8f0;
       transition: all 0.2s ease;
   }
.contact-item:hover {
       border-color: #1e40af;
       box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
   }
.contact-icon {
       width: 48px;
       height: 48px;
       background: #eff6ff;
       border-radius: 8px;
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 auto 1rem;
       font-size: 1.5rem;
       color: #1e40af;
   }
.contact-item h3 {
       font-size: 1.1rem;
       font-weight: 600;
       color: #1e293b;
       margin-bottom: 0.5rem;
   }
.contact-item p {
       color: #64748b;
       font-size: 0.95rem;
   }
.contact-item a {
       color: #1e40af;
       text-decoration: none;
   }
.contact-item a:hover {
       text-decoration: underline;
   }
footer {
       background: #1e293b;
       color: #94a3b8;
       text-align: center;
       padding: 3rem 0;
   }
footer p {
       font-size: 0.9rem;
   }
.credentials {
       display: flex;
       gap: 1rem;
       justify-content: center;
       margin-top: 1rem;
       flex-wrap: wrap;
   }
.credential {
       background: #334155;
       color: #e2e8f0;
       padding: 0.25rem 0.75rem;
       border-radius: 4px;
       font-size: 0.8rem;
       font-weight: 500;
   }
@media (max-width: 768px) {
       .nav-links {
           display: none;
       }
    .hero h1 {
           font-size: 2.25rem;
       }
    .about-content {
           grid-template-columns: 1fr;
           text-align: center;
           gap: 2rem;
       }
    .section h2 {
           font-size: 1.875rem;
       }
    .section {
           padding: 3rem 0;
       }
    .skills-grid {
           grid-template-columns: 1fr;
       }
   }
/* Subtle scroll animations */
   @keyframes slideUp {
       from {
           opacity: 0;
           transform: translateY(20px);
       }
       to {
           opacity: 1;
           transform: translateY(0);
       }
   }
.animate-in {
       animation: slideUp 0.6s ease-out forwards;
   }
/* Hamburger button */
.hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile view */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* hide links by default */
        flex-direction: column;
        position: absolute;
        top: 36px; /* adjust based on header height */
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid #e2e8f0;
        padding: 1rem 0;
        gap: 1rem;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* show links when active */
    }

    .hamburger {
        display: flex; /* show hamburger on mobile */
    }

        .cert-grid,
    .blog-grid,
    .project-grid {
        grid-template-columns: 1fr; /* stack cards vertically */
        padding: 0 1rem; /* optional padding on sides */
    }
}
