*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: poppins, sans-serif;
    text-decoration: none;
}
body{
    overflow-x: hidden;
}
.hero-header{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #222;
}
.wrapper{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}
header{
    padding: 40px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.logo i{
    height: 45px;
    width: 45px;
    background-color: #007ced;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px;
    margin-right: 5px;
    cursor: pointer;
    text-align: center;
}
.logo .logo-text{
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}
nav .togglebtn{
    width: 35px;
    height: 35px;
    position: absolute;
    top: 45px;
    right: 3%;
    z-index: 5;
    cursor: pointer;
    display: none;
}
nav .togglebtn span{
    display: block;
    background-color: #007ced;
    margin: 5px 0px;
    width: 100%;
    height: 3px;
    transition: 0.3s;
    transition-property: transform, opacity;
}
nav .navlinks{
    list-style-type: none;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
nav .navlinks li{
    display: inline-block;
}
nav .navlinks li a{
    color: #e5e5e5;
    margin-right: 2.5rem;
    display: block;
    text-align: center;
}
.container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 4rem;
}
.container .hero-pic{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid #444;
    box-shadow: 5px 7px 25px rgba(0,0,0,0.5);
}
.hero-pic img{
    height: 100%;
    width: 100%;
    transition: 0.5s;
}
.hero-pic img:hover{
    transform: scale(1.2);
}
.hero-text{
    max-width: 500px;
    display: flex;
    flex-direction: column;
}
.hero-text h5 span{
    color: #007ced;
    font-size: 16px;
}
.hero-text h1{
    color: #007ced;
    font-size: 3rem;
}
.hero-text p{
    color: #e5e5e5;
}
.btn-group{
    margin: 45px 0;
}
.btn-group .btn{
    border-color: #d5d5d5;
    color: #fff;
    background-color: #333;
    padding: 12px 25px;
    margin: 5px 0px;
    margin-right: 7px;
    border-radius: 30px;
    border: 2px solid #e5e5e5;
    box-shadow: 0 10px 10px -8px rgb(0 0 0 / 78%);
}
.btn.active{
    border-color: #007ced;
}
.hero-text .social i{
    color: #e5e5e5;
    font-size: 18px;
    margin-right: 10px;
    transition: 0.5s;
}
.hero-text .social i:hover{
    color: #007ced;
    transform: rotate(360deg);
}

/*Responsive design & displaying navbar for small screen*/
@media(max-width: 930px)
{
    nav .togglebtn{
        display: initial;
    }
    /*for toggle button*/
    .click{
        top: 45px;
    }
    .click span{
        position: absolute;
        margin-top: 12px;
    }
    .click span:first-child{
        transform: rotate(-45deg);
    }
    .click span:nth-child(2)
    {
        opacity: 0;
        margin: 0;
    }
    .click span:last-child
    {
        transform: rotate(45deg);
        top: 0;
    }
    nav .navlinks
    {
        position:absolute;
        top: 110px;
        right: -100%;
        bottom: 0;
        width: 60%;
        height: 100vh;
        background-color: #222;
        z-index: 3;
        box-shadow: 5px 13px 30px rgba(0,0,0,0.1);
        transition: 0.5s;
        padding: 150px 0px;
        flex-direction:column;
    }
    nav .navlinks li{
        display: block;
    }
    nav .navlinks li a{
        display: block;
        margin-bottom: 40px;
        text-align: center;
    }
    nav .navlinks.open{
        right: 0;
    }
}
@media(max-width: 760px)
{
    .container
    {
        flex-direction: column;
        padding-top: 2rem;
    }
    .hero-text{
        padding: 40px 0px;
    }
}




/*Skills Section*/

.skills-box {
    background-color: #fff;
    border: 2px solid #007ced;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 1200px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-item {
    width: 120px;
    text-align: center;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.skill-item:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.skill-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.skill-item:hover .skill-logo {
    transform: scale(1.1);
}

.skill-item p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.skills-box {
    background-color: #fff;
    border: 2px solid #007ced;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 1000px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-item {
    width: 150px;
    text-align: center;
    margin: 10px;
}

.skill-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.portfolio {
    padding: 0;
    background-color: #222;
    text-align: center;
    margin-top: 0;
}


.portfolio-section {
    margin-bottom: 50px;
}

.portfolio-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007ced;
}


/*Timeline section*/
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #007ced;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-container.left {
    left: 0;
    transform: translateX(-10%);
}

.timeline-container.right {
    left: 50%;
    transform: translateX(10%);
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #007ced;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container.right::after {
    left: -16px;
}

.timeline-container .content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-container.left .content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-container.right .content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-container.left .content h4,
.timeline-container.right .content h4 {
    color: #007ced;
}

@media screen and (max-width: 768px) {
    .timeline-container.left,
    .timeline-container.right {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    .timeline-container.left .content,
    .timeline-container.right .content {
        transform: translateX(0);
    }

    .timeline-container.right::after,
    .timeline-container.left::after {
        left: 50%;
        margin-left: -10px;
    }

    .timeline-container.left {
        left: 0;
    }

    .timeline-container.right {
        left: 0;
    }

    .timeline::after {
        left: 20px;
    }
}

/* General Styles */
.portfolio-section {
    padding: 50px 0;
    text-align: center;
    background-color: #222;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

/* Projects Section Styles */
.projects-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.project {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(50% - 20px); /* Two items per row with 20px gap */
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-in-out;
    text-align: left;
    padding: 15px;
    box-sizing: border-box;
}

.project-image {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

.project-details h4 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #222;
}

.project-details p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.project-details .btn {
    display: inline-block;
    margin-right: 10px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #007ced;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.project-details .btn:hover {
    background: #007ced;
    color: #fff;
}

/* Button Group Styles */
.btn-group {
    margin-top: 20px;
}

.btn-group .btn {
    display: inline-block;
    margin: 10px 10px;
    color: #007ced;
    text-decoration: none;
    border: 1px solid #007ced;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.btn-group .btn:hover {
    background: #007ced;
    color: #fff;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Contact Container Styles */
.contact-container {
    max-width: 600px;
    max-height: 100%;
    margin: 0 auto;
    background-color: #ccc;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(13, 3, 102, 0.1);
    animation: fadeInUp 1s ease-in-out;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007ced;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007ced;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #005bb5;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Resume Section Styles */
.portfolio-section {
    padding: 50px 0;
    text-align: center;
    background-color: #222;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

.resume-container {
    max-width: 90%;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 1s ease-in-out;
}

iframe {
    border: none;
    width: 100%;
    height: 600px;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn active{
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    color: #fff;
    background-color: #007ced;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Blog Section Styles */

h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

.blog-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.blog-post {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-in-out;
}

.blog-post img {
    width: 100%;
    height: auto;
}

.blog-post h4 {
    font-size: 1.5rem;
    margin: 15px 10px;
}

.blog-post p {
    font-size: 1rem;
    margin: 10px;
}

.read-more {
    display: inline-block;
    margin: 15px;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #007ced;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.read-more:hover {
    background-color: #005bb5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Education Section Styles */

h3 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

.education-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.education-item {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-in-out;
    text-align: left;
    padding: 15px;
}

.education-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.education-details {
    text-align: left;
}

.education-details h4 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.education-details p {
    font-size: 1rem;
    margin: 5px 0;
}

.education-details span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
