/*Bleak - Personal Portfolio Template*/
/*Table of content
---------
font
general
button
navbar
home intro
about resume
portfolio
blog
contact
footer
comment
---------*/
/*general*/
body {
    font-family: 'Roboto', sans-serif;
    background: #212121;
    color: #fafafa;
    font-size: 14px;
    line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 110%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #fff;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

a {
    color: #fff;
}
a:hover {
    color: #fff;
    text-decoration: none;
}
a:focus {
    outline: 0;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.segments {
    padding: 27px 0;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}
.section-title h3 {
    font-weight: 700;
    color: #ff8c05;
}
.section-title.section-title-left {
    text-align: left;
}

.title-resume {
    text-align: left;
}
.title-resume h3 {
    color: #ff8c05;
    font-size: 22px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.title-resume h2 {
    font-size: 50px;
    font-weight: 900;
}
.title-resume h2 span {
    color: #ff8c05;
}

.box-content {
    background: #262626;
    padding: 40px;
    border-radius: 3px;
}

/*button default*/
.button {
    background: #ff8c05;
    background: -moz-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: -webkit-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: linear-gradient(135deg, #ff8c05 0%, #d61a5e 100%);
    color: #fff;
    border: 0;
    margin-top: 50px;
    border-radius: 2px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    z-index: 99;
}
.button:hover::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #262626;
    animation: titles 0.4s cubic-bezier(0.25, 0.61, 1, 0.47) forwards;
    transform: translateY(100%);
    animation-delay: .1s;
    z-index: -1000;
}

@keyframes buttons {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
/*navbar*/
.navbar {
    margin: 27px 0;
    background: #262626;
    color: #fff;
    padding: 8px 40px;
    transition: all .5s ease;
}
.navbar .navbar-brand h2 {
    font-weight: 900;
    background: -webkit-linear-gradient(right, #f003e4ff, #ee7c03ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    padding-left: 12px;
    padding-right: 12px;
    transition: all .4s ease;
}
/* Hover Effects */
.nav-link:hover {
    transform: translateY(-8px);
    color: rgba(255, 123, 0, 0.5);
    //box-shadow: 0 12px 30px rgba(94, 255, 0, 0.15);
}

.navbar.fix {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #262626;
    margin-top: 0;
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
    transition: all .5s ease;
}

/*home intro*/
.home-intro .intro-content {
    position: relative;
}
.home-intro .intro-content .intro-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.home-intro .intro-content .intro-caption span {
    font-size: 26px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.home-intro .intro-content .intro-caption h2 {
    font-size: 70px;
    font-weight: 900;
    background: -webkit-linear-gradient(right, #f003e4da, #7d2b05ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 87px;
}
.home-intro .intro-content .intro-image {
    filter: drop-shadow(-3px 17px 8px rgba(0, 0, 0, 0.3));
}
.home-intro .intro-content .intro-image img {
    width: 100%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    filter: grayscale(4%);
}

/*about*/
.about .box-content {
    padding: 0;
}
.about .box-content p {
    margin: 0;
}
.about .content-left {
    padding: 40px;
}
.about .content-left .content h2 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 30px;
}
.about .content-right {
    background: url(https://res.cloudinary.com/abhisheknishad/image/upload/v1789406861/a_ktie8u.png);
    background-size: cover;
    background-position: 65% 100%;
    height: 100%;
    border-radius: 0 3px 3px 0;
}

/* CSS for Pills */
.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.pill {
    background: rgba(255, 123, 0, 0.12);
    border: 1px solid rgba(255, 123, 0, 0.4);
    color: #ff7b00;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}


.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
}
.stat-box h3 {
    color: #ff7b00;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}
.stat-box p {
    color: #a0a0a0;
    font-size: 12px;
    margin: 4px 0 0 0;
}

/*resume*/
.resume .timeline {
    position: relative;
    list-style-type: none;
}
.resume .timeline::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    width: 2px;
    height: 100%;
    z-index: 400;
    background: #fff;
}
.resume .timeline ul {
    list-style-type: none;
}
.resume .timeline ul li {
    margin-bottom: 20px;
}
.resume .timeline > li {
    margin-bottom: 30px;
    padding-left: 30px;
}
.resume .timeline > li:last-child {
    margin-bottom: 0;
}
.resume .timeline > li::before {
    content: '';
    background: #fff;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    left: -7px;
    width: 16px;
    height: 16px;
    z-index: 400;
}
.resume .timeline > li h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
}
.resume .my-skill .content-right .card {
    background: transparent;
    border: 0;
}
.resume .my-skill .content-right .card .card-header {
    background: transparent;
    border: 0;
    padding: 0;
}
.resume .my-skill .content-right .card .card-header h2 .btn {
    padding: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.resume .my-skill .content-right .card .card-header h2 .btn:hover {
    text-decoration: none;
}
.resume .my-skill .content-right .card .card-header h2 .btn:focus {
    text-decoration: none;
}
.resume .my-skill .content-right .card .card-header h2 .btn i {
    color: #fff;
    margin-right: 15px;
    font-size: 16px;
    position: relative;
    top: -2px;
}
.resume .my-skill .content-right .card .card-body {
    padding-left: 32px;
}
.resume .my-skill .content-right .card .card-body ul li {
    margin-bottom: 20px;
}
.resume .my-skill .content-right .card .card-body ul li:last-child {
    margin-bottom: 0;
}
.resume .my-skill .content-right .skill-title span {
    font-size: 18px;
    margin-bottom: 10px;
    display: inline-block;
}
.resume .my-skill .content-right .progress {
    height: 5px;
    border-radius: 0;
    background: #414141;
}
.resume .my-skill .content-right .progress .progress-bar {
    background: #d61a5e;
    background: -moz-linear-gradient(left, #d61a5e 0%, #ff8c05 100%);
    background: -webkit-linear-gradient(left, #d61a5e 0%, #ff8c05 100%);
    background: linear-gradient(to right, #d61a5e 0%, #ff8c05 100%);
}
.resume .owl-theme .owl-dots .owl-dot span {
    margin: 5px 10px;
    background: #515151;
}
.resume .owl-theme .owl-dots .owl-dot.active span {
    background: #ff8c05;
}
.resume .owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 50px;
}

/*portfolio*/
.portfolio .row .col-md-4 {
    padding: 15px;
}
.portfolio .portfolio-filter-menu {
    margin-bottom: 30px;
    text-align: center;
}
.portfolio .portfolio-filter-menu ul li {
    display: inline-block;
    margin: 0 15px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    transition: .4s ease-in-out;
}
.portfolio .portfolio-filter-menu ul li span {
    z-index: 99;
    position: relative;
}
.portfolio .portfolio-filter-menu ul li span::after {
    content: "";
    height: 0;
    left: 0;
    bottom: -2px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    z-index: -1000;
}
.portfolio .portfolio-filter-menu ul li span:hover {
    color: #ff8c05;
}
.portfolio .portfolio-filter-menu ul li span:hover::after {
    height: 10px;
    background: #525252;
}
.portfolio .portfolio-filter-menu ul li.active {
    color: #ff8c05;
}
.portfolio .content-image {
    position: relative;
}
.portfolio .content-image:hover .image-overlay {
    opacity: 1;
}
.portfolio .content-image:hover .portfolio-caption .title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: #ff8c05;
    background: -moz-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: -webkit-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: linear-gradient(135deg, #ff8c05 0%, #d61a5e 100%);
    animation: titles 600ms cubic-bezier(0.45, 0.81, 0.83, 0.18) forwards;
    transform: translateY(101%);
    animation-delay: .1s;
}
.portfolio .content-image:hover .portfolio-caption .title h4 {
    opacity: 1;
}
.portfolio .content-image:hover .portfolio-caption .subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #ff8c05;
    background: -moz-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: -webkit-linear-gradient(-45deg, #ff8c05 0%, #d61a5e 100%);
    background: linear-gradient(135deg, #ff8c05 0%, #d61a5e 100%);
    animation: titles 500ms cubic-bezier(0.45, 0.81, 0.83, 0.18) forwards;
    transform: translateY(101%);
    animation-delay: .5s;
}
.portfolio .content-image:hover .portfolio-caption .subtitle span {
    opacity: 1;
}
.portfolio .content-image img {
    width: 100%;
    border-radius: 3px; height: 250px; /* Fix height */
    object-fit: cover; /* Crop image to fit */
    display: block;
}
.portfolio .content-image .portfolio-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    right: 30px;
}
.portfolio .content-image .portfolio-caption .title {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}
.portfolio .content-image .portfolio-caption .title h4 {
    font-size: 20px;
    font-weight: 700;
    transition-duration: .1s;
    transition-delay: 750ms;
    opacity: 0;
    line-height: 24px;
}
.portfolio .content-image .portfolio-caption .subtitle {
    overflow: hidden;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}
.portfolio .content-image .portfolio-caption .subtitle span {
    transition-duration: .1s;
    transition-delay: 700ms;
    opacity: 0;
}
.portfolio .content-image .image-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 3px;
    opacity: 0;
    transition: all .5s ease;
}

@keyframes titles {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-101%);
    }
}
@keyframes subtitles {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-101%);
    }
}
.portfolio .content-video {
    position: relative;
}

.portfolio .content-video video {
    width: 100%;
    height: auto;
    object-fit: cover;  /* Ensures the video covers the div without stretching */
    border-radius: 3px;
}

.portfolio .content-video:hover .image-overlay {
    opacity: 1;
}

.portfolio .content-video:hover .portfolio-caption .title h4,
.portfolio .content-video:hover .portfolio-caption .subtitle span {
    opacity: 1;
}

.portfolio .content-video .portfolio-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    right: 30px;
}

.portfolio .content-video .portfolio-caption .title,
.portfolio .content-video .portfolio-caption .subtitle {
    overflow: hidden;
    display: inline-block;
    transition-duration: .4s;
    transition-delay: .4s;
}

.portfolio .content-video .image-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 3px;
    opacity: 0;
    transition: all .5s ease;
}
.portfolio .content-video video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Card Container */
.content-image {
    position: relative;
    width: 100%;
    height: 250px; /* Sabhi video cards ka same height */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Video Link Styling */
.content-image > a.portfolio-popup {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Video background level */
}

/* Background Loop Video Styling */
.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Bottom Glass Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    /* backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); */
    z-index: 5;
    pointer-events: none; 
}

.portfolio-overlay .project-links {
    pointer-events: auto;
}

/* Right Side Flex Alignment */
.project-links {
    display: flex;
    align-items: center;
    gap: 4px; 
    margin-left: auto;
}

/* Glass Buttons Style */
.glass-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Smooth Circle */
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;

    /* Base Glass Tint */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* GitHub Specific Tint */
.glass-btn.github {
    background: rgba(46, 204, 113, 0.25);
    border-color: rgba(46, 204, 113, 0.4);
}

/* Live Demo Specific Tint */
.glass-btn.live {
    background: rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.4);
}

/* Smooth Hover Effects */
.glass-btn.github:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(46, 204, 113, 0.85);
    border-color: rgba(46, 204, 113, 1);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.glass-btn.live:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(231, 76, 60, 0.85);
    border-color: rgba(231, 76, 60, 1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.glass-btn i {
    font-size: 16px;
}

/*blog*/
/* .blog .content {
    background: #262626;
    border-radius: 3px;
}
.blog .content:hover img {
    -moz-transform: scale(1.03);
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}
.blog .content .image {
    overflow: hidden;
}
.blog .content .image img {
    width: 100%;
    border-radius: 3px 3px 0 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.5s;
}
.blog .content .blog-title {
    padding: 20px;
}
.blog .content .blog-title h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 35px;
}
.blog .content .blog-title h4 a {
    transition: all .2s ease;
}
.blog .content .blog-title h4 a:hover {
    color: #ff8c05;
}
.blog .content .blog-title .date {
    font-weight: 500;
}
.blog .content .blog-title .date i {
    margin: 0 10px;
    font-size: 7px;
    vertical-align: middle;
    color: #525252;
}
.blog .content .blog-title .date span {
    color: #ff8c05;
    font-size: 14px;
    position: relative;
    z-index: 99;
}
.blog .content .blog-title .date span::after {
    content: "";
    height: 0;
    left: 0;
    bottom: -2px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    z-index: -1000;
}
.blog .content .blog-title .date span:hover::after {
    height: 10px;
    background: #525252;
} */

/* Services Section Layout */
.services.segments {
    padding: 80px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.25), rgba(255, 123, 0, 0.05));
    border: 1px solid rgba(255, 123, 0, 0.4);
}

.service-icon i {
    font-size: 26px;
    color: #ff7b00;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 13.5px;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 123, 0, 0.5);
    box-shadow: 0 12px 30px rgba(255, 123, 0, 0.15);
}

.service-card:hover .service-icon {
    background: #ff7b00;
}

.service-card:hover .service-icon i {
    color: #ffffff;
}

/*contact*/
.contact .content-left h2 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 50px;
}
.contact .content-left ul li {
    display: inline-block;
    margin-right: 40px;
}
.contact .content-left ul li a i {
    font-size: 20px;
    transition: all .2s ease;
}
.contact .content-left ul li:hover a i {
    color: #525252;
}
.contact .content-left ul li:last-child {
    margin-right: 0;
}
.contact .content-right .row {
    margin-bottom: 30px;
}
.contact .content-right .row:last-child {
    margin-bottom: 0;
}
.contact .content-right .row .form-control {
    border: 0;
    border-bottom: 1px solid #525252;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #fff;
}
.contact .content-right .row .form-control:hover {
    border-color: #ff8c05;
}
.contact .content-right .row .form-control:focus {
    outline: 0;
    box-shadow: none;
    border-color: #ff8c05;
}
.contact .content-right .button {
    margin-top: 30px;
}

/*footer*/
.footer {
    text-align: center;
}
.footer p {
    margin-bottom: 0;
}

/*responsive*/
@media (max-width: 768px) {
    .box-content {
        padding: 30px;
    }

    .section-title {
        margin-bottom: 30px;
    }
    .section-title h3 {
        font-size: 22px;
    }

    .button {
        margin-top: 30px;
    }

    .navbar {
        padding: 8px 30px;
    }
    .navbar.navbar-dark .navbar-toggler {
        border: 0;
        background: #333;
    }
    .navbar.navbar-dark .navbar-toggler:focus {
        outline: 0;
    }
    .navbar .navbar-nav .nav-item .nav-link {
        padding-left: 0;
    }

    .home-intro .intro-content .intro-caption span {
        display: inline-block;
        margin-bottom: 20px;
        font-size: 22px;
    }
    .home-intro .intro-content .intro-caption h2 {
        font-size: 40px;
        line-height: 60px;
    }

    .about .content-left .content h2 {
        font-size: 40px;
    }

    .resume .content-left .title-resume h2 {
        font-size: 40px;
    }

    .portfolio .content-image .portfolio-caption {
        position: absolute;
        left: 10px;
        bottom: 10px;
        right: 10px;
        text-align: center;
    }

    .blog .content .blog-title h4 {
        font-size: 22px;
    }

    .contact .content-left h2 {
        font-size: 40px;
    }
    .contact .content-right .button {
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    .home-intro .intro-content .intro-caption {
        display: contents;
    }
    .home-intro .intro-content .intro-image {
        display: none;
    }

    .about .content-right {
        display: none;
    }

    .resume .timeline::before {
        position: absolute;
        left: 7px;
    }
    .resume .timeline li::before {
        position: absolute;
        left: 0;
    }
    .resume .content-left {
        margin-bottom: 30px;
    }

    .portfolio .content-image .portfolio-caption {
        display: inline-table;
        margin: 0 auto;
    }
    .portfolio .content-image .portfolio-caption .title {
        display: block;
        margin-bottom: 10px;
    }

    .blog .content {
        margin-bottom: 30px;
    }
    .blog .content.no-mb {
        margin-bottom: 0;
    }

    .contact .content-left {
        margin-bottom: 30px;
    }
    .contact .content-left h2 {
        margin-bottom: 40px;
    }
}
@media (max-width: 630px) {
    .home-intro .intro-content .row {
        text-align: center;
    }
    .home-intro .intro-content .row .intro-caption h2 {
        font-size: 32px;
    }

    .about .content-left {
        text-align: center;
    }
    .about .content-left .section-title-left {
        text-align: center;
    }
    .about .content-left .content h2 {
        font-size: 32px;
    }

    .resume .content-left .title-resume h2 {
        font-size: 32px;
    }

    .contact .content-left h2 {
        font-size: 32px;
    }
}

//services interactive 
/* ==========================================
   Stat Section - Glassmorphism & Responsive
========================================== */
.stat-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    margin: 40px 0;
    max-width: 1200px;
    width: 100%;
}

.stat-box {
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Glowing Top Border Effect */
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #33ff00, transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* Hover Effect */
.stat-box:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 255, 0, 0.4);
    box-shadow: 0 12px 30px rgba(72, 255, 0, 0.15);
}

.stat-box:hover::before {
    opacity: 1;
}

/* Counter Number Styling */
.stat-box h2.counter {
    font-size: 2.8rem;
    font-weight: 100;
    color: #00f429;
    margin: 0 0 10px 0;
    font-family: Arial, sans-serif;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(44, 238, 5, 0.42);
}

/* Label Description Styling */
.stat-box p {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin: 0;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ==========================================
   Mobile & Tablet Responsiveness
========================================== */
@media screen and (max-width: 768px) {
    .stat-section {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
        padding: 20px 10px;
    }

    .stat-box {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .stat-box h2.counter {
        font-size: 2.2rem;
    }

    .stat-box p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .stat-section {
        grid-template-columns: 1fr; /* Full width on mobile screens */
    }
}


/* ==========================================
   AI Chatbot Floating Styles 
========================================== */
#ai-chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

#chat-toggle-btn {
    background: transparent;
    color: #089c0a;
    border: 1px solid #089c0a;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#chat-toggle-btn:hover {
    background: rgba(30, 255, 0, 0.15);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 255, 0, 0.3);
}

#chat-box {
    width: 340px;
    height: 450px;
    max-width: 90vw;
    max-height: 80vh;
    background: #1f1f1f;
    border: 1px solid rgba(255, 123, 0, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 60px;
    right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-box-hidden {
    display: none !important;
}

.chat-header {
    background: rgba(255, 123, 0, 0.15);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

#chat-close-btn {
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    padding: 0 4px;
}

.chat-logs {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 85%;
    word-wrap: break-word;
}

.ai-msg {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-msg {
    background: #ff7b00;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    display: flex;
    padding: 10px;
    background: #181818;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    font-size: 13px;
    padding: 5px;
}

.chat-input-area button {
    background: transparent;
    border: none;
    color: #ff7b00;
    cursor: pointer;
    padding: 0 8px;
    font-size: 16px;
}

/* ==========================================
   Mobile Responsive Media Queries
========================================== */
@media screen and (max-width: 480px) {
    #ai-chat-widget {
        bottom: 15px;
        right: 15px;
    }

    #chat-box {
        position: fixed;
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: auto;
        height: 75vh;
        max-width: 100%;
        max-height: 85vh;
        border-radius: 16px;
    }

    #chat-toggle-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
