:root {
    --primary-color: #0d6efd;
    --dark-bg: #0f172a;
    --card-bg: #ffffff;
}
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    /* font-family: Arial, sans-serif; */
    line-height: 1.6;
    margin: 0;
    padding: 0;
 }
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid;
}
header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
header ul {
    padding: 0;
    list-style: none;
}
header li {
    display: inline;
    padding: 0 20px 0 20px;
}
header #branding {
    float: left;
}
header #branding h1 {
    margin: 0;
}
header nav {
    float: right;
    margin-top: 10px;
}
header .highlight, header .current a {
    color: #e8491d;
    font-weight: bold;
}
header a:hover {
    color: #cccccc;
    font-weight: bold;
}
.desktop-view {
        display: block;
}
.desktop-view span,.mobile-view span{
    font-size: 30px;
    font-weight: bold;
}
nav.navbar.sticky-nav {
    position: fixed;
    overflow: hidden;
    width: 100%;
}
a.navbar-brand.mobile-view {
    display: none;
}
ul.list-unstyled li a {
text-decoration: none;
color: #383838;
padding: 5px 0;
margin: 5px 0;
}
ul.list-unstyled li a:hover {
text-decoration: underline;
background: #ccc;
}
ul.ref-link li a{
    text-decoration: none;
    color: #383838;
}
ul.ref-link li a:hover {
text-decoration: underline;
color: #163ca7;
}
.custom-nav {
display: flex;
align-items: center;
justify-content: space-between;
}
li.nav-item {
padding: 0;
}

.nav-logo a {
font-size: 30px;
}
ul.dropdown-menu.show {
padding: 0px;
}
li.nav-item.dropdown ul li a {
padding: 15px 10px;
}
.navbar-Toggler {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.labs-navbar {
    background-color: var(--dark-bg);
}
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 80px 0 60px;
}
.hero-img {
    max-width: 180px;
    border: 4px solid #38bdf8;
}
.badge-lab {
    background-color: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
}
.demo-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.skill-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.btn-brand {
    background-color: #38bdf8 !important;
    color: #0f172a !important;
    font-weight: 600;
}
.btn-brand:hover {
    background-color: #0284c7 !important;
    color: #fff !important;
}


.card-img {
    padding: 10% 0;
}
.card-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
a.btn.bg-primary {
    color: #fff;
    font-weight: bold;
    margin: 10px 0 0 0;
    }
a.btn.bg-primary:hover {
    background-color: #3735a8;
}
figcaption.text-center {
    padding: 0 0 3% 0;
    font-weight: bold;
}
p.card-text-welcome {
    font-size: 20px;
}
div#customNavbar {
    /*display: flex;*/
    justify-content: space-between;
}
.heading-text {
    text-align: center;
}
h1.bd-title.website-subhead, section.showcase h2, section.showcase p {
    color: #2c2b2b;
}
img.model-logo {
    display: flex;
    border-radius: 50%;
    height: 175px;
    width: 175px;
    margin: 1% auto;
}
.post-body p {
    font-size: 20px;
    text-align: justify;
}
.post-body img {
    width: 100%;
    overflow: hidden;
}
a.btn.btn-class {
    border: 1px solid #ccc;
    margin: 10px 0;
    font-weight: bold;
}
a.btn.btn-class:hover {
    background: #ccc;
    color: #191e1c;
}
.post-body h1 {
    font-weight: bold;
    text-align: justify;
    line-height: 55px;
    padding: 0 0 15px 0;
}
.post-body h2 {
    font-weight: bold;
    padding: 15px 0 5px 0;
}
.post-body h3 {
    font-weight: bold;
    padding: 20px 0 10px 0;
}

.content {
    padding: 20px;
    background: #fff;
}
.content h2 {
    padding: 10px 0;
}
.github-stats img {
    max-width: 100%;
    height: auto;
}
.skills-table img {
    width: 48px;
    height: 48px;
}
.skills-table td {
    padding: 10px;
    text-align: center;
}
.follow-me a {
    margin: 0 10px;
    text-decoration: none;
}
.follow-me img {
    width: 48px;
    height: 48px;
}
.stats-Streak {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
.article-body h2,.skillsnothers h2,.stats-Streak h2 {
    font-size: 25px;
}
.article-body h3, .skillsnothers h3, .stats-Streak h3 {
    font-size: 23px;
    padding: 15px 0 5px 0;
}
.article-body {
    border-bottom: 0.1px solid #ccc;
    padding-bottom: 15px;
}
.article-body p {
    text-align: justify;
    font-size: 20px;
    font-family: math;
    padding: 0 0 5px 0;
}
.article-list h3 {
    font-size: 23px;
    text-align: justify;
    padding: 0 0 5px 0;
}
.article-list p {
    text-align: justify;
}
.post-body ul li, .post-body ol li {
    font-size: 20px;
    margin: 5px 0;
}
ul li {
    margin: 5px 0;
}
ol li {
    margin: 5px 0;
}
pre {
    background: #ccc;
    color: #000;
}
.article-sd h3 {
    padding: 0 5px;
}
.skillsnothers h2 {
    border-bottom: 1px solid #ccc;
}
.skillsnothers {
    overflow: hidden;
    width: 100%;
}
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background-color: #f4f4f4;
}
.skill {
    text-align: center;
    margin: 10px;
}
.skill img {
    width: 48px;
    height: 48px;
}
.skill p {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}
.follow-me {
    background: #f4f4f4;
    padding: 15px 0;
    text-align: center;
}
.common {
    margin: 5% 0;
}
.about-item {
    margin: 0px;
    padding: 10px;
    box-shadow: 1px 2px 3px #ccc;
    border-radius: 10px;
}
.about-item h3, .stats-Streak h2 {
    border-bottom: 5px solid #fff;
    text-align: center;
}
.aboutme {
    border-radius: 10px;
}
.starss {
    text-align: center;
}
.row {
    margin-right: -1px; /* Adjust row margin to counteract the item margin */
    margin-left: -1px;
}

.about-item > .col {
    padding-right: 1px; /* Ensure consistent spacing between columns */
    padding-left: 1px;
}
p.text-justify {
    text-align: justify;
}
.footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-link img {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}
.social-link img:hover {
    transform: scale(1.15);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-content div {
    flex: 1;
    margin: 0 10px;
    min-width: 200px;
}
.footer-content h4 {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
}
.footer-content ul {
    list-style: none;
    padding: 0;
}
.footer-content ul li {
    margin: 10px 0;
}
.footer-content ul li a {
    color: #fff;
    text-decoration: none;
}
.footer-content ul li a:hover {
    text-decoration: underline;
}
.footer-credit {
    padding: 25px 0 0 0;
    border-top: 1px solid #444;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: 1px solid #fff;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}
#scrollToTopBtn:hover {
    background-color: #555;
}
/* Chatbot Button and Window */
#chatbotBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#chatbotBtn:hover {
    background-color: #555;
}
#chatbotBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    background-color: #333;
    color: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#chatbotHeader {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}
#chatbotMessages {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
}
#chatbotInput {
    display: flex;
    border-top: 1px solid #ddd;
}
#chatbotInput input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 16px;
}
#chatbotInput button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
#chatbotInput button:hover {
    background-color: #555;
}
.heading-text p {
    font-size: 23px;
    line-height: 40px;
}

/*Showcase section Start*/
.showcase {
    min-height: 100vh; /* Make section full height */
    display: flex;
    align-items: center;
}

.showcase-img img {
    max-height: 100%; /* Ensure the image doesn't exceed section height */
    object-fit: contain; /* Maintain aspect ratio without cropping */
    width: 68%; /* Make image responsive */
}
a.btn.custom-btn.mywork {
    width: 100%;
    border: 2px solid #007bff; /* Primary border */
    color: #007bff; /* Text color */
    background-color: transparent; /* No background */
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

a.btn.custom-btn.mywork:hover {
    background-color: #007bff; /* Blue background on hover */
    color: white;
}
a.btn.custom-btn.cont {
    width: 100%;
    border: 2px solid #9fd61e; /* Primary border */
    color: #9fd61e; /* Text color */
    background-color: transparent; /* No background */
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}
a.btn.custom-btn.cont:hover {
    background-color: #9fd61e; /* Blue background on hover */
    color: white;
}

a.btn.custom-btn:nth-child(2) {
    border-color: #6c757d; /* Secondary border */
    color: #6c757d;
}

a.btn.custom-btn:nth-child(2):hover {
    background-color: #6c757d;
    color: white;
}
/*Showcase section end*/

/*blog html css Start*/
.bloghtml h2 {
    text-align: center;
    color: #e40d0d;
    font-weight: bold;
}
.article-list {
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 1px 0px #ccc;
}
.article-list img {
    width: 100%;
    height: 165px;
}
h2.blog-head span {
    text-decoration: underline;
    text-underline-position: under;
    color: #292727;
}
.learn-more {
    display: flex;
    align-content: stretch;
    align-items: stretch;
    justify-content: center;
}
.learn-more a {
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #5b85fd;
    border-radius: 5px;
}
.learn-more a:hover {
    color: #f4f4f4;
    background: #292727;
    border: 1px solid #292727;
}
figure.Portfolioimg {
    height: 230px;
    overflow: hidden;
}
.port-link a {
    text-decoration: none;
    color: #020202;
    font-weight: bold;
    display: flex;
    justify-content: center;
}
.view-more {
    
}
.portfolio-body:hover .view-more {
    color: #020202;
}
/*blog html css End*/

@media (max-width: 768px) {
    header nav {
        float: none;
        text-align: center;
        margin: 0;
    }
    header nav ul {
        padding: 0;
    }
    header nav ul li {
        display: block;
        margin: 0;
    }
    .desktop-view {
        display: none;
    }
    a.navbar-brand.mobile-view {
        display: block;
    }

    .showcase h1 {
        font-size: 30px;
    }
    
    .showcase p {
        font-size: 16px;
    }
    .stats-Streak {
    display: block;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-content div {
        margin: 10px 0;
        min-width: auto;
    }
  
}