body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: white;
}
a {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}
ul {
    padding-top: 5px;
    padding-bottom: 5px;
}
/* header tag start */
header {
    background-color: #09637E;
    width: 100%;
    padding: 30px;
    margin-left: 40px;
    text-align: left;
}
h1 {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
}
#P1 {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 0px;
}
/* header tag end */
/* introduction tag start */ 
.introduction {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 70%;
    width: 100%;
}
/* profilesection start*/
.profilesection {
    display: flex;
    flex-direction: column;
    align-items: center;    
    height : 60%;
    width : 70%;
    padding : 20px;
    margin: 0px;
    border-radius: 10px;
    color : #000000;
    background-color: white;
}
.profilepicture {
    border-radius: 10px;
    height: 60%;
    width: 70%;
    box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.2);
}
/* profilesection end */
/* aboutsection start */
.aboutsection {
    display: flex;
    flex-direction: column;
    align-items: left;
    height: 50%;
    width: 100%;
    background-color: #7AB2B2;
    padding: 20px;
    margin: 20px;
    margin-right: 40px;
    margin-left: 0px;
    border-radius: 10px;
}
.aboutsection:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
#H21 {
    font-family: 'Roboto', sans-serif;
    font-size: 35px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
#P2 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: #000000;
    margin-top: 0px;
    margin-bottom: 0px;
}
#P3 {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
#P4 {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
/* aboutsection end */
/* introduction tag end */
/* skillssection */
#H22 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.skillssection {
    background-color: #EBF4F6;
    font-family: 'Roboto', sans-serif;
    width: 90%;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}
.skillssection:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
/* skillsection end */
/* projectsection */
.heading {
    display: flex;
    height: 100px;
    width: 100%;
    flex-direction: row;
}
#H23 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    color: #000000;
    margin-top: 10pxpx;
    margin-bottom: 10px;
    margin-left: 50px;
    text-align: center;
}
.projectsection0 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.projectsection {
    height: 350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #7AB2B2;
    align-items: left;
    justify-content: left;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}
#H24 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.projectsection1 {
    height: 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    background-color: #EBF4F6;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    position: relative;
}
.projectsection1:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
#B1 {
    background-color: #09637E;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    position: absolute;
    right: 20px;
    bottom: 20px
}
#B1:active {
    background-color: #088395;
    color: black
}
#H25 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.projectsection2 {
    height: 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    background-color: #EBF4F6;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    position: relative;
}
.projectsection2:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
#B2 {
    background-color: #09637E;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
#B2:active {
    background-color: #088395;
    color: black
}
#H26 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.projectsection3 {
    height: 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    background-color: #EBF4F6;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    position: relative;
}
.projectsection3:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
#B3 {
    background-color: #09637E;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
#B3:active {
    background-color: #088395;
    color: black
}
/* projectsection */
/* interest section */
#H27 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.interestsection {
    width: 90%;
    background-color: #EBF4F6;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}
.interestsection:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
/* interestsection end */
/* resumesection start */
#H28 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.resumesection {
    width: 90%;
    background-color: #EBF4F6;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}
#B4 {
    background-color: #09637E;
    color: white;
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}
#B4:active {
    background-color: #088395;
    color: black
}
/* resumesection start */
/* contactsection */
#H29 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0px;
}
.contactsection {
    width: 90%;
    background-color: #7AB2B2;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}
/* contactsection end */
/* footer tag */
footer {
    width: 100%;
    background-color:#088395;
    padding: 10px;
    text-align: center;
}
/* footer tag end */
/* ============================================================
   RESPONSIVE MEDIA QUERIES
   Breakpoints:
     Tablet  : max-width 768px
     Mobile  : max-width 480px
   ============================================================ */

/* ---------- Tablet (≤ 768px) ---------- */
@media (max-width: 768px) {

    /* Header */
    header {
        padding: 20px;
        margin-left: 0;
        text-align: center;
    }

    h1 {
        font-size: 24px;
    }

    #P1 {
        font-size: 9px;
    }

    /* Introduction – stack profile pic above about text */
    .introduction {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .profilesection {
        width: 90%;
        height: auto;
        padding: 15px;
    }

    .profilepicture {
        width: 55%;
        height: auto;
    }

    .aboutsection {
        width: 90%;
        height: auto;
        margin: 15px auto;
        margin-left: auto;
        margin-right: auto;
    }

    #H21 {
        font-size: 26px;
    }

    #P2 {
        font-size: 16px;
    }

    #P3,
    #P4 {
        font-size: 13px;
    }

    /* Skills */
    .skillssection {
        width: 85%;
        font-size: 16px;
        margin: 15px auto;
        padding: 15px;
    }

    #H22 {
        font-size: 22px;
    }

    /* Projects – heading */
    .heading {
        height: auto;
        padding: 10px 0;
    }

    #H23 {
        font-size: 24px;
        margin-left: 20px;
    }

    /* Project outer section */
    .projectsection {
        height: auto;
        margin: 15px;
        padding: 15px;
    }

    /* Project cards wrap into a column */
    .projectsection0 {
        flex-direction: column;
        align-items: center;
    }

    .projectsection1,
    .projectsection2,
    .projectsection3 {
        width: 85%;
        height: auto;
        margin: 12px auto;
        font-size: 15px;
        padding: 15px;
    }

    /* Keep buttons anchored inside auto-height cards */
    #B1,
    #B2,
    #B3 {
        position: static;
        display: block;
        margin-top: 12px;
        font-size: 14px;
    }

    #H24,
    #H25,
    #H26 {
        font-size: 20px;
    }

    /* Interests */
    .interestsection {
        width: 85%;
        font-size: 16px;
        margin: 15px auto;
        padding: 15px;
    }

    #H27 {
        font-size: 22px;
    }

    /* Resume */
    .resumesection {
        width: 85%;
        font-size: 16px;
        margin: 15px auto;
        padding: 15px;
    }

    #H28 {
        font-size: 22px;
    }

    #B4 {
        font-size: 14px;
        padding: 9px;
    }

    /* Contact */
    .contactsection {
        width: 85%;
        font-size: 16px;
        margin: 15px auto;
        padding: 15px;
    }

    #H29 {
        font-size: 22px;
    }

    /* Footer */
    footer {
        padding: 8px;
        font-size: 13px;
    }
}

/* ---------- Mobile (≤ 480px) ---------- */
@media (max-width: 480px) {

    /* Header */
    header {
        padding: 15px 10px;
        margin-left: 0;
        text-align: center;
    }

    h1 {
        font-size: 20px;
    }

    #P1 {
        font-size: 8px;
    }

    /* Introduction */
    .introduction {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .profilesection {
        width: 95%;
        padding: 10px;
    }

    .profilepicture {
        width: 70%;
        height: auto;
    }

    .aboutsection {
        width: 92%;
        margin: 10px auto;
        padding: 12px;
    }

    #H21 {
        font-size: 20px;
    }

    #P2 {
        font-size: 14px;
    }

    #P3,
    #P4 {
        font-size: 12px;
    }

    /* Skills */
    .skillssection {
        width: 88%;
        font-size: 14px;
        padding: 12px;
        margin: 10px auto;
    }

    #H22 {
        font-size: 18px;
    }

    /* Projects heading */
    .heading {
        height: auto;
        padding: 8px 0;
    }

    #H23 {
        font-size: 20px;
        margin-left: 10px;
    }

    /* Project outer section */
    .projectsection {
        height: auto;
        margin: 10px;
        padding: 12px;
    }

    /* Project cards */
    .projectsection0 {
        flex-direction: column;
        align-items: center;
    }

    .projectsection1,
    .projectsection2,
    .projectsection3 {
        width: 90%;
        height: auto;
        margin: 10px auto;
        font-size: 13px;
        padding: 12px;
    }

    #B1,
    #B2,
    #B3 {
        position: static;
        display: block;
        margin-top: 10px;
        font-size: 13px;
        padding: 8px;
    }

    #H24,
    #H25,
    #H26 {
        font-size: 17px;
    }

    /* Interests */
    .interestsection {
        width: 88%;
        font-size: 14px;
        padding: 12px;
        margin: 10px auto;
    }

    #H27 {
        font-size: 18px;
    }

    /* Resume */
    .resumesection {
        width: 88%;
        font-size: 14px;
        padding: 12px;
        margin: 10px auto;
    }

    #H28 {
        font-size: 18px;
    }

    #B4 {
        font-size: 13px;
        padding: 8px;
        margin: 8px 0;
    }

    /* Contact */
    .contactsection {
        width: 88%;
        font-size: 14px;
        padding: 12px;
        margin: 10px auto;
    }

    #H29 {
        font-size: 18px;
    }

    /* Footer */
    footer {
        padding: 6px;
        font-size: 12px;
    }
}