/* =========================
   GENERAL
========================= */

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

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

a {
    text-decoration: none;
}

section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    color: #1f2937;
}


/* =========================
   NAVBAR
========================= */

header {
    background: #111827;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 70px;
    padding: 15px 8%;

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

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;

    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #60a5fa;
}


/* =========================
   HOME
========================= */

.home {
    min-height: 90vh;

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

    gap: 50px;
    background: white;
}

.home-content {
    flex: 1;
}

.home-content h1 {
    font-size: 45px;
    color: #1f2937;
}

.home-content h1 span {
    color: #2563eb;
}

.home-content h2 {
    margin: 10px 0 20px;
    color: #4b5563;
    font-size: 22px;
}

.home-content p {
    max-width: 600px;
    margin-bottom: 25px;
    color: #4b5563;
}


/* =========================
   TYPING EFFECT
========================= */

.typing-text {
    min-height: 35px;
}

.cursor {
    color: #2563eb;
    font-weight: bold;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    50% {
        opacity: 0;
    }

}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;

    padding: 12px 22px;
    margin-right: 10px;

    background: #2563eb;
    color: white;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s;
}

.btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.secondary-btn {
    background: #374151;
}

.secondary-btn:hover {
    background: #1f2937;
}


/* =========================
   PROFILE IMAGE
========================= */

.home-image {
    flex: 1;

    display: flex;
    justify-content: center;
}

.home-image img {
    width: 280px;
    height: 280px;

    object-fit: cover;

    border-radius: 50%;

    border: 6px solid #2563eb;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* =========================
   ABOUT
========================= */

#about {
    background: #f5f7fb;
}

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

    text-align: center;
}

.about-content p {
    margin-bottom: 15px;

    font-size: 18px;
    color: #4b5563;
}


/* =========================
   EDUCATION
========================= */

#education {
    background: white;
}

.education-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.education-card {
    width: 100%;

    padding: 30px;

    background: #f5f7fb;

    border-left: 5px solid #2563eb;

    border-radius: 10px;

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

.education-card h3 {
    color: #2563eb;
    margin-bottom: 10px;
}

.education-card p {
    color: #4b5563;
    margin: 5px 0;
}


/* =========================
   SKILLS
========================= */

#skills {
    background: #f5f7fb;
}

.skills-container {
    display: grid;

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

    gap: 25px;

    max-width: 1000px;

    margin: auto;
}

.skill-card {
    background: white;

    padding: 25px;

    border-radius: 12px;

    text-align: center;

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

    transition: 0.3s;
}

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

.skill-card h3 {
    color: #2563eb;

    margin-bottom: 10px;

    font-size: 22px;
}

.skill-card p {
    color: #4b5563;
}


/* =========================
   CERTIFICATIONS
========================= */

#certifications {
    background: white;
}

.certifications-container {
    max-width: 700px;

    margin: auto;
}

.certificate-card {
    padding: 30px;

    background: #f5f7fb;

    border-radius: 12px;

    text-align: center;

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

.certificate-card h3 {
    color: #2563eb;

    margin-bottom: 12px;
}

.certificate-card p {
    color: #4b5563;
}


/* =========================
   RESUME
========================= */

#resume {
    background: white;
    text-align: center;
}

.resume-content {
    max-width: 700px;
    margin: auto;
}

.resume-content p {
    color: #4b5563;

    font-size: 18px;

    margin-bottom: 25px;
}


/* =========================
   CONTACT
========================= */

#contact {
    background: #f5f7fb;
}

.contact-container {
    max-width: 700px;

    margin: auto;
}

.contact-card {
    padding: 35px;

    background: white;

    border-radius: 12px;

    text-align: center;

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

.contact-card h3 {
    color: #2563eb;

    font-size: 25px;

    margin-bottom: 15px;
}

.contact-card p {
    color: #4b5563;

    margin: 12px 0;
}


/* =========================
   COPY EMAIL
========================= */

.copy-btn {
    margin-top: 10px;

    padding: 10px 20px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.copy-btn:hover {
    background: #1d4ed8;
}


/* =========================
   SOCIAL LINKS
========================= */

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

    display: flex;

    justify-content: center;

    gap: 15px;
}

.social-links a {
    display: inline-block;

    padding: 12px 22px;

    background: #2563eb;

    color: white;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s;
}

.social-links a:hover {
    background: #1d4ed8;

    transform: translateY(-3px);
}


/* =========================
   FOOTER
========================= */

footer {
    background: #111827;

    color: white;

    text-align: center;

    padding: 25px;
}

footer p {
    margin: 0;
}


/* =========================
   BACK TO TOP
========================= */

#backToTop {
    display: none;

    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: #2563eb;

    color: white;

    font-size: 24px;

    cursor: pointer;

    z-index: 1000;

    transition: 0.3s;
}

#backToTop:hover {
    background: #1d4ed8;

    transform: translateY(-3px);
}


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

@media (max-width: 700px) {

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

    .education-card {
        width: 100%;
    }

}

    /* Navbar */

    .navbar {
        flex-direction: column;

        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 10px;

        margin-top: 10px;
    }

    .nav-links a {
        font-size: 14px;
    }


    /* Home */

    .home {
        flex-direction: column;

        text-align: center;

        min-height: auto;

        padding-top: 50px;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h2 {
        font-size: 18px;
    }

    .home-content p {
        font-size: 15px;
    }

    .home-image {
        margin-top: 30px;
    }

    .home-image img {
        width: 220px;
        height: 220px;
    }


    /* Skills */

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


    /* Education */

    .education-card {
        width: 100%;
    }


    /* Contact */

    .contact-card {
        padding: 25px 15px;
    }


    /* Social */

    .social-links {
        flex-direction: column;

        align-items: center;
    }

    .social-links a {
        width: 180px;

        text-align: center;
    }


    /* Buttons */

    .btn {
        margin: 5px;
    }

.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    color: white;
    background: #2563eb;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
/* =========================
   ABOUT ME DESIGN
========================= */

#about {
    background: #f5f7fb;
}

.about-container {
    max-width: 900px;
    margin: auto;
}

.about-card {
    background: white;
    padding: 45px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #2563eb;
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-size: 32px;
}

.about-card h3 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 20px;
}

.about-card p {
    max-width: 750px;
    margin: 0 auto 15px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.8;
}

.about-details {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-details div {
    padding: 18px;
    background: #f5f7fb;
    border-radius: 10px;
    text-align: left;
    border-left: 4px solid #2563eb;
}

.about-details strong {
    display: block;
    color: #2563eb;
    margin-bottom: 5px;
}

.about-details span {
    color: #4b5563;
}


/* Mobile */

@media (max-width: 700px) {

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

    .about-card h3 {
        font-size: 24px;
    }

    .about-card p {
        font-size: 15px;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

}
/* =========================
   RESUME DESIGN
========================= */

#resume {
    background: #f5f7fb;
    text-align: center;
}

.resume-container {
    max-width: 850px;
    margin: auto;
}

.resume-card {
    background: white;
    padding: 45px 30px;
    border-radius: 18px;
    border-top: 5px solid #2563eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.resume-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.resume-card h3 {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 15px;
}

.resume-card p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.8;
}

.resume-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-buttons .btn {
    margin: 0;
}

@media (max-width: 700px) {

    .resume-card {
        padding: 35px 20px;
    }

    .resume-card h3 {
        font-size: 23px;
    }

    .resume-card p {
        font-size: 15px;
    }

    .resume-buttons {
        flex-direction: column;
        align-items: center;
    }

    .resume-buttons .btn {
        width: 220px;
    }
}
/* =========================
   CERTIFICATIONS DESIGN
========================= */

#certifications {
    background: white;
}

.certifications-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.certificate-card {
    background: #f5f7fb;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border-top: 5px solid #2563eb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

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

.certificate-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.certificate-card h3 {
    color: #2563eb;
    font-size: 22px;
    margin-bottom: 12px;
}

.certificate-card p {
    color: #4b5563;
    margin-bottom: 20px;
}

@media (max-width: 700px) {
    .certifications-container {
        grid-template-columns: 1fr;
    }
}
/* =========================
   SKILLS DESIGN
========================= */

#skills {
    background: #f5f7fb;
}

.skills-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.skill-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #2563eb;
    transition: 0.3s;
}

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

.skill-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.skill-card h3 {
    color: #2563eb;
    font-size: 22px;
    margin-bottom: 10px;
}

.skill-card p {
    color: #4b5563;
}

@media (max-width: 700px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}