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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
    line-height: 1.6;
}


/* Navigation */

.navbar {
    position: sticky;
    top: 0;

    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;

    background: rgba(255, 255, 255, 0.95);

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #222;
}

.navbar nav {
    display: flex;
    gap: 25px;
}

.navbar nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;

    transition: 0.3s;
}

.navbar nav a:hover {
    transform: translateY(-2px);
    opacity: 0.6;
}


/* Hero */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background: linear-gradient(
        135deg,
        #eef2ff,
        #ffffff
    );
}

.hero-content {
    max-width: 750px;

    animation: fadeUp 1s ease;
}

.intro {
    font-size: 20px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.hero-content > p {
    max-width: 650px;
    color: #555;
    font-size: 18px;
}

.hero-buttons {
    margin-top: 30px;

    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;

    padding: 12px 24px;

    background: #222;
    color: white;

    border-radius: 8px;

    text-decoration: none;

    transition: 0.3s;
}

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

.btn.secondary {
    background: transparent;
    color: #222;
    border: 2px solid #222;
}


/* Sections */

.section {
    padding: 90px 8%;
}

.section-title {
    text-align: center;

    font-size: 38px;

    margin-bottom: 45px;
}


/* About */

.about-content {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.about-card {
    background: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    margin-bottom: 15px;
}


/* Skills */

.skills-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.skill-card {
    background: white;

    padding: 25px;

    text-align: center;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
}


/* Projects */

.projects-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    background: white;

    padding: 28px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-icon {
    font-size: 40px;

    margin-bottom: 15px;
}

.project-card h3 {
    margin-bottom: 12px;
}

.project-card p {
    color: #555;

    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    padding: 5px 10px;

    background: #eee;

    border-radius: 20px;

    font-size: 13px;
}


/* Resume */

.resume-section {
    text-align: center;

    background: #eef2ff;
}

.resume-section p {
    margin-bottom: 25px;
}


/* Contact */

.contact-container {
    max-width: 700px;
    margin: auto;
}

.contact-card {
    background: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    margin: 12px 0;
}

.social-links {
    margin-top: 25px;

    display: flex;
    justify-content: center;

    gap: 20px;
}

.social-links a {
    text-decoration: none;

    color: #222;

    font-weight: bold;
}

.social-links a:hover {
    opacity: 0.6;
}


/* Footer */

footer {
    text-align: center;

    padding: 25px;

    background: #222;

    color: white;
}


/* Animation */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Responsive */

@media (max-width: 900px) {

    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 48px;
    }

}


@media (max-width: 650px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content,
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 5%;
    }

}
.project-link {
    display: inline-block;
    margin-top: 10px;
    color: #222;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.project-link:hover {
    transform: translateX(5px);
}
.contact-email {
    color: inherit;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}
.contact-phone {
    color: inherit;
    text-decoration: none;
}

.contact-phone:hover {
    text-decoration: underline;
}
/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    padding: 80px 8%;
    text-align: center;
    min-height: 80vh;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 35px;
}

/* Large phone number */

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 45px;
}

.contact-phone .phone-icon {
    font-size: 3rem;
}

.contact-phone a {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}


/* Contact card */

.contact-card {
    max-width: 800px;
    margin: auto;
    padding: 45px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* Email and location */

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.info-item a {
    color: #111;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}


/* GitHub and LinkedIn */

.social-links {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.social-links a {
    color: #111;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 600px) {

    .contact-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-phone {
        gap: 10px;
    }

    .contact-phone .phone-icon {
        font-size: 2rem;
    }

    .contact-phone a {
        font-size: 1.8rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .info-item {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 20px;
    }
}