/* ====================== GLOBAL ====================== */
body {
    font-family: "Comfortaa", serif;
    margin: 0;
    padding: 0;
    background: #f8f5e9;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* Smooth fade animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Floating Animation */
@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ====================== HERO ====================== */

.myImageCircle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid #0177B4;
    box-shadow: 0 0 18px #0177B4, 0 0 35px rgba(1,119,180,0.75);
    animation: floatImage 4s ease-in-out infinite;
}

.focus-text {
    font-size: 40px;
    font-weight: 800;
}

.heroButtons {
    background: black;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    margin: 6px;
    transition: 0.3s ease;
    font-weight: 600;
}

.heroButtons:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 15px #0177B4;
}

/* Neon glow for Resume, GitHub, LinkedIn */
.glow-btn {
    box-shadow: 0 0 12px #0177B4;
}
.glow-btn:hover {
    box-shadow: 0 0 20px #0177B4;
}

/* ====================== SECTION HEADINGS ====================== */

.heading {
    font-size: 32px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 10px;
    position: relative;
}

.heading::before {
    content: "";
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0177B4, #7c3aed);
    position: absolute;
    left: -12px;
    top: 0;
    border-radius: 4px;
}

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

#aboutMeSection {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.aboutP1 img {
    width: 260px;
    border-radius: 12px;
    animation: fadeUp 1s;
}

.aboutP2 {
    width: 60%;
    text-align: left;
    animation: fadeUp 1.2s;
}

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

.skillsDiv {
    display: flex;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.skillsDiv:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #0177B4;
}

.skillsDiv .p1 {
    width: 25%;
    background: #f8f5e9;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
}

.skillsDiv .p2 {
    width: 75%;
    font-size: 17px;
    font-weight: 500;
}

/* ====================== PROJECTS ====================== */

.Project {
    width: 85%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-radius: 15px;
    background: white;
    margin: 25px auto;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.Project:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px #0177B4;
}

.Project img {
    width: 170px;
    border-radius: 10px;
}

.gitHubButton,
.demoButton {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    transition: 0.3s ease;
    font-weight: 600;
}

.gitHubButton {
    background: black;
    color: white;
}
.gitHubButton:hover {
    background: #0177B4;
}

.demoButton {
    background: #f8f5e9;
}
.demoButton:hover {
    background: #0177B4;
    color: white;
}

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

.contactDivOne,
.contactDivTwo {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.contactDivOne {
    background: #F44336;
    color: white;
}

.contactDivTwo {
    background: #0177B4;
    color: white;
}

.contactDivOne:hover,
.contactDivTwo:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 18px rgba(0,0,0,0.25);
}

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

footer {
    background: black;
    padding: 25px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

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

@media only screen and (max-width: 768px) {

    .myImageCircle {
        width: 130px;
        height: 130px;
        border-width: 4px;
    }

    #aboutMeSection {
        flex-direction: column;
        text-align: center;
    }
    .aboutP1 img {
        width: 70%;
        margin: auto;
    }
    .aboutP2 {
        width: 100%;
        text-align: center;
    }

    .skillsDiv {
        flex-direction: column;
        text-align: center;
    }
    .skillsDiv .p1,
    .skillsDiv .p2 {
        width: 100%;
    }

    .Project {
        flex-direction: column;
        text-align: center;
    }
    .Project img {
        width: 130px;
        margin-bottom: 15px;
    }

    .contactDivOne,
    .contactDivTwo {
        width: 100%;
    }
}
