* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f8fafc;
    color: #172033;
    line-height: 1.7;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.navbar {
    max-width: 1150px;
    margin: auto;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.logo {
    font-size: 25px;
    font-weight: 700;
}

.logo span,
.hero h1 span {
    color: #16a34a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #16a34a;
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    font-size: 25px;
    cursor: pointer;
}


/* Hero */

.hero {
    min-height: 100vh;
    max-width: 1150px;
    margin: auto;
    padding: 130px 25px 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.hero-content {
    max-width: 650px;
}

.small-heading {
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 75px);
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 25px;
    color: #475569;
    margin-bottom: 20px;
}

.hero p {
    color: #64748b;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn {
    background: #16a34a;
    color: white;
}

.primary-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #16a34a;
    color: #16a34a;
}

.secondary-btn:hover {
    background: #16a34a;
    color: white;
}

.hero-card {
    width: 320px;
    min-width: 320px;
    padding: 45px 30px;
    text-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.profile-circle {
    width: 130px;
    height: 130px;
    margin: auto auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;

    font-size: 65px;
    font-weight: 700;
}

.hero-card h3 {
    margin-bottom: 10px;
}


/* Sections */

.section {
    max-width: 1150px;
    margin: auto;
    padding: 100px 25px;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title p {
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 38px;
    margin-top: 5px;
}


/* About */

.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: #64748b;
    margin-bottom: 18px;
}

.about-text .btn {
    margin-top: 15px;
}

.about-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    font-size: 14px;
}

.info-item span {
    color: #64748b;
    font-size: 14px;
}


/* Skills */

.skills-section {
    max-width: none;
    background: #f1f5f9;
}

.skills-section .section-title,
.skills-section .skills-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.skill-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.skill-card h3 {
    margin-bottom: 5px;
}

.skill-card p {
    color: #64748b;
    font-size: 14px;
}


/* Projects */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.project-card.featured {
    grid-column: span 2;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.project-number {
    color: #16a34a;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.project-content p {
    color: #64748b;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background: #dcfce7;
    color: #166534;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}


/* Education */

.education-section {
    background: #f1f5f9;
    max-width: none;
    padding-left: calc((100% - 1100px) / 2);
    padding-right: calc((100% - 1100px) / 2);
}

.timeline {
    max-width: 800px;
    margin: auto;
}

.timeline-item {
    position: relative;
    padding-left: 35px;
    border-left: 2px solid #bbf7d0;
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #16a34a;
    border-radius: 50%;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.timeline-date {
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
}

.timeline-content h3 {
    margin-top: 5px;
}

.timeline-content h4 {
    color: #64748b;
    font-weight: 500;
}


/* Contact */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-text h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.contact-text p {
    color: #64748b;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-details a {
    text-decoration: none;
    color: #334155;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
}

.contact-details a:hover {
    border-color: #16a34a;
    color: #16a34a;
}


/* Footer */

footer {
    padding: 30px;
    text-align: center;
    background: #172033;
    color: #cbd5e1;
    font-size: 13px;
}

footer p {
    margin: 5px;
}


/* Mobile */

@media (max-width: 800px) {

    .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;

        display: none;
        flex-direction: column;
        gap: 0;

        background: white;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 25px;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-card {
        width: 100%;
        max-width: 350px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 20px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}
