@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    /*===========Main theme colours==========*/
    --first-color: #0e2431;
    --second-color: #6a59d1;
    --third-color: #777;
    /*===========Hover colours==========*/
    --hover-color: #614fd0;
    /*===========Backgroung colours==========*/
    --body-bg-color: #fefefe;
    --card-bg-color: #fff;
    --modal-bg-colour: #fff;
    --bg-tansparent-color: rgba(0, 0, 0, 0.1);
    --transparent-colour-01: rgba(0, 0, 0, 0.1);
    --transparent-colour-02: rgba(106, 89, 209, 0.1);
    --line-color: #d7d7d7;
    /*===========Color Filter==========*/
    --color-filter: invert(1);
    /*===========Box Shadow==========*/
    --box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
    /*===========Font size==========*/
    --small-font-size: 0.9em;
    --normal-font-size: 1em;
    /*=========Scroll bar colours========*/
    --scroll-bar-color: #c5cadf;
    --scroll-thum-color: #70768a;
    --scroll-thum-hover-color: #454f6b;
}

/* Add these style rules after the :root section */

.dropdown-list {
    margin-bottom: 0; /* Remove bottom margin */
    padding-bottom: 0; /* Remove bottom padding */
}

.dropdown-container:not(:last-child) {
    margin-bottom: 10px; /* Add small space between containers */
}

/* If there's specific padding/margin on individual elements, you may need: */
.education-dropdown,
.certification-dropdown,
.skills-dropdown {
    margin: 0;
    padding: 5px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--first-color);
    background: var(--body-bg-color);
    margin: 2rem 0 0 0;
    transition: .5s ease;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    background: linear-gradient(to top, transparent 0%, black 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .9;
}

/*=======Dark Theme========*/

.dark-theme {
    background: var(--first-color);
    color: var(--body-bg-color);
}

.dark-theme .nav-menu-btn,
.dark-theme .nav-close-btn {
    background-color: #fff;
    border-radius: 100%;
}

.dark-theme .nav-items a {
    color: var(--body-bg-color);
}

.dark-theme h1 {
    background: linear-gradient(to top, transparent 0%, white 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .2;
}

.dark-theme .nav-bar .logo {
    margin-top: 10px;
}

.dark-theme .home .scroll-down {
    color: var(--body-bg-color);
}

.dark-theme .contact-form input,
.contact-form textarea {
    color: var(--body-bg-color);
}

.dark-theme .contact-right p {
    color: var(--body-bg-color)
}

.dark-theme ::placeholder {
    color: var(--body-bg-color)
}

.dark-theme .edu-list .item,
.dark-theme .bars .info {
    color: var(--first-color)
}

.dark-theme .project-model-body {
    background: #1a3442;
}

/* Dark theme image adjustments */
.dark-theme img {
    filter: brightness(0.9); /* Slightly reduce brightness in dark mode */
}

.dark-theme .logo,
.dark-theme #icon,
.dark-theme .footer-logo {
    filter: invert(1); /* Invert colors for specific images */
}

.dark-theme .home-img img,
.dark-theme .about-img img,
.dark-theme .img-card img {
    filter: brightness(0.9); /* Adjust project images in dark mode */
}

/*=======Scroll Bar========*/

::-webkit-scrollbar {
    width: 10px;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-thum-color);
    border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thum-hover-color);
}

/*======Header=======*/

header {
    z-index: 99999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(20px);
    transition: .3s ease;
}

header.sticky {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}

.nav-bar {
    position: relative;
    height: calc(4rem + 1rem);
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    transition: .3s ease;
}

header.sticky .nav-bar {
    height: calc(3rem + 3rem);
}

.nav-bar .logo {
    color: var(--first-color);
    font-size: 1.3cm;
    font-weight: 600;
}

.nav-bar img {
    width: 60px;  /* Changed from 80px */
    cursor: pointer;
    padding-top: 8px; /* Added padding */
}

.nav-items a {
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
}

.nav-items a:not(:last-child) {
    margin-right: 50px;
}

.nav-items a:hover {
    color: var(--second-color);
}

#icon {
    width: 30px;
    cursor: pointer;
}

.nav-menu-btn {
    display: none;
}

/*=============HOME SECTION=============*/

.home {
    position: relative;
    max-width: 1250px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 2rem;
    flex-direction: column;
}

.home .home-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.home-container .media-icons {
    display: flex;
    flex-direction: column;
    margin-right: 40px;
}

.home-container .media-icons a {
    color: #fff;  /* Change icon color to white */
    font-size: 1.5em;
    margin: 10px 0;
}

.home-container .media-icons a:hover {
    color: var(--hover-color);
}

.home-container .info h2 {
    font-size: 4em;
    font-weight: 600;
    line-height: 70px;
}

.home-container .info h3 {
    color: var(--third-color);
    font-feature-settings: 1.3em;
    font-weight: 600;
    line-height: 50px;
}

.home-container .info p {
    color: var(--third-color);
    font-size: var(--normal-font-size);
    max-width: 350px;
}

.btn {
    background: var(--second-color);
    color: #fff;
    font-size: var(--normal-font-size);
    font-weight: 500;
    display: inline-block;
    margin-top: 25px;
    padding: 20px 30px;
    letter-spacing: 1px;
    border-radius: 10px;
}

.btn:hover {
    background: var(--hover-color);
}

.home-container .home-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-container .home-img img {
    width: 300px;  /* Increased from 250px */
    height: 300px; /* Increased from 250px */
    border-radius: 50%;
    object-fit: cover;
}

.home .scroll-down {
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
    margin-top: 20px;
}

.home .scroll-down i {
    color: var(--second-color);
    font-size: 1.2em;
    animation: arrow-down ease 2s infinite;
}

@keyframes arrow-down {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(10px);
    }
}

/*=========Common sheet style=========*/

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section {
    position: relative;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 2rem 2rem;
}

.sub-section {
    position: relative;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 0;
}

.section-title-01 {
    font-size: 4.5em;
    font-weight: 800;
    margin-bottom: 2rem;
    --webkit-background-clip: text;
    --webkit-text-fill-color: transparent;
    opacity: .1;
}

.section-title-02 {
    font-size: 2.5em;
    font-weight: 700;
    transform: translateY(-50px);
}

.section-title-02:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    left: 5px;
    bottom: 0;
    background: var(--second-color);
}

.container {
    position: relative;
    flex-direction: column;
}

/*===========About section========*/

.about .container .content {
    column-gap: 150px;
    width: 100%;
}

.about-img {
    position: relative;
}

.about-img img {
    max-width: 100%;
    min-width: 500px;
    border-radius: 10px;
}

.about-info .description {
    max-width: 600px;
}

.about-info .description h3 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-info .description h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-info .description h4 span {
    color: var(--second-color);
}

.about-info .description p {
    color: var(--third-color);
    font-size: var(--normal-font-size);
    margin-bottom: 15px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--line-color);
}

.about-info .professional-list {
    display: flex;
    column-gap: 30px;
}

.about-info .professional-list .list-item {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 20px;
}

.about-info .professional-list .list-item h3 {
    font-size: 2.5em;
    font-weight: 700;
}

.about-info .professional-list .list-item span {
    color: var(--third-color);
    font-size: var(--small-font-size);
}

/*======Skills Section=========*/

.skills .container .content {
    width: 100%;
}

.skills-description {
    max-width: 700px;
    margin-bottom: 50px;
}

.skills-description h3 {
    font-size: 2em;
    margin-bottom: 5px;
}

.skills-info {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 250px;
    margin: 0 auto;
}

.skills-info h4 {
    margin-bottom: 20px;
}

.skills-info h4 label {
    background: var(--second-color);
    color: #fff;
    font-size: var(--normal-font-size);
    font-weight: 400;
    padding: 5px 15px;
    border-radius: 5px;
}

.education-all {
    margin-bottom: 0; /* Remove gap below education */
}

.edu-list .item {
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--second-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    transition: .3s ease;
}

.edu-list .item .year {
    font-size: var(--small-font-size);
    margin-bottom: 5px;
    color: var(--second-color);
    font-weight: 600;
}

.edu-list .item p {
    color: var(--first-color);
    font-size: var(--normal-font-size);
}

.edu-list .item p span {
    color: var(--second-color);
    font-weight: 600;
}

.bars {
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 6px;
    transition: .3s ease;
}

.bars .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: var(--small-font-size);
}

.bars .info span {
    font-weight: 500;
}

.bars .line {
    position: relative;
    width: 100%;
    height: 7px;
    background: #c5cadf;
    border-radius: 2px;
}

.bars .line:before {
    content: '';
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--second-color);
    border-radius: 2px;
}

.bars .html:before {
    width: 70%;
}

.bars .css:before {
    width: 65%;
}

.bars .javascript:before {
    width: 45%;
}

.bars .python:before {
    width: 90%;
}

.bars .cprog:before {
    width: 85%;
}

/* PROJECTS SECTION */

.projects .container .content {
    width: 100%;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    max-width: 100%;
    gap: 25px;
    margin: 0 auto;
    padding: 20px 0;
}

.projects-list .img-card {
    position: relative;
    max-width: 100%;
    height: 250px; /* Changed from 400px to make it more rectangular */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.projects-list .img-card:hover {
    transform: translateY(-5px);
}

.projects-list .img-card .overlay {
    transition: 1s ease;
    width: 100%;
}

.projects-list .img-card:hover .overlay {
    z-index: 777;
    position: absolute;
    width: 100%;
    height: 100%;
    margin-top: 0px;
    background: rgba(0, 0, 0, 0.5);
}

.projects-list .img-card .info {
    z-index: 777;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 20px;
    color: var(--modal-bg-colour);
    transform: translateY(20px);
    opacity: 0;
    transition: .5s ease;
}

.projects-list .img-card:hover .info {
    transform: translateY(0);
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
}

.projects-list .img-card .info h3 {
    font-size: 1.5em;
}

.projects-list .img-card .info span {
    font-size: 1.2em;
}

.projects-list .img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Align image to top of container */
    transition: .5s ease;
}

.project-model {
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--transparent-colour-01);
    backdrop-filter: blur(20px);
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;
}

.project-model-body {
    position: relative;
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    background: var(--modal-bg-colour);
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    transform: translateY(-50px);
    transition: .5s ease;
}

.project-model.active {
    visibility: visible;
    opacity: 1;
}

.project-model.active .project-model-body {
    transform: translateY(0);
}

.project-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    cursor: pointer;
}

.project-model-body h3 {
    font-size: 1.5em;
}

.project-model-body img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

/* Adjust for mobile screens */
@media screen and (max-width: 480px) {
    .projects-list {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    
    .projects-list .img-card {
        height: 200px; /* Slightly shorter on mobile */
    }
}

/*===========Contact section===========*/

.contact .container .content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-left h2 {
    font-size: 2.1em;
    font-weight: 800;
    margin-bottom: 40px;
}

.contact-list li {
    margin-bottom: 40px;
}

.contact-list li h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-list li h3 i {
    color: var(--second-color);
    font-size: 1.3em;
    margin-right: 10px;
}

.contact-list li span {
    color: var(--third-color);
    margin-left: 40px;
}

.contact-list li span a {
    color: var(--third-color);
}

.contact-right p {
    color: var(--first-color);
    font-size: 1.6em;
    margin-bottom: 30px;
}

.contact-right p span {
    color: var(--second-color);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    border: none;
    color: var(--first-color);
    background: var(--transparent-colour-02);
    font-size: var(--normal-font-size);
    margin-bottom: 20px;
    padding: 15px 40px 40px 20px;
    border-radius: 5px;
}

.contact-form textarea {
    width: 100%;
    resize: none;
}

::placeholder {
    color: var(--first-color);
}

.contact-form .first-row input {
    width: 100%;
}

.contact-form .second-row {
    display: flex;
    justify-content: space-between;
}

.contact-form .second-row input {
    width: 48%;
}

.contact-form .btn {
    border: none;
    margin-top: 0;
    border-radius: 5px;
    cursor: pointer;
}

/*=======Footer===========*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--second-color);
    width: 100%;
    margin-top: 50px;
    padding: 3rem 2rem;
    color: #fff;
}

footer a {
    color: #fff;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1250px;
}

.footer-container .about img {
    width: 100px;  /* Changed from 120px */
    opacity: .8;
    padding-top: 8px; /* Added padding */
}

.footer-container .about p {
    font-size: var(--normal-font-size);
    font-weight: 300;
    margin-bottom: 30px;
}

.footer-container .info,
.footer-container .follow {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-container .info h3,
.footer-container .follow h3 {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 30px;
}

.footer-container .info ul,
.footer-container .follow ul {
    display: flex;
}

.footer-container .info a {
    margin: 20px;
}

.footer-container .follow a {
    font-size: 1.5em;
    margin: 20px;
}

.footer-copyright p {
    font-size: var(--normal-font-size);
    font-weight: 300;
    margin-top: 50px;
}

#progress {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Changed from right to left */
    height: 50px;
    width: 50px;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: var(--second-color); /* Added solid background */
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 999; /* Added z-index to stay above content */
}

#progress:hover {
    opacity: 0.8;
    transform: translateY(-5px);
}

#progress-value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: white; /* Changed color to white */
    font-size: 20px; /* Adjusted size */
}

/* Chatbot Styles */

#chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.2s ease; /* Faster animation */
    max-height: 500px;
    border: 1px solid rgba(106, 89, 209, 0.1);
    backdrop-filter: blur(10px);
    z-index: 999999; /* Move to very front */
}

#chatbot-header {
    background: linear-gradient(135deg, var(--second-color), var(--hover-color));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#chatbot-header h2 {
    font-size: 1.1em;
    font-weight: 500;
}

#chatbot-header .fa-robot {
    font-size: 1.2em;
    margin-right: 10px;
}

#chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
    scroll-behavior: smooth;
}

#chatbot-input {
    border: none;
    padding: 15px;
    width: 100%;
    background: rgba(106, 89, 209, 0.05);
    font-size: 0.9em;
    transition: all 0.3s ease;
}

#chatbot-input:focus {
    outline: none;
    background: rgba(106, 89, 209, 0.1);
}

#chatbot-send-btn {
    background: linear-gradient(135deg, var(--second-color), var(--hover-color));
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#chatbot-send-btn:hover {
    background: linear-gradient(135deg, var(--hover-color), var(--second-color));
}

#chatbot-close-btn,
#chatbot-minimize-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2em;
    opacity: 0.8;
    transition: opacity 0.2s ease; /* Faster animation */
}

#chatbot-close-btn:hover,
#chatbot-minimize-btn:hover {
    opacity: 1;
}

#chatbot-reopen-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--second-color), var(--hover-color));
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

#chatbot-reopen-btn:hover {
    background: linear-gradient(135deg, var(--hover-color), var(--second-color));
}

.chatbot-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background: linear-gradient(135deg, var(--second-color), var(--hover-color));
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.bot-message {
    background: rgba(106, 89, 209, 0.1);
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.dark-theme #chatbot {
    background-color: rgba(14, 36, 49, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme #chatbot-input {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.dark-theme #chatbot-input:focus {
    background: rgba(255, 255, 255, 0.1);
}

.dark-theme .bot-message {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@media screen and (max-width: 480px) {
    #chatbot {
        width: 90%;
        right: 5%;
        bottom: 20px;
        max-height: 70vh; /* Limit height on mobile */
        display: none; /* Start hidden on mobile */
    }
    
    #chatbot-reopen-btn {
        display: block; /* Show button by default on mobile */
        right: 5%;
        bottom: 20px;
        padding: 15px 25px;
        font-size: 1em;
        z-index: 999999;
        border-radius: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    #chatbot-messages {
        max-height: 50vh; /* Adjust message container height */
    }
}

@media screen and (max-width: 768px) {
    #chatbot {
        width: 90%;
        right: 5%;
        bottom: 20px;
    }
    #chatbot-reopen-btn {
        right: 5%;
        bottom: 20px;
        padding: 10px 20px;
        font-size: 0.9em;
    }
    #progress {
        width: 50px; /* Ensure consistency */
        height: 50px; /* Ensure consistency */
    }
}

/* =============Media Queries =====================*/

@media screen and (max-width: 1070px) {
    /* ===NAV BAR=== */
    .navigation {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--transparent-colour-01);
        visibility: hidden;
        opacity: 0;
        transition: .3s ease;
    }
    .navigation.active {
        visibility: visible;
        opacity: 1;
    }
    .nav-items {
        position: relative;
        background: var(--modal-bg-colour);
        width: 600px;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px;
        padding: 40px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        transform: translateY(-50px);
        transition: .3 ease;
    }
    .navigation.active .nav-items {
        transform: translateY(0);
    }
    .nav-items a {
        margin: 15px 50px;
    }
    .nav-close-btn {
        position: absolute;
        background: url(images/close-icon.png)no-repeat;
        background-size: 12px;
        background-position: center;
        width: 40px;
        height: 40px;
        top: 0;
        right: 0;
        cursor: pointer;
        margin: 10px;
    }
    .nav-menu-btn {
        background: url(images/nav-menu.png)no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        padding-right: 15px;
        cursor: pointer;
        display: block;
    }
    /* =========HOME SECTION======= */
    .home .container .content {
        font-size: 0.85rem;
    }
    .home-container .home-img img {
        width: 250px;  /* Increased from 200px */
        height: 250px; /* Increased from 200px */
    }
    /* =========ABOUT SECTION========= */
    .about .container .content {
        display: grid;
        width: 100%;
        row-gap: 20px;
    }
    .about-img img {
        min-width: 0;
        width: 100%;
    }
    .about-info {
        min-width: 0;
        width: 100%;
    }
    .about-info .professional-list {
        flex-direction: column;
    }
    .about-info .professional-list .list-item {
        justify-content: start;
    }
    /*========== CONTACT SECTION========= */
    .contact .content {
        flex-direction: column;
        font-size: 0.9rem;
    }
    .contact .contact-left {
        margin-bottom: 40px;
    }
    .contact-form .second-row {
        flex-direction: column;
    }
    .contact-form .second-row input {
        width: 100%;
    }
    /* =========FOOTER========= */
    footer .footer-container {
        flex-direction: column;
    }
    .footer-container .about,
    .footer-container .info {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 50px;
    }
    .footer-container .info ul {
        align-items: center;
        flex-direction: column;
    }
    .footer-container .info ul li {
        margin: 5px 0;
    }
    .footer-container .hr {
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0 22px;
    }
    .dark-theme .nav-items {
        background: #1a3442;
    }
}

@media screen and (max-width: 730px) {
    body {
        margin: 5rem 0 0 0;
    }
    .section-title-01 {
        font-size: 3em;
    }
    .section-title-02 {
        font-size: 2em;
        transform: translateY(-65px);
    }
    .home .home-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .home-container .home-img {
        position: relative;
        width: 100%;
        transform: none;
    }
    
    .home-container .home-img img {
        width: 200px;  /* Increased from 150px */
        height: 200px; /* Increased from 150px */
    }
    
    .home .home-container .info {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .media-icons {
        position: relative;
        margin-bottom: 2rem;
    }
    .home .home-container .info {
        font-size: 0.8rem;
    }
    .media-icons {
        margin-bottom: 80px;
    }
    .dark-theme .nav-items {
        background-color: #1a3442;
    }
}

/* New styles for the updated skills section */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: var(--card-bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h5 {
    color: var(--second-color);
    font-size: 1.2em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--transparent-colour-02);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags li {
    background: var(--transparent-colour-02);
    color: var(--first-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.skill-tags li:hover {
    background: var(--second-color);
    color: white;
    transform: translateY(-2px);
}

.dark-theme .skill-category {
    background: var(--transparent-colour-02);
}

.dark-theme .skill-tags li {
    background: rgba(255, 255, 255, 0.1);
    color: var(--body-bg-color);
}

.dark-theme .skill-tags li:hover {
    background: var(--second-color);
}

/* Update existing progress bars */
.bars .sql:before {
    width: 85%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1rem;
    }
    
    .skill-tags {
        gap: 0.5rem;
    }
    
    .skill-tags li {
        font-size: 0.8em;
        padding: 0.4rem 0.8rem;
    }
}

/* ...existing code... */

.edu-list {
    margin-bottom: 2rem;
}

.edu-list:last-child {
    margin-bottom: 0;
}

.education h4:not(:first-child) {
    margin-top: 2.5rem;
}

.edu-list .item {
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--second-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    transition: .3s ease;
}

.edu-list .item:hover {
    transform: translateX(10px);
}

/* Dark theme adjustments */
.dark-theme .edu-list .item {
    background: var(--transparent-colour-02);
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .edu-list .item {
        padding: 15px;
    }
    
    .edu-list .item:hover {
        transform: none;
    }
}

/* ...existing code... */

/* Certification Dropdown Styles */
.certification-dropdown {
    margin-top: 2rem;
}

.dropdown-btn {
    width: 100%;
    padding: 15px 20px;
    background: var(--second-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--normal-font-size);
    transition: 0.3s ease;
    margin: 0;
}

.dropdown-btn:hover {
    background: var(--hover-color);
}

.dropdown-btn i {
    transition: 0.3s ease;
}

.dropdown-content {
    display: none;
    padding-top: 15px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-btn.active i {
    transform: rotate(180deg);
}

/* Dark theme adjustments */
.dark-theme .edu-list .item {
    background: var(--transparent-colour-02);
}

.dark-theme .edu-list .item p {
    color: var(--body-bg-color);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .dropdown-btn {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

/* ...existing code... */

.info-section {
    margin-bottom: 0; /* Remove gap between info sections */
}

.dropdown-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--second-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    transition: 0.3s ease;
    margin: 0;
}

.dropdown-btn:hover {
    background: var(--hover-color);
}

.dropdown-btn i {
    transition: 0.3s ease;
}

.dropdown-content {
    display: none;
    padding: 1rem 0;
}

.dropdown-content.active {
    display: block;
}

.dropdown-btn.active i {
    transform: rotate(180deg);
}

.preview {
    margin-bottom: 1rem;
}

.hidden-content {
    display: none;
}

.hidden-content.active {
    display: block;
}

.view-more-btn {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    background: var(--transparent-colour-02);
    color: var(--second-color);
    border: 1px solid var(--second-color);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.view-more-btn:hover {
    background: var(--second-color);
    color: white;
}

/* Update skill tags style */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.skill-tags li {
    background: var(--transparent-colour-02);
    color: var(--first-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

/* ...existing code... */

.skills {
    margin-top: 0; /* Remove gap above skills section */
}

.info-section + .info-section {
    margin-top: 0;
}

.dropdown-btn {
    margin: 0;
    border-radius: 0;
}

.info-section:first-child .dropdown-btn {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.info-section:last-child .dropdown-btn {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.dropdown-content {
    padding: 1rem 0 0 0;
    margin: 0;
}

/* ...existing code... */

/* Remove spaces between dropdown buttons */
.info-section {
    margin: 0;
    padding: 0;
}

.info-section:not(:first-child) .dropdown-btn {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-btn {
    margin: 0;
    padding: 15px 20px;
    border-radius: 0;
}

.info-section:first-child .dropdown-btn {
    border-radius: 8px 8px 0 0;
}

.info-section:last-child .dropdown-btn {
    border-radius: 0 0 8px 8px;
}

.dropdown-content {
    padding: 15px;
    margin: 0;
    border-bottom: none;
}

/* Remove any inherited margins */
.skills-info {
    margin: 0;
    padding: 0;
}

.education-all {
    margin: 0;
    padding: 0;
}

/* ...existing code... */

/* Reset spacing for skills section */
.skills-info {
    margin: 0;
    padding: 0;
}

/* New dropdown section styles */
.info-sections-container {
    background: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.info-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section:last-child {
    border-bottom: none;
}

.dropdown-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--second-color);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    transition: 0.3s ease;
}

.dropdown-btn:hover {
    background: var(--hover-color);
}

.dropdown-content {
    display: none;
    background: var(--body-bg-color);
    padding: 1.2rem;
}

.dropdown-content.active {
    display: block;
}

/* Dark theme adjustments */
.dark-theme .info-sections-container {
    background: var(--transparent-colour-02);
}

.dark-theme .dropdown-content {
    background: var(--transparent-colour-02);
}

/* ...existing code... */

/* Flex container for side-by-side layout */
.flex-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

/* Ensure each section takes equal space */
.info-section {
    flex: 1;
    background: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 0;
}

/* Adjust dropdown button styles */
.dropdown-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--second-color);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    transition: 0.3s ease;
}

.dropdown-btn:hover {
    background: var(--hover-color);
}

/* Adjust dropdown content styles */
.dropdown-content {
    display: none;
    background: var(--body-bg-color);
    padding: 1.2rem;
}

.dropdown-content.active {
    display: block;
}

/* Dark theme adjustments */
.dark-theme .info-section {
    background: var(--transparent-colour-02);
}

.dark-theme .dropdown-content {
    background: var(--transparent-colour-02);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
}

.dropdown-content {
    /* ...existing code... */
    color: #fff !important;
}

.dropdown-content * {
    color: #fff !important;
}

.edu-list .item p,
.edu-list .item .year,
.edu-list .item p span,
.skill-category h5,
.skill-tags li {
    color: #fff !important;
}

/* Ensure white text in dark theme */
.dark-theme .dropdown-content,
.dark-theme .edu-list .item p,
.dark-theme .edu-list .item .year,
.dark-theme .edu-list .item p span,
.dark-theme .skill-category h5,
.dark-theme .skill-tags li {
    color: #fff !important;
}

/* ...existing code... */

.tech-stack {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.tech-stack i {
    color: #fff;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.tech-stack i:hover {
    transform: translateY(-3px);
    color: var(--second-color);
}

/* ...existing code... */

.project-tech-stack {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    justify-content: center;
}

.project-tech-stack i {
    font-size: 1.5em;
    color: var(--second-color);
    transition: transform 0.3s ease;
}

.project-tech-stack i:hover {
    transform: translateY(-3px);
    color: var(--hover-color);
}

.dark-theme .project-tech-stack {
    background: rgba(255, 255, 255, 0.1);
}

.dark-theme .project-tech-stack i {
    color: #fff;
}

/* ...existing code... */

/* ...existing code... */

.typing-animation {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    background: rgba(106, 89, 209, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    max-width: 60px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--second-color);
    border-radius: 50%;
    animation: typing 1.5s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.dark-theme .typing-animation {
    background: rgba(255, 255, 255, 0.1);
}

.dark-theme .typing-dot {
    background: #fff;
}

/* ...existing code... */

/* ...existing code... */

#chatbot-header .fa-comments {  /* Changed from .fa-robot to .fa-comments */
    font-size: 1.4em;          /* Slightly larger size */
    margin-right: 10px;
    color: #fff;
    animation: pulse 2s infinite;  /* Add subtle animation */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ...existing code... */

