*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Header Styles */
header{
    background-color: #010101;
    color: #fff;
    padding: 1.25rem 15rem;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1.25rem;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .myName{
    font-size: 3rem;
    font-weight: bold;
    text-align: left;
    /* animation: slideRight 1s ease-out; */
}

@keyframes slideRight {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.navElements{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    font-size: medium;
}

.navElements li{
    font-size: 1.75rem;
    padding: 0.5rem 1rem;
    border-radius: 1.25rem 1.875rem;
    transition: background-color 0.3s ease, transform 0.1s ease-in-out;
    animation: fadeInUp 0.8s ease-out backwards;
}

.navElements li:nth-child(1) { animation-delay: 0.1s; }
.navElements li:nth-child(2) { animation-delay: 0.2s; }
.navElements li:nth-child(3) { animation-delay: 0.3s; }
.navElements li:nth-child(4) { animation-delay: 0.4s; }
.navElements li:nth-child(5) { animation-delay: 0.5s; }
.navElements li:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navElements li:hover{
    background-color: #333;
    transform: scale(1.1);
}

.navElements li:first-child,
.navElements li:last-child{
    background-color: #47a927;
}

.navElements li a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

header .container{
    background-image: url(background.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 6.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
    margin: 0.625rem 0rem 2rem 0rem;
}

.basicInfo{
    font-size: 2.25rem;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 1.25rem;
    margin-top: 3.125rem;
    margin-left: 7.5rem;
    margin-bottom: 3.125rem;
    padding-top: 3.125rem;
    animation: slideUp 1.2s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.basicInfo h1{
    font-size: 4.25rem;
    font-weight: bold;
    color: #47a927;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

hr{
    border: none;
    border-top: 0.125rem solid #585858;
    margin: 1.25rem;
}

.achievements{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.25rem;
    list-style-type: none;
}

.achievement{
    color: #fff;
    padding: 1.25rem;
    border-radius: 0.625rem;
    flex: 1;
    text-align: left;
    transition: transform 0.3s ease;
    animation: fadeInScale 1s ease-out backwards;
}

.achievement:nth-child(1) { animation-delay: 0.2s; }
.achievement:nth-child(2) { animation-delay: 0.4s; }
.achievement:nth-child(3) { animation-delay: 0.6s; }
.achievement:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

.achievement .detail p:first-child {
    font-size: 2.25rem;
    font-weight: bold;
    color: #f76802;
}

/* Main Styles */
main{
    color: #fff;
    text-align: center;
    background-color: #090909;
}

main .container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 15rem;
}

main .container .imgContainer, 
main .container .aboutMe{
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInSide 1.2s ease-out;
}

@keyframes fadeInSide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

main .container .aboutMe{
    color: #fff;
    padding: 1.25rem 3.125rem;
    border-radius: 0.625rem;
    text-align: left;
    font-size: 1.5rem;
    align-items: flex-start;
}

main .aboutMe .innerContainer{
    background-color: #090909;
    border-radius: 0.625rem;
    padding: 1.25rem;
    margin-left: 0.25rem;
    margin-top: 0.0625rem;
    box-shadow: chocolate 0.25rem 0.0625rem 0rem inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main .aboutMe .innerContainer:hover {
    transform: translateY(-5px);
    box-shadow: chocolate 0.5rem 0.125rem 0rem inset;
}


main .container .imgContainer img{
    width: 100%;
    border-radius: 10px;
}

#status{
    color: #47a927;
}

/* Expertise Section */
.expertiseContainer{
    background-color: #131313;
    border-radius: 1.25rem;
    padding: 1.25rem 15rem;
}

.skillsSection{
    color: #fff;
    padding: 1.25rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.skillsContainer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.875rem;
    width: 100%;
}

.skillsContainer .skill{
    background-color: rgba(73, 73, 73, 0.1);
    color: #f76802;
    padding: 2.5rem;
    border-radius: 0.625rem;
    text-align: center;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
}

.skillsContainer .skill:nth-child(1) { animation-delay: 0.1s; }
.skillsContainer .skill:nth-child(2) { animation-delay: 0.2s; }
.skillsContainer .skill:nth-child(3) { animation-delay: 0.3s; }
.skillsContainer .skill:nth-child(4) { animation-delay: 0.4s; }
.skillsContainer .skill:nth-child(5) { animation-delay: 0.5s; }
.skillsContainer .skill:nth-child(6) { animation-delay: 0.6s; }

.skillsContainer .skill:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(247, 104, 2, 0.3);
}

.skillsContainer .skill h2{
    font-size: 2.25rem;
    margin-bottom: 1.875rem;
}

.skillsContainer .skill h5{
    font-size: 1.75rem;
    margin-top: 3.125rem;
    margin-bottom: 1.875rem;
    color: white;
}

.skill div{
    text-align: left;
}

.skills ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
}

.mySkill{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    color: gray;
    background-color: rgba(105, 103, 103, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    max-width: fit-content;
}

.mySkill:hover{
    background-color: #333;
    border: rgb(168, 165, 165) 0.0625rem ;
    color: #fff;
    transform: scale(1.1);
}

/* Projects Section */
.projects{
    padding: 1.25rem 15rem;
}

.projectsSection{
    color: #fff;
    padding: 1.25rem;
    text-align: left;
}

.projectsContainer{
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 1.875rem;
}

.project{
    background-color: rgba(73, 73, 73, 0.1);
    color: #f76802;
    padding: 2.5rem;
    border-radius: 0.625rem;
    width: 100%;
    height: 25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
}

.project:nth-child(1) { animation-delay: 0.1s; }
.project:nth-child(2) { animation-delay: 0.2s; }
.project:nth-child(3) { animation-delay: 0.3s; }
.project:nth-child(4) { animation-delay: 0.4s; }

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

.projectDetail{
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#netflix{
    background-image: url(netflix.png);
}

#ultraedit{
    background-image: url(ultraedit.png);
}

#studentmanagement{
    background-image: url(studentmanagementsystem.png);
}

/* Education Section */
.educationContainer {
    background-color: #090909;
    padding: 1.25rem 15rem;
}

.educationSection {
    color: #fff;
    padding: 1.25rem;
    text-align: left;
}

.educationContent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 1.875rem;
    margin-top: 1.25rem;
}

.educationColumn {
    background-color: rgba(73, 73, 73, 0.1);
    color: #f76802;
    padding: 2.5rem;
    border-radius: 0.625rem;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.educationColumn:hover {
    transform: translateY(-10px);
}

.educationColumn h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.educationItem {
    background-color: rgba(105, 103, 103, 0.1);
    padding: 1.5rem;
    border-radius: 0.625rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.educationItem:hover {
    background-color: rgba(105, 103, 103, 0.2);
    transform: translateX(10px);
}

.educationItem h4 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.educationItem .institution {
    color: #47a927;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.educationItem .year {
    color: #999;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.educationItem p:last-child {
    color: #ccc;
    font-size: 1.25rem;
}

/* Soft Skills Section */
.softskillsContainer {
    background-color: #131313;
    padding: 1.25rem 15rem;
}

.softskillsSection {
    color: #fff;
    padding: 1.25rem;
    text-align: left;
}

.softskillsContent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 1.875rem;
    margin-top: 1.25rem;
}

.softskillsColumn {
    background-color: rgba(73, 73, 73, 0.1);
    color: #f76802;
    padding: 2.5rem;
    border-radius: 0.625rem;
    animation: fadeInUp 0.8s ease-out;
}

.softskillsColumn h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.softskillsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
}

.softskillItem {
    background-color: rgba(105, 103, 103, 0.1);
    padding: 1.5rem;
    border-radius: 0.625rem;
    transition: all 0.3s ease;
}

.softskillItem:hover {
    background-color: rgba(105, 103, 103, 0.2);
    transform: translateY(-5px);
}

.softskillItem h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.softskillItem p {
    color: #ccc;
    font-size: 1.25rem;
}

.interestsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1rem;
}

.interestItem {
    background-color: rgba(105, 103, 103, 0.1);
    padding: 1rem;
    border-radius: 3.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.interestItem:hover {
    border: 1px solid #6f6f6f;
    background-color: #333;
    transform: scale(1.1);
}

.interestItem p {
    color: #fff;
    font-size: 1.5rem;
}

/* Contact Section */
.contactContainer {
    background-color: #090909;
    padding: 1.25rem 15rem;
}

.contactSection {
    color: #fff;
    padding: 1.25rem;
    text-align: center;
}

.contactDescription {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.contactContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    animation: fadeIn 1s ease-out;
}

.contactInfo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 60rem;
}

.contactItem {
    background-color: rgba(73, 73, 73, 0.1);
    padding: 2rem;
    border-radius: 0.625rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contactItem:hover {
    background-color: rgba(73, 73, 73, 0.2);
    transform: translateY(-10px);
}

.contactItem h4 {
    font-size: 1.75rem;
    color: #47a927;
    margin-bottom: 1rem;
}

.contactItem p {
    font-size: 1.5rem;
    color: #fff;
}

.socialLinks {
    width: 100%;
    max-width: 40rem;
}

.socialLinks h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #f76802;
}

.socialIcons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.socialIcons i {
    color: gray;
    rotate: 225deg;
}

.socialIcon {
    background-color: rgba(73, 73, 73, 0.1);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 3.125rem;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.socialIcon:hover {
    background-color: #47a927;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #010101;
    color: #fff;
    padding: 3rem 15rem;
}

.footerContent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footerSection h3 {
    font-size: 2rem;
    color: #47a927;
    margin-bottom: 1rem;
}

.footerSection h4 {
    font-size: 1.5rem;
    color: #f76802;
    margin-bottom: 1rem;
}

.footerSection p {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footerLinks {
    list-style: none;
}

.footerLinks li {
    margin-bottom: 0.5rem;
}

.footerLinks a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footerLinks a:hover {
    color: #47a927;
}

.footerBottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.125rem solid #585858;
}

.footerBottom p {
    font-size: 1.25rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1600px) {
    html {
        font-size: 14px;
    }
    
    header,
    main .container,
    .expertiseContainer,
    .projects,
    .educationContainer,
    .softskillsContainer,
    .contactContainer,
    footer {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 12px;
    }
    
    header,
    main .container,
    .expertiseContainer,
    .projects,
    .educationContainer,
    .softskillsContainer,
    .contactContainer,
    footer {
        padding-left: 5rem;
        padding-right: 5rem;
    }
    
    .navbar .myName{
        display: none;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navElements {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .basicInfo {
        width: 80%;
        margin-left: 2rem;
    }
    
    main .container .imgContainer,
    main .container .aboutMe {
        width: 100%;
        flex-basis: 100%;
    }
    
    .skillsContainer,
    .projectsContainer,
    .educationContent,
    .softskillsContent {
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 10px;
    }
    
    header,
    main .container,
    .expertiseContainer,
    .projects,
    .educationContainer,
    .softskillsContainer,
    .contactContainer,
    footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .basicInfo {
        width: 100%;
        margin-left: 0;
    }
    
    .navbar .myName {
        font-size: 2.5rem;
    }
    
    .navElements li {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    main .container {
        flex-direction: column;
    }
    
    .achievements {
        flex-wrap: wrap;
    }
    
    .skillsContainer,
    .projectsContainer,
    .educationContent,
    .softskillsContent {
        grid-template-columns: 1fr;
    }
    
    .contactInfo {
        grid-template-columns: 1fr;
    }
    
    .footerContent {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 8px;
    }
    
    header,
    main .container,
    .expertiseContainer,
    .projects,
    .educationContainer,
    .softskillsContainer,
    .contactContainer,
    footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navElements {
        gap: 0.5rem;
    }
    
    .navElements li {
        font-size: 1.25rem;
        padding: 0.3rem 0.6rem;
    }
    
    .softskillsGrid{
        grid-template-columns: 1fr;
    }
    .interestsGrid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .socialIcons {
        flex-direction: column;
        gap: 1rem;
    }
}
