@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}



html{
    font-size: 62%;
    overflow-x: hidden;
}

body{
    background: #101620;
    color: black;
    overflow: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 9rem;
    padding: 3rem 9%;
    background: #1f2937;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-image {
    width: 50px; /* Adjust the size of the image as needed */
    height: 50px;
    transition: 0.3s ease;
    margin-left: 2rem;
}

.logo:hover .logo-image {
    transform: scale(1.1);
}

.navbar a {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    margin-left: 4rem;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
    color: #0A7273;
    border-bottom: 3px solid #0A7273;
    transform: scale(1.05);
}

#menu-icon{
    font-size: 3.6rem;
    color: #0A7273;
    display: none;
}

section{
    min-height: 100vh;
    padding: 12rem 9% 12rem;
}

.home {
    background: #101620;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9.5rem;
    padding-top: 18rem;
    padding-left: 15rem;
}

.home-content h3 {
    font-size: 3rem;
    font-weight: 700;
    color: whitesmoke;
}

.home-content h1 {
    font-size: 7rem;
    font-weight: 700;
    line-height: 1.3;
    margin-left: -0.5rem;
    color: whitesmoke;
}

.home-content p {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 450;
    line-height: 1.8;
    max-width: 550px;
    text-align: justify;
    color: #ccc;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: #1f2937;
    font-size: 2.5rem;
    border: 0.3rem solid #0A7273;
    border-radius: 50%;
    color: #0A7273;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #0A7273;
    color: #ccc;
    transform: scale(1.3) translateY(-5px);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: #0A7273;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: white;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #0A7273;
    border: 2px solid #0A7273;
    transform: scale(1.05);
}

/* Box and Mini Box Styles */

.minim-box {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
}
.minim-box:hover{
    transform: scale(1.02); /* Slight zoom effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Shadow effect on hover */
}

.minim-box {
    width: 23vw;
    height: 28vw;
    background: #363e49;
    border: 3px solid #0A7273;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-left: 6rem;
}

.minim-box img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 4px;
}

.home-content span {
    color: #0A7273;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: #1f2937;
    padding: 120px 0px;
}

.about-content span{
    color: #0A7273;
}

.minimum-box {
    width: 23vw;
    height: 28vw;
    background: #363e49;
    border: 3px solid #0A7273;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.minimum-box img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 4px;
}

.minimum-box {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
}
.minimum-box:hover{
    transform: scale(1.02); /* Slight zoom effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Shadow effect on hover */
}

.about-content {
    max-width: 50rem;
    margin-left: 8rem;
}

.heading {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.about-content h2{
    font-size: 70px;
    color: #0A7273;
}

.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: whitesmoke;
}

.about-content p {
    margin-top: 2rem;
    margin-bottom: 4rem;
    font-size: 1.5rem;
    font-weight: 450;
    line-height: 1.8;
    max-width: 550px;
    text-align: justify;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: #0A7273;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #ccc;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: #363e49;
    color: #0A7273;
    border: 2px solid #0A7273;
    transform: scale(1.05);
}

/* General styling for large desktop view */
.skills-section {
    padding: 120px 0px;
    text-align: center;
    background-color: #101620;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1 4rem;
}

.skills-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.skills-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.skills-header h2 {
    font-size: 70px;
    margin-bottom: 0.5rem;
    color: #0A7273;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns for three skill cards */
    gap: 2rem;
    align-items: stretch; /* Make all cards the same height */
}

.skill-card {
    background-color: #1f2937;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease;
    padding: 25px;
    border: 3px solid #0A7273;
    border-radius: 8px;
    height: 100%; /* Ensure all cards stretch to same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0.5px;
    left: 0.5px;
    right: 0.5px;
    bottom: 0.5px;
    border: 10px solid #363e49;
    border-radius: 5px;
    pointer-events: none;
    z-index: 1;
} 

.skill-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.skill-title {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-title i {
    font-size: 3rem;
    color: #0A7273;
    margin-right: 1.5rem;
}

.skill-title h3 {
    font-size: 2rem;
    font-weight: bold;
    color: whitesmoke;
}

.skill-item {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ccc;
}

.skill-item .label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skill-item .bar-bg {
    background-color: #363e49;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-item .bar {
    height: 8px;
    background-color: #0A7273;
    width: 0%;
    border-radius: 4px;
    transition: width 1s ease-out;
}
    
/* Projects Section */
.projects {
    min-height: 60vh;
    padding: 120px 0px;
    text-align: center;
  }

  .projects-section{
    background: #1f2937;
  }

  .projects-section h2 {
    font-size: 70px;
    text-align: center;
    color: #0A7273;
}
  
  .project-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three projects per row */
    gap: 35px; /* Spacing between items */
    margin-top: 5rem;
    margin-left: 3rem;
  }
  
  .project-item {
    height: 35rem;
    width: 35rem;
    display: block;
    overflow: hidden;
    position: relative;
    margin-left: -2rem;
    padding: 10px; /* Gap between image and border */
    background-color: #363e49; /* Border background color */
    border: 3px solid #0A7273; /* Border color and thickness */
    border-radius: 8px; /* Rounded corners for the border */
  }
  
  .project-item img {
    width: 100%;
    display: block;
    border-radius: 4px; /* Slightly smaller rounding than the container */
  }
  
.project-item {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
}
.project-item:hover{
    transform: scale(1.02); /* Slight zoom effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Shadow effect on hover */
}
  
  .project-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
  }

  .filter-buttons {
    margin-top: 7rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .filter-btn {
    padding: 15px 25px;
    font-size: 1.3rem;
    background-color: #363e49;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background-color: #0A7273;
    color: #000;
  }
  

/* General styling for footer */
footer {
    position: relative;
    padding: 20px 15px;
    background-color: #101620;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    bottom: 0;
    z-index: 10;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 105px;
    flex: 1;
    margin-right: 20rem;
}

/* Group names and name in a row */
.names-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}

.name {
    font-size: 25px;
    font-weight: 600;
    margin: 0;
    transition: 0.3s ease;
    cursor: pointer;
    line-height: 1.2;
    display: flex;
    align-items: center;
    color: #0A7273;
}

.footer .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: #1f2937;
    font-size: 2rem;
    border: 0.3rem solid #0A7273;
    border-radius: 50%;
    color: #0A7273;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    position: relative;
}

.footer .social-icons a:hover {
    background: #0A7273;
    color: #ccc;
    transform: scale(1.3) translateY(-5px);
}

/* Move the right-side names slightly up in the footer only on desktop */
@media (min-width: 1025px) {
    .footer-right .names,
    .footer-right .name {
        position: relative;
        top: -10px;
    }
}

.designation {
    font-size: 15px;
    margin: 10px 0;
    font-weight: 400;
    transition: 0.3s ease;
    cursor: pointer;
    color: #ccc;
}

.names:hover,
.name:hover,
.designation:hover {
    transform: scale(0.95);
}

.social {
    margin-right: 10rem;
}

.social a{
    font-size: 15px;
    margin: 10px 0;
    font-weight: 400;
    transition: 0.3s ease;
    cursor: pointer;
    color: #ccc;
}


/* Ensure footer stays at the bottom */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


/* Responsive Styles */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 56%;
    }
    .header {
        padding: 2rem 4%;
        height: 8rem;
        justify-content: flex-start;
    }
    .logo {
        font-size: 2.4rem;
        margin-right: 3rem;
    }
    .navbar {
        margin-left: 45rem;
    }
    .navbar a {
        font-size: 1.5rem;
        margin-left: 2rem;
    }
    .home {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        padding: 12rem 4% 4rem 4%;
        text-align: center;
    }
    .home-content {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .home-content h3 {
        font-size: 2rem;
    }
    .home-content h1 {
        font-size: 3rem;
    }
    .home-box {
        width: 40vw;
        height: 40vw;
        margin: 0 auto;
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .minim-box {
        width: 35vw;
        height: 35vw;
    }
    .about {
        flex-direction: column;
        gap: 4rem;
        padding: 8rem 4% 4rem 4%;
        margin-top: 0;
    }
    .about-content h2 {
        font-size: 4rem;
    }
    .about-box {
        width: 40vw;
        height: 40vw;
        margin: 0 auto;
    }
    .minimum-box {
        width: 35vw;
        height: 35vw;
    }
    .about-content {
        max-width: 90vw;
        text-align: center;
    }
    .skills-section {
        padding: 6rem 4%;
        margin-top: 0;
    }
    .skills-header h2 {
        font-size: 4rem;
    }
    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-left: 0;
    }
    .skills-card {
        width: 35rem;
        height: 35rem;
        margin: 0 auto;
    }
    .projects-section h2 {
        font-size: 4rem;
    }
    .project-list {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-left: 0;
    }
    .project-item {
        width: 35rem;
        height: 35rem;
        margin: 0 auto;
    }
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 4%;
        gap: 1rem;
        margin-top: 2rem;
        text-align: center;
        width: 100%;
    }
    .footer-left {
        padding-left: 0;
        margin-right: 0;
        margin-bottom: 1rem;
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .name {
        font-size: 3rem;
        margin: 0 0 0.5rem 0;
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .designation {
        font-size: 1.8rem;
        margin: 0 0 0.5rem 0;
        text-align: center;
        width: 100%;
    }
    .social {
        margin: 0 0 0.5rem 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .social a {
        font-size: 1.8rem;
        margin: 0 0.5rem 0 0;
        text-align: center;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    html {
        font-size: 50%;
    }
    .header {
        height: 7rem;
        padding: 1.5rem 3%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .logo {
        font-size: 2rem;
        margin-right: 2rem;
        margin-left: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    #menu-icon {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        z-index: 101;
    }
    .navbar {
        position: fixed;
        top: 7rem;
        left: 0;
        width: 100vw;
        max-width: none;
        background:#101620;
        border-left: 3px solid #0A7273;
        border-bottom: 3px solid #0A7273;
        border-top-left-radius: 2.5rem;
        border-bottom-left-radius: 2.5rem;
        box-shadow: -4px 12px 32px rgba(10, 114, 115, 0.13), 0 2px 8px rgba(0,0,0,0.04);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2.5rem 2.5rem 2.5rem;
        z-index: 200;
        transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s;
        transform: translateY(-30px) scale(0.98);
        opacity: 0;
        backdrop-filter: blur(12px);
        margin-left: 0;
    }
    .navbar.active {
        display: flex;
        transform: translateY(0) scale(1);
        opacity: 1;
        animation: navbarFadeIn 0.4s cubic-bezier(.4,0,.2,1);
    }
    @keyframes navbarFadeIn {
        from {
            opacity: 0;
            transform: translateY(-30px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    .navbar a {
        display: block;
        font-size: 1.7rem;
        margin: 0.7rem 0;
        color: #0A7273;
        font-weight: 600;
        letter-spacing: 0.03em;
        border-radius: 1.2rem;
        padding: 1.1rem 1.5rem;
        background: linear-gradient(90deg, rgba(10,114,115,0.08) 0%, #1f2937 100%);
        transition: background 0.25s, color 0.25s, transform 0.18s;
        box-shadow: 0 2px 8px rgba(10,114,115,0.03);
        text-align: left;
        width: 100%;
    }
    .navbar a:hover,
    .navbar a.active {
        background: linear-gradient(90deg, #0A7273 0%, #1f2937 100%);
        color: #1f2937;
        transform: scale(1.04) translateX(4px);
        box-shadow: 0 4px 16px rgba(10,114,115,0.10);
    }

    .home {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        padding: 10rem 5% 4rem 5%;
        text-align: center;
    }
     .minim-box {
        width: 45vw;
        height: 45vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .home-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 2;
    }
    .home-content h1 {
        font-size: 3rem;
        margin-left: 0;
        text-align: center;
        width: 100%;
    }
    .home-content h3 {
        font-size: 4rem;
        text-align: center;
        width: 100%;
    }
    .home-content p {
        font-size: 1.3rem;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    .social-icons {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .social-icons a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 2rem;
        margin: 1rem 1rem 1rem 0;
    }
    .about {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 6rem 5% 4rem 5%;
        margin-top: 0;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 100vh;
        box-sizing: border-box;
    }
    .about-content {
        width: 100%;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        order: 2;
        margin: 0 auto;
    }
    .about-content h2 {
        font-size: 5rem;
        text-align: center;
        width: 100%;
    }
    .about-content p {
        font-size: 1.3rem;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    .about-box {
        width: 50vw;
        height: 50vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .minimum-box {
        width: 45vw;
        height: 45vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
   .skills-section {
        padding: 6rem 4%;
        margin-top: 0;
    }
    .skills-header h2 {
        font-size: 5rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-left: 0;
    }
    .skills-card {
        width: 25rem;
        height: 35rem;
        margin: 0 auto;
    }
    .projects-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .projects-section h2 {
        font-size: 5rem;
        text-align: center;
        width: 100%;
    }
    .project-list {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-left: 0;
        justify-items: center;
        width: 100%;
    }
    .project-item {
        width: 70vw;
        height: 70vw;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .filter-buttons {
        gap: 10px;
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .filter-btn {
        font-size: 1.5rem;
        padding: 10px 16px;
        text-align: center;
    }
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 5%;
        gap: 1rem;
        margin-top: 2rem;
        text-align: center;
        width: 100%;
    }
    .footer-left {
        padding-left: 0;
        margin-right: 0;
        margin-bottom: 1rem;
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .name {
        font-size: 3rem;
        margin: 0 0 0.5rem 0;
        margin-bottom: 2rem;
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .designation {
        font-size: 1.8rem;
        margin: 0 0 0.5rem 0;
        text-align: center;
        width: 100%;
    }
    .social {
        margin: 0 0 0.5rem 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .social a {
        font-size: 1.5rem;
        margin: 0 0.3rem 0 0;
        text-align: center;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    .header {
        height: 7rem;
        padding: 1.5rem 3%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .logo {
        font-size: 2rem;
        margin-right: 1.5rem;
        margin-left: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    #menu-icon {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        z-index: 101;
    }
    .navbar {
        position: fixed;
        top: 7rem;
        left: 0;
        width: 100vw;
        max-width: none;
        background:#101620;
        border-left: 3px solid #0A7273;
        border-bottom: 3px solid #0A7273;
        border-top-left-radius: 2.5rem;
        border-bottom-left-radius: 2.5rem;
        box-shadow: -4px 12px 32px rgba(10, 114, 115, 0.13), 0 2px 8px rgba(0,0,0,0.04);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2.5rem 2.5rem 2.5rem;
        z-index: 200;
        transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s;
        transform: translateY(-30px) scale(0.98);
        opacity: 0;
        backdrop-filter: blur(12px);
        margin-left: 0;
    }
    .navbar.active {
        display: flex;
        transform: translateY(0) scale(1);
        opacity: 1;
        animation: navbarFadeIn 0.4s cubic-bezier(.4,0,.2,1);
    }
    @keyframes navbarFadeIn {
        from {
            opacity: 0;
            transform: translateY(-30px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    .navbar a {
        display: block;
        font-size: 1.7rem;
        margin: 0.7rem 0;
        color: #0A7273;
        font-weight: 600;
        letter-spacing: 0.03em;
        border-radius: 1.2rem;
        padding: 1.1rem 1.5rem;
        background: linear-gradient(90deg, rgba(10,114,115,0.08) 0%, #1f2937 100%);
        transition: background 0.25s, color 0.25s, transform 0.18s;
        box-shadow: 0 2px 8px rgba(10,114,115,0.03);
        text-align: left;
        width: 100%;
    }
    .navbar a:hover,
    .navbar a.active {
        background: linear-gradient(90deg, #0A7273 0%, #1f2937 100%);
        color: #1f2937;
        transform: scale(1.04) translateX(4px);
        box-shadow: 0 4px 16px rgba(10,114,115,0.10);
    }

    .home {
        flex-direction: column;
        align-items: center;
        padding: 6rem 4%;
        margin-top: 0;
        text-align: center;
        justify-content: center;
    }
    .minim-box {
        width: 45vw;
        height: 45vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .home-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 2;
        z-index: 1;
    }
    .home-content h1 {
        font-size: 4rem;
        text-align: center;
        width: 100%;
    }
    .home-content h3 {
        font-size: 3rem;
        text-align: center;
        width: 100%;
    }
    .home-content p {
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
    }
    .social-icons {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .about {
        padding: 6rem 4%;
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        display: flex;
        margin: 0 auto;      
    }
    .about-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        order: 2;
        z-index: 1;
        margin: 0 auto;
    }
    .about-content h2 {
        font-size: 4rem;
        text-align: center;
        width: 100%;
    }
    .about-content p {
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
    }
    .minimum-box {
        width: 45vw;
        height: 45vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .skills-section {
        padding: 6rem 4%;
        margin-top: 0;
    }
    .skills-header h2 {
        font-size: 4rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-left: 0;
    }
    .skills-card {
        width: 25rem;
        height: 35rem;
        margin: 0 auto;
    }
    .projects-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 6rem 4%;
        margin-top: 0;
    }
    .projects-section h2 {
        font-size: 4rem;
        text-align: center;
        width: 100%;
    }
    .project-list {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-left: 0;
        justify-items: center;
        width: 100%;
    }
    .project-item {
        width: 88vw;
        height: 88vw;
        margin: 0 auto;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .filter-buttons {
        gap: 6px;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .filter-btn {
        font-size: 1.1rem;
        padding: 8px 10px;
        text-align: center;
    }
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem 3%;
        gap: 0.5rem;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }
    .footer-left {
        padding-left: 0;
        margin-right: 0;
        margin-bottom: 0.5rem;
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .name {
        font-size: 3rem;
        margin: 0 0 0.3rem 0;
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
        margin-bottom: 2rem;
    }
    .designation {
        font-size: 1.8rem;
        margin: 0 0 0.3rem 0;
        text-align: center;
        width: 100%;
    }
    .social {
        margin: 0 0 0.3rem 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .social a {
        font-size: 1.3rem;
        margin: 0 0.3rem 0 0;
        text-align: center;
    }
}
