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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #0000;
}

/* Navigation */
nav {
    background: #1e40af;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 8rem 1.5rem 5rem;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #1e40af;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

/* Section Styling */
section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #1e40af;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

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

.skill-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.skill-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.skill-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 2rem;
}

.exp-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.exp-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.exp-header {
    margin-bottom: 1rem;
}

.exp-card h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.company {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1rem;
}

.date-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.exp-card ul {
    margin-left: 1.25rem;
    color: #475569;
}

.exp-card li {
    margin-bottom: 0.5rem;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-6px);
}

.project-header {
    background: #1e40af;
    color: white;
    padding: 1.5rem;
}

.project-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.project-body {
    padding: 1.5rem;
}

.project-body p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.impact {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.edu-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.edu-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.degree {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.edu-details {
    color: #64748b;
    font-size: 0.95rem;
}

.certifications {
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.certifications h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.cert-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.cert-item {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #475569;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #1e40af;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s;
    }

    nav ul.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .skills-container,
    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    section {
        padding: 2.5rem 1rem;
    }

    .skill-card,
    .exp-card,
    .project-body,
    .edu-card {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
