@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap');

:root {
    --primary-color: teal;
    --roboto: 'Roboto', 'sans-serif';


}

body {

    margin: 0;
    padding: 0;
    font-family: var(--roboto);
}

/* nav */
header {
    /* box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; */
    position: sticky;
    top: 0;
    background: white;
}

header .navbar {
    padding: 1rem 3rem;
    font-size: 17px;


}

header .navbar-brand {
    padding: 0 2rem 0 2rem;
}

header .navbar a {
    font-weight: 500;
    color: black !important;


}

header .navbar a:hover {

    color: var(--primary-color) !important;

}

header .navbar .active {

    color: var(--primary-color) !important;

}

#heart-icon {
    font-size: 22px;

}

#heart-icon:hover {

    color: rgb(248, 16, 55) !important;
}

header li {
    margin-right: 10px;
}

header .navbar a.active {
    /* for future customization */
    border-bottom: 2px solid var(--primary-color);
}



/* nav-end */



/* home-section */

.home-section {
    padding-top: 8%;
    /* padding-bottom: 12%; */

    height: 76vh;


}

.home-section p {
    font-size: 1.5rem;
    padding: 0;
    font-weight: 400;
    color: rgb(78, 87, 92);
    padding-left: 2px;


}

.home-section h4 {
    font-size: 1rem;
    padding-left: 2px;
}

.name {
    font-size: 2rem;
    padding: 0;
}

.home-btn {


    transition: background 0.5s ease;
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);


}

.home-btn:hover {

    background: white;
    color: black;
}

.home-btn:focus {
    box-shadow: none;
    /* background:var(--primary-color);
   color: white; */

}

.button {
    margin-top: 1.1rem;

}

/* social-icons */
.icons-div a {
    color: #333333;
    margin-top: 1rem;
    padding: 1.8rem;
    font-size: 30px;

}



.linkedin:hover {
    color: #0072b1;

}

.facebook:hover {

    color: #4267B2;
}

.twitter:hover {

    color: #00acee;
}

.github:hover {

    color: rgb(39, 37, 37);

}

.instagram:hover {
    background: linear-gradient(to right, #f32170, #ff6b08, #cf23cf);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;

}

.discord:hover {
    color: #5865F2;
}

@media only screen and (max-width:400px) {
    .icons-div a {
        font-size: 22px;
    }
}


/* end-social-icons */




@media only screen and (max-width:451px) {
    .home-section {

        height: 80vh;
        /* background-color: red; */


    }

}

/* end-home-section */



/* About section */
.abt {
    height: 100vh;
    padding-top: 12%;
}



@media only screen and (max-width:767px) {
    .abt-right {
        display: none;
    }
}

/* end About section */



/* project-section */

.cards {
    height: 17rem;
    width: 17rem;
    margin: 1.2rem;
    border-radius: 4px;
    border: 0.1px solid var(--primary-color);
    /* box-shadow: var(--primary-color) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */

}

.project {
    padding-top: 6%;

}

.prjt-desc-div {
    height: 48%;
}

.prjt-textstyle {
    font-size: 20px;

}

.prjt-desc {
    font-size: 14px;
    margin-bottom: 20px;
}

.lang {
    text-align: start;
    display: inline;
    font-size: 12px;
}

/* .ii{
    position: relative;
   top: 2%;
} */
/*end- project-section */




/* contact-section */
.contact {
    height: 85vh;
    padding-top: 5%;
}

#contact-desc {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-right: 15rem;
    padding-left: 15rem;
}

/* chat section */
/* Floating Chat Button */
.chat-floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* Change from left to right */
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease;
}


.chat-floating-button:hover {
    transform: scale(1.1);
    background: #00796b;
}

/* Chat Section */
.chat-section {
    position: fixed;
    bottom: 100px;
    right: 20px;
    /* Change from left to right */
    width: 350px;
    max-height: 500px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    display: none;
    flex-direction: column;
    z-index: 1000;
    outline: none !important;
    box-shadow: none !important;
}

#closeChat {
    filter: invert(1);
    /* Inverts the color to white */
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.chat-input {
    padding: 10px;
    display: flex;
    gap: 8px;
}

.chat-input input {
    flex: 1;
}

.chat-message {
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 6px;
}

.chat-message.user {
    background: #d1e7dd;
    align-self: flex-end;
}

.chat-message.bot {
    background: #e2e3e5;
    align-self: flex-start;
}

#sendBtn {
    border: none;
    background: transparent;
    color: var(--primary-color);

    font-size: 25px;
    /* Make the icon bigger */
    cursor: pointer;
    transition: transform 0.3s ease;

}

#sendBtn:hover {
    transform: scale(1.2);

    /* Slightly enlarge on hover */

}

#sendBtn:focus {
    outline: none;
    /* Remove focus outline */
}


@media only screen and (max-width:746px) {

    #contact-desc {
        display: contents;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;


        background-color: red;
        font-size: 16px;

    }

    .contact .home-btn {
        margin-top: 0.9rem;
        display: block;
    }

}



/* end-contact-section */

/* footer */

footer a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

footer a:hover {

    color: var(--primary-color);
}

/*end- footer */