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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #183b56;
}


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

.navbar {
    background: white;
    padding: 18px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 23px;
    font-weight: bold;
    color: #183b56;
}

.navbar-brand span {
    color: #1976d2;
}

.nav-link {
    color: #183b56 !important;
    margin-left: 20px;
    font-weight: 500;
}

.nav-link:hover {
    color: #1976d2 !important;
}


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

.home {
    min-height: 100vh;
    padding-top: 100px;

    display: flex;
    align-items: center;

    background: #f7fbff;
}

.hello {
    color: #1976d2;
    font-weight: bold;
    letter-spacing: 3px;

    animation: fadeDown 1s ease;
}

.home h1 {
    font-size: 60px;
    font-weight: 800;
    margin: 10px 0;

    animation: fadeUp 1s ease;
}

.home h1 span {
    color: #1976d2;
}

.home h2 {
    color: #1976d2;
    font-size: 30px;

    animation: fadeUp 1.2s ease;
}

.intro {
    max-width: 600px;
    color: #627d98;
    font-size: 18px;
    line-height: 1.8;

    animation: fadeUp 1.4s ease;
}


/* BUTTONS */

.buttons {
    margin-top: 30px;
}

.buttons .btn {
    border-radius: 25px;
    padding: 11px 25px;
    margin-right: 8px;
}


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

.profile {
    text-align: center;
    padding: 30px 20px;
}


/* Profile Circle */

.profile-circle {
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;

    border-radius: 50%;
    overflow: hidden;

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

    background: linear-gradient(135deg, #007bff, #6f42c1);
    color: #fff;

    font-size: 48px;
    font-weight: 700;

    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

    position: relative;
}

/* Profile Image */

.profile-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    position: absolute;
    top: 0;
    left: 0;

    border-radius: 50%;
}

/* Name */

.profile h3 {
    margin: 15px 0 8px;

    font-size: 28px;
    font-weight: 700;

    color: #222;
}

/* Job Title */

.profile p {
    margin: 0;

    font-size: 17px;
    font-weight: 500;

    color: #007bff;
}


/* =========================
   HOVER EFFECT
========================= */

.profile-circle {
    transition: all 0.3s ease;
}

.profile-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.25);
}


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

@media (max-width: 768px) {

    .profile {
        padding: 25px 15px;
    }

    .profile-circle {
        width: 180px;
        height: 180px;
        font-size: 40px;
    }

    .profile h3 {
        font-size: 24px;
    }

    .profile p {
        font-size: 15px;
    }
}


@media (max-width: 480px) {

    .profile-circle {
        width: 150px;
        height: 150px;
        font-size: 32px;
    }

    .profile h3 {
        font-size: 21px;
    }

    .profile p {
        font-size: 14px;
    }
}

/* ================= SOCIAL ICONS ================= */

.social-icons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
}

.social-icons a,
.contact-icons a {
    width: 48px;
    height: 48px;

    border-radius: 50%;

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

    font-size: 21px;

    background: white;

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

    transition: 0.3s;
}

.social-icons a:hover,
.contact-icons a:hover {
    transform: translateY(-7px) scale(1.08);
}


/* Instagram */

.instagram {
    color: #e1306c;
}


/* WhatsApp */

.whatsapp {
    color: #25d366;
}


/* Email */

.email {
    color: #1976d2;
}

/*linkedin*/
.linkedin{
    color: #007bff;
}

/* ================= SECTIONS ================= */

.section {
    padding: 90px 0;
}

.gray {
    background: #f7fbff;
}

.section-small {
    color: #1976d2;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 40px;
}


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

.about-box {
    max-width: 850px;

    padding: 30px;

    border-left: 4px solid #1976d2;

    background: white;

    box-shadow: 0 5px 25px rgba(0,0,0,0.06);

    border-radius: 5px;
}

.about-box p {
    color: #627d98;
    line-height: 1.8;
    margin: 0;
}


/* ================= EXPERIENCE ================= */

.experience-box {
    background: white;

    padding: 30px;

    margin-bottom: 25px;

    border-radius: 8px;

    border-left: 4px solid #1976d2;

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

    transition: 0.3s;
}

.experience-box:hover {
    transform: translateX(8px);
}

.experience-box > span {
    color: #1976d2;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.experience-box h3 {
    margin-top: 10px;
    font-weight: bold;
}

.experience-box h5 {
    color: #52606d;
}

.experience-box small {
    color: #829ab1;
}

.experience-box li {
    color: #627d98;
    margin-top: 10px;
}


/* ================= PROJECT ================= */

/*project image*/
   .project-image { 
      width: 70%;
      height: 250px;
      overflow: hidden;
      border-radius: 12px;
      margin-bottom: 20px;
        }
        .project-image2 { 
      width: 80%;
      height: 200px;
      overflow: hidden;
      border-radius: 12px;
      margin-bottom: 20px;
        }
    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block; 
        transition: transform 0.4s ease;
         }
    .project-box:hover .project-image img {
        transform: scale(1.05);
         }

.project-box {
    padding: 40px;

    background: hwb(206 8% 72%);
    color: white;

    border-radius: 10px;

    max-width: 100%;

    transition: 0.3s;
}

.project-box:hover {
    transform: translateY(-6px);
}

.project-box h3 {
    font-weight: bold;
}

.project-box p {
    color: #d9e2ec;
    line-height: 1.8;
}

.technologies {
    color: #64b5f6;
    font-weight: bold;
}


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

.education-box {
    background: white;

    padding: 30px;

    height: 100%;

    border-radius: 8px;

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

    transition: 0.3s;
}

.education-box:hover {
    transform: translateY(-7px);
}

.education-box small {
    color: #1976d2;
    font-weight: bold;
}

.education-box h3 {
    margin-top: 15px;
    font-weight: bold;
}

.education-box p {
    color: #627d98;
    line-height: 1.6;
}

.education-box strong {
    color: #1976d2;
    font-size: 20px;
}


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

.contact p {
    color: #627d98;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;

    margin-top: 30px;
}


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

footer {
    background: #102a43;
    color: white;

    text-align: center;

    padding: 35px;
}

footer h5 {
    font-weight: bold;
}

footer p {
    color: #90caf9;
}

footer small {
    color: #829ab1;
}


/* ================= ANIMATIONS ================= */

@keyframes fadeUp {

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

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

}


@keyframes fadeDown {

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

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

}


@keyframes floating {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}


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

@media (max-width: 768px) {

    .home {
        text-align: center;
        padding: 130px 20px 70px;
    }

    .home h1 {
        font-size: 42px;
    }

    .home h2 {
        font-size: 25px;
    }

    .intro {
        font-size: 16px;
    }

    .social-icons {
        justify-content: center;
    }

    .profile {
        margin-top: 60px;
    }

    .profile-circle {
        width: 170px;
        height: 170px;
        font-size: 48px;
    }

    .section {
        padding: 70px 20px;
    }

    .section-title {
        font-size: 32px;
    }

}