* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box;
     text-decoration: none;
     font-family: 'Poppins',sans-serif; */
    scroll-behavior: smooth;
 }
 
 body {
    background: rgb(0, 0, 33);
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
 }
 
 .wrap {
    /* header */
    display: flex;
    justify-content: space-around;
    position: fixed;
    background-color: rgb(18, 18, 62);
    width: 100%;
    align-items: center;
    height: 80px;
    z-index: 1000;
 
 }
 
 .wrap .right {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
 
 }
 
 nav {
    display: flex;
    justify-content: space-around;
 
    /* position: fixed; */
 
 }
 
 nav ul {
    display: flex;
    justify-content: center;
 
 }
 
 nav ul li {
    list-style: none;
    margin: 0 30px;
 }
 
 nav ul li a {
    color: white;
    font-size: 1.06rem;
    text-decoration: none;
 
 
 }
 
 nav ul li a:hover {
    color: rgb(153, 153, 226);
    font-size: 1.04rem;
 }
 
 .social-icons {
    margin-top: 30px;
 }
 
 .social-icons a {
    text-decoration: none;
    font-size: 30px;
 /* margin-right: 1px; */
    margin: 2rem 1.4rem 2rem 0;;
    color: rgb(0, 255, 255);
    display: inline-block;
    transition: transform 0.5s;
 }
 
 .social-icons a:hover {
    color: #fff;
    transform: translateY(-5px);
 
 }

 /* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--bg-color);
    border: 2px solid white;
    border-radius: .8rem;
    box-shadow: 0 0 1rem rgb(143, 130, 130);
    margin-top: 1px;
    font-size: 1.6rem;
    color: bisque;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    text-decoration: none;
    cursor: pointer;
    min-width: 150px;
}

.btn:hover {
    box-shadow: none;
}

/* Home Download Button - Override for specific button */
.Home .btn {
    padding: 1.5rem 2.5rem;
    font-size: 1.6rem;
    margin-top: 1rem;
    border-radius: .8rem;
    cursor: pointer;
    min-width: 150px;
}

.Home .btn:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.8);
    color: rgba(0, 255, 255, 1);
}

/* Contact Section Button */
.Contact form .btn {
    margin-top: 2rem;
    padding: 1.5rem 2.5rem;
    font-size: 1.6rem;
    border-radius: .8rem;
    cursor: pointer;
    min-width: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .Home .btn,
    .Contact form .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.4rem;
        margin: 1rem 0;
    }
}

 .Home {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    margin-top: 100px;
    gap: 4rem;
}

.leftsection {
    font-size: 2.7rem;
    padding: 10px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.rightsection {
    height: auto;
    width: 40%;
    max-width: 350px;
    margin-left: auto;
    padding-right: 50px; 
}

.rightsection img {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .Home {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        margin-top: 80px;
        gap: 2rem;
    }

    .leftsection {
        width: 100%;
        margin: 0;
        padding: 20px;
        height: auto;
        text-align: center;
    }

    .rightsection {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .rightsection img {
        max-width: 250px;
    }

    .Home .btn {
        margin: 15px auto;
        display: block;
    }
}

 /* About Section */
 .About {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    background: rgb(25, 25, 57);
    height: 110vh;
    margin-top: 10%;
 }
 .about-img {
    flex: 1;
    max-width: 400px;
    margin-left: auto;
    padding-left: 30px;
}
 .about-img img {
    width: 30vw;
    height: 30vw;
    height: auto; /* Maintain aspect ratio */
    margin-left: 5%;
    border-radius: 30px;
    margin-top: 15%;
    overflow: hidden;
    object-fit: cover; /* Optional: Crop image neatly if needed */
    position: relative;
 }
 
 .heading {
    text-align: center;
    font-size: 4.2rem;
 
 }
 
 .about-content h2 {
    text-align: left;
    line-height: 1.2;
 
    transition: transform 0.5s;
 }
 
 .about-content h2:hover {
    transform: translateY(-7px);
    color: blueviolet;
    padding-top: 20px;
 }
 
 .about-content h3 {
    font-size: 2.4rem;
 
    line-height: 1.6;
    text-align: left;
 }
 
 .about-content h3:hover {
    color: aqua;
 }
 
 .about-content p {
    font-size: 1.3rem;
    margin: 2rem 0 3rem;
    padding-right: 4%;
 }
 
 span {
    color: brown;
 }
 
 
 /* <!-- My-Skills Section --> */
 .Experience h2 {
    margin-bottom: 5rem;
    margin-top: 14%;
 
 }
 
 .Experience-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.7rem;
    margin-right: 3%;
    margin-left: 2%;
 
 }
 
 .Experience-container .Experience-box {
    flex: 1 1 20rem;
    background: rgb(25, 25, 57);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid rgb(25, 25, 57);
    transition: .5s ease;
 }
 
 .Experience-container .Experience-box:hover {
    border-color: aqua;
    transform: scale(1.02);
 
 }
 
 .Experience h2 {
 
    /* text-align:left; */
    line-height: 1.2;
 
    transition: transform 0.5s;
 }
 
 .Experience h2:hover {
    transform: translateY(-7px);
    color: blueviolet;
    padding-top: 20px;
 }
 
 .Experience-box i {
    font-size: 2rem;
 
    background: aqua;
 }
 
 .Experience-box h3 {
    font-size: 2.5rem;
    text-align: left;
    color: darkorange;
    transition: .5s ease;
 }
 
 .Experience-box h3:hover {
    color: crimson;
    transform: scale(1.02);
 }
 
 
 
 /* Education Section */
 .Education {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7rem;
    /* Gap between img and about section */
    background: rgb(25, 25, 57);
    height: 110vh;
    margin-top: 15%;
 }
 
 .Education-img img {
 
    width: 32vw;
    height: 30vw;
    margin-left: 4%;
    border-radius: 30px;
    margin-top: 10%;
    overflow: hidden;
    position: relative;
 }
 
 .heading {
    text-align: center;
    font-size: 4.2rem;
 
 }
 

 
 /* Project Section */
 
 
 .Projects-container {
    margin-top: 12%;
    max-width: 1400px;
    margin: auto;
    /* background: rgb(25, 25, 57); */
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap;
    padding: 0 4px;
    gap: 3rem;
    margin-left: 2%;
    margin-right: 2%;
    flex-wrap: wrap;
    align-items: center;
 
 }
 
 .Projects h2 {
    margin-bottom: 4rem;
    margin-top: 4%;
    line-height: 1.2;
 
    transition: transform 0.5s;
    margin-top: 8%;
 }
 
 .Projects h2:hover {
    transform: translateY(-7px);
    color: blueviolet;
    padding-top: 20px;
 }
 
 
 
 .Projects-box {
    width: 100%;
    height: 100%;
 }
 
 .Projects-container .Projects-box {
    border-radius: 8px;
    box-shadow: 0 5px 15px brown;
    border: 2px solid rgb(25, 25, 57);
    position: relative;
    border-radius: box-b;
 
 
 }
 
 .Projects-box img {
    width: 100%;
    transition: .5s ease;
 }
 
 .Projects-box:hover img {
    transform: scale(1.1);
 
 }
 
 .Projects-box .Projects-layer {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), rgb(57, 242, 242));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
 
    padding-left: 1%;
    transform: translateY(100%);
    transition: .5s ease;
 
 
 
 }
 
 .Projects-box:hover .Projects-layer {
    transform: translateY(0);
 }
 
 .Projects-box:hover .Projects-layer h4 {
    color: brown;
 }
 
 .Projects-layer h4 {
    font-size: 2rem;
    /* color: black; */
 }
 
 .Projects-layer p {
    font-size: 1.1rem;
    margin: .2rem 0 1rem;
    color: white;
 }
 
 .Projects-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: rgb(15, 11, 11);
    border-radius: 50%;
 
 }
 
 .Projects-layer a i {
    font-size: 2rem;
    color: white
 }
 
 /* Contact Section */
 .Contact h2 {
    margin-bottom: 3rem;
    margin-top: 14%;
 
 }
 
 .Contact h2:hover {
    transform: translateY(-7px);
    color: blueviolet;
    padding-top: 20px;
 }
 
 .Contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
 
 }
 
 .Contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
 
 }
 
 .Contact form .input-box input,
 .Contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: white;
    background: rgb(25, 25, 57);
    border-radius: .8rem;
    margin: .7rem 0;
 
 }
 
 .Contact form .input-box input {
    width: 44%;
 }
 
 
 
 .Contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
 
 }
 
 /* Footer Section */
 .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: rgb(25, 25, 57);
 
 }
 
 .footer-text p {
    font-size: 1.6rem;
 
 }
 
 .footer-icontop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: aqua;
    border-radius: .8rem;
    transition: .5s ease;
 }
 
 .footer-icontop a i {
    font-size: 2.4rem;
 
 
 }
 
 .footer-icontop a:hover {
    box-shadow: 0 0 1rem red;
 }
 
 /* Skills Section Styles */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 2rem 2rem; /* Increased top padding */
    justify-content: center;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px; /* Minimum height for equal sizing */
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.skill-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

.skill-card h3:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    margin-top: 0.5rem;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    flex-grow: 1;
}

.skill-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-icon:hover {
    transform: scale(1.1);
}

.skill-item span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-container {
        padding: 3rem 1rem 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
}
 
 /* Media Query */
 @media(max-width:1200px) {
    html {
 
 
       font-size: 50%;
 
    }
 }
 
 @media(max-width:991px) {
    .wrap {
       padding: 2rem 3%;
    }
 
    section {
       padding: 10rem 3% 2rem;
    }
 
    .Experience {
       padding-bottom: 7rem;
    }
 
    .Projects {
       padding-bottom: 7rem;
    }
 
    .Contact {
       min-height: auto;
 
    }
 
    .footer {
       padding: 2rem 3%;
    }
    .rightsection img {
       box-shadow: 0 5px 15px rgb(108, 106, 106);
       height: 50%;
       width: 50%; 
       /* height: 60%; */
        border-radius:15px;
       margin-left: 12rem;
       overflow: hidden; 
       
    }
 
 }
 
 @media(max-width:768px) {
    .nav {
       position: absolute;
       top: 100%;
       left: 0;
       width: 100%;
       padding: 1rem 3%;
       background: rgb(18, 18, 62);
       border-top: .1rem solid rgb(18, 18, 62);
       display: none;
    }

    nav a {
       display: block;
       font-size: 2rem;
       margin: 3rem 0;
    }

    .Home {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
        margin-top: 80px;
        gap: 2rem;
    }

    .leftsection {
        margin: 0;
        padding: 20px;
        height: auto;
        text-align: center;
    }

    .rightsection {
        margin: 0 auto;
        max-width: 300px;
    }

    .rightsection img {
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: 15px;
    }

    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }

    .Home .btn {
        margin: 15px auto;
        display: block;
    }

    .About {
        flex-direction: column-reverse;
    }

    .about-img img {
        width: 60vw;
        height: 50vw;
        margin-left: 3%;
        border-radius: 20px;
        margin-top: 4%;
        position: relative;
    }
 }
 
 @media(max-width:617px) {
    .Projects-container {
       grid-template-columns: 1fr;
    }
 
 }
 
 @media(max-width:450px) {
    html {
       font-size: 50%;
    }
 
    .Contact form .input-box input {
       width: 100%;
    }
 
 }
 
 @media(max-width:365px) {
    .about about- img {
       width: 50vw;
    }
 
    .rightsection img {
 
       display: none;
    }
 
    .footer {
       flex-direction: column-reverse;
    }
 
    .footer p {
       text-align: center;
       margin-top: 0.5rem;
    }
 
 }