body {
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background-color: #0c1022;
    color: #fff;
}

* {
    margin: 0px;
    padding: 0px;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

::before, ::after {
    box-sizing: border-box;
}

.header {
    width: 100%;
    background: rgba(12, 16, 34, 0.9); /* Semi-transparent background */
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 100;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoimage {
    width: 85px;
    height: auto; 
}

.navbar a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    margin-left: 35px;
}

.navbar {
    margin-top: 25px;
}

.navbar a.active,
.navbar a:hover {
    background: linear-gradient(45deg, #f06, #3cf);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

/* Home Section CSS */
.home {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 10%;
    overflow: hidden; 
}

.home-content {
    max-width: 700px;
    flex: 1;
    padding-top: 150px;

}

.home-content h1,
.home-content h3,
.home-content p,
.btn,
.home-logs,
.home-image {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s;
    animation-delay:0.5s;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 35px;
    transition: color 0.3s;
    animation-delay:0.9s;
}

.home-content p {
    font-size: 18px;
    margin-bottom: 30px;
    transition: color 0.3s;
    animation-delay:1.5s;
}

.btn {
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .1em;
    color: #0ef;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #0ef;
    padding: 10px 12px;
    z-index: 1;
    overflow: hidden;
}

.btn:hover {
    transition-delay: 0s 1s;
    color: #fff;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 0;
    height: 100%;
    background: #0ef;
    transform: skew(35deg);
    transition: 2s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}
.ending a{
    animation-delay:2s;
}

.home-logs {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    animation-delay:2s;
}

.home-logs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #0ef;
    background-color: #0c1022;
    font-size: 20px;
    text-decoration: none;
    border: 2px solid #0ef;
    border-radius: 50%;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

.home-logs a:hover {
    color: #fff;
}

.home-logs a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 0;
    height: 100%;
    background: #0ef;
    transform: skew(35deg);
    transition: 1.5s;
    z-index: -1;
}

.home-logs a:hover::before {
    width: 100%;
}

.home-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    padding-top: 108px;
    animation-delay:2.8s;
    user-select: none; 
}

.home-image img {
    width: 410px; 
    height: 410px; 
    border-radius: 50%;
    border: 5px solid #0ef;
    object-fit: cover;
    user-select: none; \
    transition: border 0.3s ease;
}
.home-image img:hover{
    border: 8px solid #0ef;
}
/* Keyframes for fade-in animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover effects for text */
.home-content h1:hover,
.home-content h3:hover,
.home-content p:hover {
    color: #0ef;
}

/* About Me Section CSS */
.about-section {
    padding-top: 150px;
    padding-bottom: 35px;
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::before {
    content: "";
    position: absolute;
    width: 100px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 50px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

.section-title h2:hover {
    color: #0ef;
}

.about-content {
    max-width: 700px;
    padding-left: 10%; 
    margin-top: 80px; 
    float: left;
}

.about-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 35px;
    transition: color 0.3s;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.about-content h1:hover,
.about-content h3:hover,
.about-content p:hover,
.info-list li:hover {
    color: #0ef; 
}

.info-list {
    list-style-type: none;
    padding: 0;
}

.info-list li {
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.3s; 
}

.info-list li strong {
    color: #0ef;
}

.education-experience {
    display: flex;
    padding-top: 77px;
    padding-left: 170px;
    
}

.education {
    width: 43%; 
}

.experience {
    width: 44%; 
}

.title {
    font-size: 40px; 
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.box {
    background-color: #0c1022;
    border: 2px solid #0ef;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    position: relative;
    width: 80%; 
}

.box-content {
    position: relative;
    padding-left: 5px;
}

.box-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.box-content p {
    font-size: 18px;
    margin-bottom: 5px;
}

.box-content strong {
    font-size: 18px;
}

.box::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 60px;
    width: 10px;
    height: 10px;
    background-color: #0ef;
    border: 2px solid #0ef;
    border-radius: 50%;
}

.box:hover {
    border-color: #0ef; 
}

.box:hover .box-content h4,
.box:hover .box-content p,
.box:hover .box-content strong {
    color: #0ef; 
}
.section-title h2,
.about-content h1,
.about-content h3,
.about-content p,
.info-list,
.education,
.experience
{opacity: 0;
    animation: fadeInn 2s forwards;
}
@keyframes fadeInn {
    to {
        opacity: 1;
    }
}
body {
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background-color: #0c1022;
    color: #fff;
}

* {
    margin: 0px;
    padding: 0px;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

::before, ::after {
    box-sizing: border-box;
}

.header {
    width: 100%;
    background: rgba(12, 16, 34, 0.9); 
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 100;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoimage {
    width: 85px; 
    height: auto; 
}

.navbar a {
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    margin-left: 35px;
}

.navbar {
    margin-top: 25px;
}

.navbar a.active,
.navbar a:hover {
    background: linear-gradient(45deg, #f06, #3cf);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

/* Contact Section CSS */
.contact-section {
    padding-top: 150px; 
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::before {
    content: "";
    position: absolute;
    width: 100px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 50px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

.section-title h2:hover {
    color: #0ef;
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
}
.contact-infoo{
    color: #0ef;
}
.contact-info p {
    display: inline-block;
    margin: 0 15px;
    font-size: 23px;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #0ef;
    border-radius: 5px;
    background-color: #1f1f1f;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f06;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    color: #0ef;
    border: 2px solid #0ef;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 1;
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    transition: 1s;
    overflow: hidden;
}

.btn:hover {
    background-color: #0ef;
    color: #0c1022;
    transition: 1.1s;
}
.btn:before{
    content: '';
    display: inline-block;
    position: absolute;
    padding: 10px 20px;
    background-color: #0ef;
    text-decoration: none;
    z-index: -1;
    border-radius: 5px;
    height: 100%;
    left: -55px;
    transition: 2s;
    transform: skew(35 deq);
}
.btn:hover::before{
    width: 100%;
}
#sendmessage{
    margin-bottom: 60px;
}

/* Activities Section CSS */
.activities-section {
    padding-top: 150px; 
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::before {
    content: "";
    position: absolute;
    width: 100px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 50px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

.section-title h2:hover {
    color: #0ef;
}

.activities-content {
    display: flex;
    flex-wrap: wrap;
   justify-content: center;
}

.activity-box {
    background-color: rgba(12, 16, 34, 0.9);
    border: 2px solid #0ef;
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    width: 26.3%; 
    box-sizing: border-box;
    position: relative;
    transition: all 0.3s;
    text-align: center;
    margin-top: 25px;
}

.activity-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0ef;
}

.activity-box p {
    font-size: 18px;
    margin-bottom: 10px;
}

.view-certificate {
    color: #0ef;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-certificate:hover {
    color: #fff;
}

.activity-box:hover {
    border-color: #0ef;
    transform: scale(1.05);
}

/* Portfolio Section CSS */
.portfolio-section {
    padding-top: 150px; 
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::before {
    content: "";
    position: absolute;
    width: 100px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 50px; 
    height: 4px;
    background: #0ef;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

.section-title h2:hover {
    color: #0ef;
}

.portfolio-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 80px;
}

.portfolio-box {
    background-color: rgba(12, 16, 34, 0.9);
    border: 2px solid #0ef;
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    width: 26%; 
    box-sizing: border-box;
    position: relative;
    transition: all 0.3s;
    text-align: center;
    margin-top: 25px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 150px; 
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 10px;
}

.portfolio-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0ef;
}

.portfolio-box:hover {
    border-color: #0ef;
    transform: scale(1.05);
}
#Download{
 font-size: 14px;
margin-top: 20px;
}

/* ChatBot */
.chat-icon {
    position: fixed;
    bottom: 60px;
    right: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(12, 16, 34, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease; 
    border: 2px solid #0ef; 
}

#icon-chatbot {
    font-size: 43px;
    color: #0ef;
    transition: color 0.3s ease, transform 0.3s ease; /* Added transition for smooth hover effect */
}

/* Hover Effect */
.chat-icon:hover {
    background-color: #0ef; /* Change background color on hover */
    transform: scale(1.1); 
}

.chat-icon:hover #icon-chatbot {
    color: #0c1022; 
    transform: scale(1.2); 
}

.chat-container {
    position: fixed;
    bottom: 120px;
    right: 60px;
    width: 400px;
    max-width: 100%;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #0c1022;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #0c1022;
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.chat-box {
    flex: 1;
    padding: 10px;
    border-top: 1px solid #ccc;
    overflow-y: auto;
    color: #fff;
    background-color: #0c1022;
}

.chat-input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #1f1f1f;
    color: #fff;
}

.send-button {
    padding: 10px 20px;
    margin: 10px;
    background-color: #0ef;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close-chat {
    cursor: pointer;
    font-size: 24px;
    line-height: 24px;
    color: #fff;
}

.open-menu, .close-menu{
    position: absolute;
    color: white;
    cursor: pointer;
    font-size: 31px;
    display: none;
}
.open-menu{
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.close-menu{
    top: 60px;
    right: 20px;
}
#check{
    display: none;
}

@media(max-width:767px){
    .activities-section .activities-content .activity-box{
        flex: 0 0 100%;
        max-width: 90%;
    }
    .activities-section{
        margin-bottom: 60px;
    }
    .about-section{
        margin-bottom: 60px; 
    }
    .activities-section{
        margin-bottom: 60px; 
    }
    .contact-section{
        margin-bottom: 65px; 
    }

    .about-content, .education-experience {
        order: 0;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 10px;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center; 
    }

    .about-content {
        padding: 0; 
        margin: 0; 
    }

    .about-content h1 {
        font-size: 34px;
        margin: 0; 
        max-width: 90%;
    }

    .about-content h3 {
        font-size: 20px;
        text-align: center; 
        margin: 0; 
        max-width: 90%;
    }

    .about-content p {
        font-size: 15px;
        text-align: center;
        margin: 0; /* Remove any margin */
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 85%;
    }

    .info-list {
        list-style-type: none; 
        padding: 0; 
        margin: 0; 
        text-align: center; 
        max-width: 85%;
    }

    .info-list li {
        font-size: 14px;
        margin-bottom: 5px; 
    }
    
    .education-experience {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .education, .experience {
        width: 100%;
        max-width: 100%;
        text-align: center; 
    }

    .education .box, .experience .box {
        width: 90%; 
        max-width: 90%; 
        margin: 10px auto; 
        position: relative;
    }

    /* Remove the small circle on the left side of the boxes */
    .education .box::before, .experience .box::before {
        content: none;
    }


    .home {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        height: 100%;
        margin-bottom: 69px;
    }

    .home-image {
        order: -1; /* Move the image to the top */
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        margin-top: 41px;
        text-align: center;
        animation-delay:0.3s;
    }

    .home-image img {
        order: -1;
        height: 180px;
        width: 180px;
        border-radius: 50%;
        border: 3px solid #0ef;
        object-fit: cover;
    }

    .home-content {
        order: 0;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-top: -110px;
    }

    .home-content h1 {
        font-size: 36px;
        padding-top: 10px; 
        animation-delay:0.9s;
    }

    .home-content h3 {
        font-size: 19px;
        margin-top: 5px; 
        animation-delay:1.5s;
    }

    .home-content p {
        font-size: 15px;
        margin-top: 5px; 
        animation-delay:1.9s;
    }

    #btnbutton {
        font-size: 14px;
        width: auto;
        padding: 5px 10px;
        text-align: center;
        cursor: pointer;
        overflow: hidden;
        margin-bottom: 5px; 
        animation-delay:2.5s;
    }
    .btn::before {
        content: none; 
    }


    .home-logs {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin-left: 10px; 
        animation-delay:3s;
    }

    #linksbuttons {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        color: #0ef;
        background-color: #0c1022;
        font-size: 17px;
        text-decoration: none;
        border: 2px solid #0ef;
        border-radius: 50%;
        margin: 0 5px; 
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color:#0a1a33; 
        transition: all 0.2s ease-in-out;
        margin-top: -10px;
    }
    #check:checked ~ .navbar{
     right: 0;
    }
        
    .navbar a{
        padding-top: 29px;
        font-size: 25px;
        margin-bottom: 10px;
    }
    .open-menu, .close-menu{
        display: block;
    }
     
    .portfolio-section .portfolio-content .portfolio-box{
        flex: 0 0 100%;
        max-width: 88%;
    }
    .portfolio-content{
        margin-top: 10px;   
    }
    /* ChatBot */
.chat-icon {
    position: fixed;
    bottom: 40px;
    right: 18px;
    width: 43px;
    height: 43px;
}

#icon-chatbot {
    font-size: 37px;
}

.chat-container {
    position: fixed;
    bottom: 70px;
    right: 34px;
    width: 340px;
    max-width: 80%;
    height: 340px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #0c1022;
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.chat-box {
    flex: 1;
    padding: 10px;
    border-top: 1px solid #ccc;
    overflow-y: auto;
    color: #fff;
    background-color: #0c1022;
}

.chat-input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #1f1f1f;
    color: #fff;
}

.send-button {
    padding: 10px 20px;
    margin: 10px;
    background-color: #0ef;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close-chat {
    cursor: pointer;
    font-size: 24px;
    line-height: 24px;
    color: #fff;
}
    .contact-info p{
        font-size: 17px;
        max-width: 100%;
    }

    .chat-icon:hover {
        background-color: inherit; 
        transform: none; 
    }

    .chat-icon:hover #icon-chatbot {
        color: inherit; 
        transform: none; 
    }
    
}
@media (min-width:768px) and (max-width:1024px){
    .activities-section .activities-content .activity-box {
        flex: 0 0 100%; /* Two boxes per row */
        max-width: 48%;
        margin: 1%;
    }
    .section-title h2{
        font-size: 90px;
        margin-top: 10px;
    }
    .activity-box h3{
        font-size: 33px;
    }
    .activity-box p{
        font-size: 25px;
    }
    .activity-box a{
        font-size: 25px;
    }

    .activities-section, .about-section, .contact-section {
        margin-bottom: 80px; 
    }

    .about-content, .education-experience {
        order: 0;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 10px;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        padding: 0;
        margin: 0;
    }
    .about-section{
        margin-top: 20px;
    }
    .about-section h2{
        font-size: 89px;
    }

    .about-content h1 {
        font-size: 60px; 
        text-align: center;
        margin: 0;
        max-width: 90%;
    }

    .about-content h3 {
        font-size: 38px; 
        text-align: center;
        margin: 0;
        max-width: 90%;
    }

    .about-content p {
        font-size: 28px; 
        text-align: center;
        margin: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 85%;
    }

    .info-list {
        list-style-type: none;
        padding: 0;
        margin: 0;
        text-align: center;
        max-width: 85%;
    }

    .info-list li {
        font-size: 27px; 
        margin-bottom: 5px;
    }

    .education-experience {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        align-items: flex-start;
    }

    .education, .experience {
        width: 48%;
        max-width: 48%;
        text-align: center;
        margin: 1%;
    }

    .education .box, .experience .box {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
        position: relative;
    }

    .education .box::before, .experience .box::before {
        content: none;
    }
    .box-content h4{
        font-size: 35px;
    }
    .box-content p{
        font-size: 30px; 
    }
    .home {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        height: 100%;
        margin-bottom: 20px; 
    }

    .home-image {
        order: -1;
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        margin-top: 69px;
        text-align: center;
        animation-delay: 0.3s;
    }

    .home-image img {
        order: -1;
        height: 320px; 
        width: 320px; 
        border-radius: 50%;
        border: 5px solid #0ef;
        object-fit: cover;
    }

    .home-content {
        order: 0;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-top: -90px;
    }

    .home-content h1 {
        font-size: 53px; 
        padding-top: 10px;
        animation-delay: 0.9s;
    }

    .home-content h3 {
        font-size: 39px; 
        margin-top: 5px;
        animation-delay: 1.5s;
    }

    .home-content p {
        font-size: 29px; 
        margin-top: 5px;
        animation-delay: 1.9s;
    }

    #btnbutton {
        font-size: 29px; 
        width: auto;
        padding: 10px 15px; 
        text-align: center;
        cursor: pointer;
        overflow: hidden;
        margin-bottom: 10px; 
        animation-delay: 2.5s;
    }

    .btn::before {
        content: none;
    }

    .home-logs {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin-left: 10px;
        animation-delay: 3s;
    }

    #linksbuttons {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 55px; 
        height: 55px; 
        color: #0ef;
        background-color: #0c1022;
        font-size: 29px; 
        text-decoration: none;
        border: 2px solid #0ef;
        border-radius: 50%;
        margin: 0 5px;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: #0a1a33;
        transition: all 0.2s ease-in-out;
        margin-top: -10px;
    }

    #check:checked ~ .navbar {
        right: 0;
    }

    .navbar a {
        padding-top: 35px;
        font-size: 38px; 
        margin-bottom: 10px;
    }

    .open-menu, .close-menu {
        display: block;
        font-size: 55px;

    }

    .portfolio-section .portfolio-content .portfolio-box {
        flex: 0 0 100%;
        max-width: 45%;
        margin: 1%;
    }

    .portfolio-content {
        margin-top: 20px; 
    }
    .portfolio-box h3{
        font-size: 33px;
    }
    .portfolio-box a{
        font-size: 23px;
    }
    .contact-section .contact-info p {
        font-size: 35px; 
    }
    .form-group label{
        font-size: 28px;
    }
    .form-group input{
        font-size: 30px;
    }
    .contact-form button{
        font-size: 32px;
    }

    .chat-icon {
        position: fixed;
        bottom: 50px; 
        right: 40px;
        width: 90px; 
        height: 90px; 
    }

    #icon-chatbot {
        font-size: 68px; 
    }

    .chat-container {
        position: fixed;
        bottom: 140px; 
        right: 60px;
        width: 590px; 
        max-width: 80%;
        height: 600px; 
    }

    .chat-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px; 
        background-color: #0c1022;
        color: #fff;
        border-radius: 10px 10px 0 0;
    }
    .chat-header h2{
        font-size: 45px;
    }


    .chat-box {
        flex: 1;
        padding: 15px; 
        border-top: 1px solid #ccc;
        overflow-y: auto;
        color: #fff;
        background-color: #0c1022;
        font-size: 30px;
    }

    .chat-input {
        width: calc(100% - 20px);
        padding: 15px; 
        margin: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #1f1f1f;
        color: #fff;
        font-size: 25px;
    }

    .send-button {
        padding: 15px 25px;
        margin: 10px;
        background-color: #0ef;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 25px;
    }

    .close-chat {
        cursor: pointer;
        font-size: 44px;
        line-height: 24px;
        color: #fff;
    }

    .contact-info p {
        font-size: 18px; 
        max-width: 100%;
    }

    .chat-icon:hover {
        background-color: inherit;
        transform: none;
    }

    .chat-icon:hover #icon-chatbot {
        color: inherit;
        transform: none;
    }
    .logoimage {
        height: 130px;
        width: auto;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1439px) {
    /* General container adjustments */

    .about-content h1{
        font-size: 30px;
    }

    .about-content h3{
        font-size: 20px;
    }
    .about-content p{
        font-size: 17px;
    }


    .container {
        width: 90%; 
        overflow-x: hidden;
    }
    .home-content h1{
        font-size: 35px;
    }
    .home-content h3{
        font-size: 24px;
    }
    .home-content p{
        font-size: 14px;
    }
    .home-image img{
        width: 310px;
        height: 310px;
    }

    /* Adjustments for the Activities section */
    .activities-section .activity-box {
        flex: 0 0 48%; 
        max-width: 48%;
        margin: 1%; 
    }

    .activities-section .activity-box h3 {
        font-size: 1.3em; 
    }

    .activities-section .activity-box p {
        font-size: 1em; 
        line-height: 1.5em; 
    }

    .activities-section .activity-box .btn {
        font-size: 1em; 
        padding: 10px 20px; 
        margin-top: 10px; 
    }

    .activities-section .activity-box .btn#Download {
        margin-left: -10px;
    }

    /* Additional general adjustments if needed */
    .section-title h2 {
        font-size: 2em; 
    }

    .navbar a {
        font-size: 1em; 
    }
    .container{
        width: 100%;
    }
    .about-content{
        text-align: center;
        margin-left: 190px;
        margin-top: 0px;
    }

    .education-experience {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        align-items: flex-start;
    }

    .education, .experience {
        width: 48%;
        max-width: 48%;
        text-align: center;
        margin: 1%;
    }

    .education .box, .experience .box {
        width: 80%;
        max-width: 100%;
        margin: 10px auto;
        position: relative;
    }

    .education .box::before, .experience .box::before {
        content: none;
    }
    .box-content h4{
        font-size: 20px;
    }
    .box-content p{
        font-size: 15px; 
    }
    .section-title{
        font-size: 23px;
    }
    .education title{
        font-size: 5px;
    }