@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

:root {
    --yellow: #f9ca24;
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

*::selection {
    background: var(--yellow);
    color: #333;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 1.4rem;
}

html::-webkit-scrollbar-track {
    background: #222;
}

html::-webkit-scrollbar-thumb {
    background: var(--yellow);
}

body {
    background: #111;
    overflow-x: hidden;
    padding-left: 35rem;
}

/* section  {
    min-height: 100vh;
    padding: 1rem;
} */

/* .Home  {
    min-height: 100vh;
    padding: 1rem;
} */

.btn {
    padding: .7rem 3rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2rem;
    border-radius: 5rem;
}

.btn i {
    padding: 0 .5rem;
    font-size: 1.8rem;
}

.btn:hover {
    background: var(--yellow);
}

.heading,
.about-heading {
    text-align: center;
    margin: 0 6rem;
    font-size: 4rem;
    padding: 1rem;
    border-bottom: .1rem solid #fff4;
    color: #fff;
}

.heading,
.about-heading span {
    color: var(--yellow);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 35rem;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}

header .user img {
    height: 17rem;
    width: 17rem;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 0rem;
    margin-bottom: 0rem;
    border: .7rem solid var(--yellow);
}

header .user .name {
    font-size: 3.5rem;
    color: #fff;
}

header .user .post {
    font-size: 2rem;
    color: #eee;
}

header .navbar {
    width: 70%;
}

header .navbar ul {
    list-style: none;
    padding: 1rem 2rem;
}

header .navbar ul li a {
    display: block;
    padding: 0.5rem;
    margin: 1.5rem 0;
    background: #333;
    color: #fff;
    font-size: 2rem;
    border-radius: 5rem;
}

header .navbar ul li a:hover {
    background: var(--yellow);
}

#menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: none;
}

.Home {
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding: 0 15rem;
    background-size: 3000px;
}

.Home h3 {
    font-size: 2.5rem;
    color: #fff;
}

.Home h1 {
    font-size: 5rem;
    color: #fff;
}

.Home h1 span {
    color: var(--yellow);
}

.Home p {
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
}


/* about section starts */

.About {
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding: 0 15rem;
    background-size: 3000px;
}

.About p {
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
}

.about-content {
    box-sizing: border-box;
    margin-top: 30px;
}

.about-content span {
    font-weight: bolder;
    color: var(--yellow);
}

.about-content .p2 span {
    font-weight: bolder;
    color: blue;
}

.about-heading {
    margin: 0 -9rem;
}

.About .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.About .row .info {
    flex: 1 1 48rem;
    padding: 2rem 1rem;
    padding-left: 1rem;
}

.About .row .info h3 {
    font-size: 2rem;
    color: var(--yellow);
    padding: 1rem 0;
    font-weight: normal;
}

.About .row .info h3 span {
    color: #eee;
    padding: 0 .5rem;
}

.About .row .counter {
    flex: 1 1 40rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.About .row .counter .box {
    width: 25rem;
    background: #222;
    text-align: center;
    padding: 0.5rem;
    margin: 1rem;
}

.About .row .counter .box span {
    font-size: 2rem;
    color: var(--yellow);
}

.About .row .counter .box h3 {
    font-size: 2rem;
    color: #fff;
}

/* about section ends */

/* experience section starts */

.experience {
    padding: 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.experience h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.duration {
    color: #999;
}

.experience-card {
    background-color: #1e1e1e;
    /* Dark background */
    color: #f1f1f1;
    /* Light text */
    padding: 40px;
    max-width: 1100px;
    /* Increased card width */
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    font-size: 1.15rem;
    /* Increased font size */
    line-height: 1.85;
    /* More line spacing for readability */
}

.experience-card .contribution {
    font-size: 2rem;
}

.experience-card h3 {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.experience-card h4 {
    margin-top: 25px;
    font-size: 2.2rem;
    color: #ffa500;
}

.experience-card .company {
    font-style: italic;
    color: #cccccc;
    font-size: 2.1rem;
    margin-bottom: 20px;
}

.experience-card ul {
    margin-left: 30px;
    padding-left: 10px;
}

.experience-card ul li {
    margin-bottom: 12px;
    font-size: 2rem;
    color: #e0e0e0;
}

.experience-card:hover {
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.3);
    transition: box-shadow 0.3s ease;
}


/* experience section ends */

/* education section starts */

.Education .box-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0rem 0;
    padding-left: 0.4rem;
    padding-right: 3rem;
}

.Education .box-container .box {
    width: 25rem;
    margin: 4rem 1rem;
    padding-left: 2rem;
    border-left: .2rem solid #fff;
    position: relative;
}

.Education .box-container .box span {
    font-size: 1.3rem;
    background: #222;
    color: #fff;
    border-radius: 5rem;
    padding: .5rem 2.5rem;
}

.Education .box-container .box h3 {
    font-size: 2rem;
    color: #e12f0b;
    padding-top: 1.5rem;
}

.Education .box-container .box p {
    font-size: 1.5rem;
    color: #eee;
    padding: 1rem 0;
    text-transform: none;
}

.Education .box-container .box i {
    position: absolute;
    top: -1.5rem;
    left: -2.5rem;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: var(--yellow);
}

/* education section ends */



/* Technical_Skills section starts */

.Technical_Skills .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.Technical_Skills .box-container .box {
    height: 20rem;
    width: 26rem;
    border-radius: 1rem;
    margin: 1rem;
    overflow: hidden;
    cursor: pointer;
}

.Technical_Skills .box-container .box img {
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
}

.Technical_Skills .box-container .box:hover img {
    transform: scale(1.05);
}

/* Technical_Skills section ends */


/* project section starts */

.projects {
    background-color: var(--bg-color);
    padding: 32px 0;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.project-pic {
    width: 100%;
    height: 100%;
}

.projects-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.project-container {
    text-align: center;
    width: 31.875rem;
    padding: 1rem;
}

.project-container p {
    padding: 0.4rem;
    font-weight: bolder;
}

.project-title {
    color: #111;
    font-weight: bolder;
    font-size: 20px;
}

.project-details {
    margin-bottom: var(--bottom-margin);
}

.project-card {
    background-color: #91ca79;
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--primary-shadow);
    padding: 20px;
    margin: 10px;
}

.project-card:hover {
    transform: scale(1.2);
}

#hms {
    height: 155px;
}

/* project section ends */


/* contact section starts */

.Contact .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.Contact .row .content {
    flex: 1 1 30rem;
    padding: 4rem;
    padding-bottom: 0;
}

.Contact .row form {
    flex: 1 1 45rem;
    padding: 2rem;
    margin: 2rem;
    margin-bottom: 4rem;
}

.Contact .row form .box {
    padding: 1.5rem;
    margin: 1rem 0;
    background: #3333;
    color: #fff;
    text-transform: none;
    font-size: 1.7rem;
    width: 100%;
}

.Contact .row form .box::placeholder {
    text-transform: capitalize;
}

.Contact .row form .message {
    height: 15rem;
    resize: none;
}

.Contact .row .content .title {
    text-transform: uppercase;
    color: #fff;
    font-size: 3rem;
    padding-bottom: 2rem;
}

.Contact .row .content .info h3 {
    display: flex;
    text-transform: none;
    align-items: center;
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
    font-weight: normal;
}

.Contact .row .content .info h3 i {
    padding-right: 1rem;
    color: var(--yellow);
}

/* contact section ends */


.top {
    position: fixed;
    bottom: 4.3rem;
    right: 0.1rem;
    z-index: 100;
    display: none;
}


/* footer starts */


#lab_social_icon_footer {
    /* height: 1px; */
    text-align: center;
    background-color: #dedede;
}

#lab_social_icon_footer a {
    color: #333;
}

/* #lab_social_icon_footer .social:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

#lab_social_icon_footer .social {
    -webkit-transform: scale(0.8);
    /* Browser Variations: */

/* -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s; */
/* } */
*/ #lab_social_icon_footer .social:hover {
    transform: scale(1.1);
    transition-duration: 0.5s;
}

#lab_social_icon_footer .social {
    transform: scale(0.8);
    transition-duration: 0.5s;
}


/*
      Multicoloured Hover Variations
  */

#lab_social_icon_footer #social-fb:hover {
    color: #3B5998;
}

#lab_social_icon_footer #social-tw:hover {
    color: #4099FF;
}

#lab_social_icon_footer #social-gp:hover {
    color: #d34836;
}

#lab_social_icon_footer #social-em:hover {
    color: #f39c12;
}

/* footer ends */



/* media queries */

@media (max-width:1200px) {
    html {
        font-size: 55%;
    }

    .Home {
        padding: 1rem 4rem;
    }
}

@media (max-width:991px) {
    header {
        left: -120%;
    }

    #menu {
        display: block
    }

    header.toggle {
        left: 0%;
    }

    body {
        padding: 0;
    }
}

@media (max-width:768px) {

    html {
        font-size: 50%;
    }

    .experience-card {
        padding: 25px;
        font-size: 1rem;
        max-width: 90%;
    }

}

@media (max-width:430px) {

    html {
        font-size: 50%;
    }

    header {
        width: 100vw;
    }

    .heading {
        margin: 0 3rem;
    }

    .About .row .counter .box {
        width: 100%;
    }

    .Education .box-container .box {
        width: 100%;
    }

    .Technical_Skills .box-container .box {
        width: 50%;
    }

    /* .projects {
        padding: 62px 0;
        margin-right: 50px;
        margin-left: 50px;
    } */

    .project-card {
        /* background-color: #fff; */
        border-radius: 11px;
        box-shadow: 0 3px 10px var(--primary-shadow);
        padding: 10px;
        margin: 5px;
    }

    .Contact .row form {
        margin: 3rem 0;
    }

}


.card {
    box-shadow: 5px 5px 21px -11px black;
    border: none;
    display: inline-block;
    height: 500px;
    min-height: 300px;
    width: 25%;
    min-width: 270px;
    margin-left: 30px !important;
    margin-right: 30px !important;
    padding: 0px 0px;
    /* border-radius: 15px; */
    margin-top: 65px !important;
    /* background-image: linear-gradient(to top left, var(--themePrimaryColor), var(--blackColor)); */
    background-color: darkcyan;
}



.card-body h2 {
    text-align: center;
    /* background-color: rgba(131, 131, 131, 0.37); */
    line-height: 20px;
    font-size: 20px;
    font-weight: bolder;
    color: #ffea04;
    margin-bottom: 20px;
}


.card img {
    border-radius: 25px;
    height: 275px;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}


.card-text span {
    /* color: var(--whiteColor); */
    color: #eee;
    margin: 23px;
    line-height: 22px;
    margin-bottom: 50px;
    font-size: 20px;
    background: none;
}

.btnDiv {
    /* position: absolute; */
    margin-left: 14px;
    margin-top: 30px;
    font-size: 20px;
    position: absolute;
    /* left: 25px;
    bottom: 25px; */
}

#nitk img {
    height: 230px;
}

#nitkbtn {
    margin-left: 80px;
}

#Dak {
    margin-left: 8px;
}

#HighSchool {
    margin-left: 50px;
}