body {
    background-color: rgb(220, 220, 255);
    fill: white;
    transition: backgrond-color 0.3s, color 0.5s;
    overflow-x: hidden;
}

:root {
    --bs-primary: #e9ff09;
    --bs-primary-light: #e9ff09;
    --t-medium--dark: #C7C6D3;
    --t-bright--dark: #e9e9f1;
    --t-accent: #8f56cc;
    --t-secondary: #5d4ec4;
    --t-bright--light: #22232c;
    --t-bright: #22232c;;
    --t-opp-bright--light: #ebf0f7;
    --t-accent--dark: #E1BAC5;
    --t-medium--dark: #C7C6D3;
}


/* darkmode-toggle-btn */
.toggle-btn {
    padding: 2px 5px;
    border-radius: 5px;
    right: 250px;
    position: absolute;
    background: transparent;
    border: none;
    color: white;
}

body.dark-mode {
    background-color: black;
    color: white;
    fill:black;
}

body.dark-mode svg{
    fill:black;
}

.fa-solid,
.fas {
    font-size: 1rem;
}

h1 {
    color: var(--t-accent);
}

.dark-mode p{
 color: var(--t-medium--dark);
}

.navbar {
    position: fixed !important;
    width: 100%;
    z-index: 1;
}

.nav-link{
    color: rgb(0 0 0 / 60%);
    transition: color 0.3s ease-in-out;
    font-weight: 500;
}

.nav-link:hover {
    color: black;
}

.dark-mode .nav-link {
    color:#ffffffc7;

}

.bg-blur{
    background: transparent;
    backdrop-filter: blur(10px);
}

/* underline on texts  width hover effect */

.underline-hover{
    text-decoration: underline;
}
 
.underline-hover {
   position: relative;
  display: inline-block; 
  text-decoration: none;
  padding: 5px;
}

.underline-hover::after {
    content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--t-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.dark-mode .underline-hover::after{
    background-color: var(--bs-primary);
}

.underline-hover:hover::after {
  transform: scaleX(1);
}


.dark-mode h1 {
    color: white;
}

.dark-mode h3 {
    color: var(--t-accent--dark);
}

.col-lg-6 a {
    position: relative; 
    display: inline-block; 
    color: #000000a3;
}

.dark-mode .col-lg-6 a {
    position: relative; 
    display: inline-block; 
    color: var(--bs-primary-light);
}


#text {
    fill: var(--t-bright--light);
}

.dark-mode #text {
    fill: var(--bs-primary-light);
}


.col-lg-6 .fa-arrow-down {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center perfectly */
    font-size: 24px; /* Adjust size if needed */
}

.rotation-box{
    margin-top: 50px;
}


.webcoder{
    transition: opacity 0.5s ease-in-out;
}

.meow-script-regular {
    font-family: "Meow Script", serif;
    font-weight: 400;
    font-style: normal;
}

/* Hire me button ko fixed rakhne ke liye */
.hire-btn {
    position: absolute;
    top: 10px;
    right: 125px;
    border: 1px solid;
    border-color: var(--t-accent);
    background-color: var(--t-accent);
    border-radius: 0px;
    box-shadow: 6px 2px 0px 1px white;
    color: white;
}

.dark-mode .hire-btn {
    position: absolute;
    top: 10px;
    right: 125px;
    border: 1px solid;
    border-color: var(--bs-primary-light);
    background-color: var(--bs-primary-light);
    border-radius: 0px;
    box-shadow: 6px 2px 0px 1px #7a7a7a;
    color: black;
}

.hire-btn:hover {
    border-color: var(--t-accent);
    background-color: var(--t-accent);
    box-shadow: none;
    color: white;
}

.dark-mode .hire-btn:hover {
    border-color: var(--bs-primary-light);
    background-color: var(--bs-primary-light);
    box-shadow: none;
    color: black;
}

.page-buttons {
    margin-bottom: 20px;
}

.shapration {
    height: 1px;
    width: 0%;
    position: relative;
    background-color: var(--t-accent);
}

.shapration:hover {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--t-accent);
    transition: width 0.3s ease-in-out;
}

.dark-mode .shapration {
    background-color: rgb(21, 255, 0);
}

@media (max-width: 991.98px) {
    .navbar-collapse-left {
        position: fixed;
        top: 0;
        left: 0;
        height: 600%;
        width: 100%;
        background-color: white;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding: 1rem;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .navbar-collapse-left.show {
        transform: translateX(0);
    }

    .navbar-collapse-left .navbar-nav {
        flex-direction: column;
    }
}


.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1100;
}

/* Toggle button ko right fix karne ke liye */
.navbar-toggler {
    position: absolute;
    right: 20px;
    top: 10px;
    background-color: transparent;
}

/* Navbar items ko center align karne ke liye */

.mx-auto {
    gap: 30px;
}

.container-fluid {
    padding: 0 !important;
}

.text-center h1 {
    font-size: 80px;
}

.meet a {
    cursor: none;
}

.meet a:hover {
    cursor: text;
}

.dark-mode .home-img-box {
    position: relative;
    border: 1px solid;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 200px;
    overflow: hidden;
    background: #9bff00;
    border: none;
    box-shadow: 0px 0px 75px var(--bs-primary-light);
}

.home-img-box {
    position: relative;
    border: 1px solid;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 200px;
    overflow: hidden;
    background: var(--t-secondary);
    border: none;
    box-shadow: 0px 0px 75px var(--t-accent);
}

.home-img-box img {
    position: relative;
    height: 100%;
    width: 100%;
}

.dark-mode .footer-img-box {
    position: relative;
    border: 1px solid;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 200px;
    overflow: hidden;
    background: #9bff00;
    border: none;
    box-shadow: 0px 0px 75px var(--bs-primary-light);
}

.footer-img-box {
    position: relative;
    border: 1px solid;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 200px;
    overflow: hidden;
    background: var(--t-secondary);
    border: none;
    box-shadow: 0px 0px 75px var(--t-accent);
}
.footer-img-box img {
    position: relative;
    height: 100%;
    width: 100%;
}

@keyframes updown {
    0% {
        transform: translate(0);
    }

    50% {
        transform: translate(-20px);
    }

    100% {
        transform: translate(0);
    }
}

.animated-image {
    display: block;
    margin: auto;
    width: 100%;
    animation: updown 2s infinite ease-in-out;
}

.profession {
    margin-bottom: 30px;
    color: var(--t-accent);
    font-weight: 900;
    height: 230px;
}

.home-left-box {
    padding: 100px 0px 0px;
}

.btn{
    font-weight: 600;
    text-shadow: var( --t-opp-bright--light);
}



/* Small screens ke liye spacing manage karna */
@media screen and (max-width: 768px) {

    html{
        overflow-x: hidden;
    }
    .navbar {
        position: fixed !important;
        width: 100%!important;
        z-index: 1;
    }

    .hire-btn {
        position: absolute;
        top: 10px;
        right: 100px;
    }

    .dark-mode  .hire-btn {
        position: absolute;
        top: 10px;
        right: 100px;
    }

    .navbar-toggler {
        position: absolute;
        right: 15px !important;
        top: 10px;
    }

    .dark-mode  .navbar-toggler {
        position: absolute;
        right: 15px !important;
        top: 10px;
        background-color:transparent;
    }

    .mx-auto {
        gap: 0px;
    }

    /* .service-items{
        flex-direction: column;
        gap: 0px !important;
    } */
    .right-box {
        width: revert !important;
        padding-right: 0px !important;
        padding: 30px 10px !important;
    }

    .left-box {
        width: revert !important;
        padding: 30px 0px 20px !important;
        align-items: baseline !important;
    }

    /* .service-items i{
        top: 90% !important;
        transform: translateY(-50%) rotate(270deg) !important;
        right: 50% !important;
    } */

    .text-center h1 {
        font-size: 48px;
    }

    .home-left-box {
        padding: 0px 0px;
    }

    .row {
        --bs-gutter-x: 0rem !important;
    }

    .toggle-btn {
    right: 200px;
    display: none;
    }

    .profession{
        height: 50px;
    }

    .home-box{
        margin-bottom: 30px;
        margin-top: 80px;
    }

    .content-right-box{
        padding-top: 100px !important;
    }

    .Mywork{
        margin-top: 15px;
    }

    .nav-border .active{
        border: none;
    }

    .dark-mode.nav-border .active{
        border: none;
    }

    .col-sm-12{
        margin-bottom: 20px !important;
    }
    .rotation-box{
        margin-top: 30px;
    }

    .Mywork .btn-default{
        width: 100%;
    }

    .scroll-to-top{
        position: fixed;
        right: 15px !important;
    }


}

.dark-mode .number span {
    font-size: 50px;
    font-weight: 600;
    color: #e9ff09;
}

.number span {
    font-size: 50px;
    font-weight: 600;
    color: var(--t-secondary);
}

p {
    font-size: 20px;
}

.text {
    font-size: 20px;
    font-weight: 500;
}

.hero-section {
    padding: 60px 20px;
    z-index: 10;
    background: fixed;
    transition: transform 0.1s ease-out;
}

.textalign {
    text-align: center;
}

.justify-content {
    justify-content: center;
}

.alignitem {
    align-items: center;
}

/* .backgroundblack{
    background-color: black;
} */

.greenColor {
    color: var(--t-accent);
    position: relative;
}

.greenColor:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--t-accent);
    transition: width 0.3s ease-in-out;
}

.greenColor:hover::after {
    width: 100%;
}

.dark-mode .greenColor {
    color: var(--bs-primary);
    position: relative;
}

.dark-mode .greenColor:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--bs-primary-light);
    transition: width 0.3s ease-in-out;
}

.dark-mode.greenColor:hover::after {
    width: 100%;
}

.greenColor {
    transition: color 3s ease-in-out, border-bottom 3s ease-in-out, font-weight 3s ease-in-out;
}

.btn-default {
    border: 1px solid;
    border-color: var(--t-accent);
    background-color: var(--t-accent);
    border-radius: 10px;
    box-shadow: 6px 2px 0px 1px white;
    color: white;
    transition: transform 0.2s ease-in-out !important;
}

.btn-default:active{
    transform:scale(0.9)
}

.dark-mode .btn-default {
    border: 1px solid;
    border-color: var(--bs-primary-light);
    background-color: var(--bs-primary-light);
    border-radius: 10px;
    box-shadow: 6px 2px 0px 1px #7a7a7a;
    color: black;
    transition: transform 0.2s ease-in-out !important;
}

.dark-mode .btn-default:active{
    transform:scale(0.9)
}

.btn-default:hover {
    border-color: var(--t-accent);
    background-color: var(--t-accent);
    box-shadow: none;
    color: white;
    transform:scale(1.1) !important;
}

.dark-mode .btn-default:hover {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    box-shadow: none;
    color: black;
    transform:scale(1.1) !important;
}

.social-icon {
    padding: 20px 0px 0px;
}

.social-icon a i {
    font-size: 50px;
    margin-right: 20px;
}

.dark-mode .bg-sm-primary {
    background-color: black;
    color: rgb(255, 255, 255);
}

.Mywork{
    height: 42px;
}

.dark-mode .sub-title{
    color: var(--t-medium--dark);
}

/* service css */
.service-links{
    color: black;
    text-decoration: none;
}

.service-items{
    border: 1px solid;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    transition: 0.4s;
    position: relative;
}

.service-items:hover{
    background-color: #8f56cc;
    color: white;
}

.dark-mode .service-items:hover{
     background-color: var(--bs-primary);
    color: rgb(0, 0, 0);
}
.service-items i {
    top: 50%;
    right: 55px;
    transform: translateY(-50%) rotate(40deg);
    position: absolute;
}

.service-items:hover i {
    transform: rotate(-40.29deg);
    transition: all 0.5s ease;
    color: white;
}

.dark-mode .service-items:hover i {
    color: rgb(0, 0, 0);
}

.dark-mode .service-items:hover .black{
    color: black;
}

.left-box {
    display: flex;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
    width: calc(40% - 10px);

}

.right-box {
    width: calc(60% - 10px);
    padding: 30px 0;
    padding-right: 15%;
}

@media screen and (max-width: 320px){
    .service-items{
        flex-direction: column;
        display: inline-block;
    }
    .left-box{
        width: revert;
    }
    .right-box{
            width: revert;
            
    }

}
.service-sub-para{
    margin-bottom: 0px;
}

.col-sm-12 {
    margin-bottom: 20px;
}

.col-lg-4 {
    margin-bottom: 20px;
}

.page-heading {
    margin-bottom: 20px;
}

.dark-mode .portfolio-box {
    height: 300px;
    border-radius: 40px;
    margin-bottom: 50px;
    border: 2px solid transparent; 
    animation: borderAnimation 2s linear infinite; 
}

.portfolio-box {
    height: 300px;
    border-radius: 40px;
    margin-bottom: 50px;
    box-shadow: 0px 0px 10px 6px white;
    border: 2px solid transparent; 
    animation: borderAnimation 2s linear infinite; 
}

@keyframes borderAnimation {
    0% {
        border-color: red;
        box-shadow: 0px 0px 15px red;
    }
    25% {
        border-color: blue;
        box-shadow: 0px 0px 15px blue;
    }
    50% {
        border-color: green;
        box-shadow: 0px 0px 15px green;
    }
    75% {
        border-color: yellow;
        box-shadow: 0px 0px 15px yellow;
    }
    100% {
        border-color: red;
        box-shadow: 0px 0px 15px red;
    }
}


.img-box {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    border-radius: 40px;
}

.img-box img {
    height: 100%;
    width: 100%;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.img-box:hover .overlay {
    opacity: 1;
}

.dark-mode .underline {
    background: url("underline.svg") no-repeat;
    background-size: 100% 50%;
    background-position: bottom;
}

.dark-mode .border {
    border-radius: 20px;
    padding: 25px 25px;
    margin-bottom: 20px;
    border: 1px solid #28291f !important;
}

.border {
    border-radius: 20px;
    padding: 25px 25px;
    margin-bottom: 20px;
    border:  1px solid #00000030 !important;
}


.text {
    margin-bottom: 20px;
}

h2 {
    font-size: 1rem;
}

h3 {
    color: var(--t-accent);
}

.resume-heading {
    margin-bottom: 24px;
    color: var(--t-accent);

}

.titles {
    margin-bottom: 5px;
    color: var(--t-accent);
}

.dark-mode .titles {
    margin-bottom: 5px;
    color: var(--bs-primary-light);
}


.resume-items {
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
}

#right-box {
    display: flex;
    align-items: center;
}

.col-sm-2 {
    width: 150px;
    height: 157px;
    cursor: pointer;
}

.gap {
    gap: 20px;
}

.contentceter {
    justify-content: center;
}

.talklinks {
    font-size: 70px;
}

.flex {
    display: flex;
}

.bottom-social-icon a {
    margin-right: 30px;
    margin-bottom: 30px;
}

.carousel-inner-box {
    position: absolute;
    left: 40%;
    transform: translateX(-50%);
    border-radius: 10px;
    text-align: left;
    width: 80%;
    height: 100%;
}

.carousel-item {
    height: 250px;
}

.carousel-control-prev-icon {
    display: none;
}

.carousel-control-next-icon {
    display: none;
}

.Clients-box {
    padding: 40px !important;
}

.form-control{
    height: 58px;
    color:var(--t-bright--light);
    font-size: 20px;
    font-weight: 500;
    border-radius: 0;
    background-color: transparent;
    border-bottom: 2px solid #00000012;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 90%;
    transition: border-bottom-color 1s ease-in-out;
}

.form-control:focus{
    box-shadow: none;
    background-color: none;
    border-bottom-color: #8f56cc;
}

.dark-mode .form-control:focus{
    border-bottom-color:var(--bs-primary-light);
}

input:focus, textarea:focus {
    background-color: transparent !important;
    outline: none;
    box-shadow: none;
}

.dark-mode .form-control{
    border: none;
    border-bottom: 2px solid #898888;
    color:  #C7C6D3!important;
}

.dark-mode:focus, textarea:focus {
    background-color: transparent !important;
    outline: none;
    box-shadow: none;
}

.dark-mode ::placeholder{
    color: #C7C6D3;
}



.d-grid{
    justify-content: left !important;
    margin-top: 50px;
}
     #send{
    padding: 20px 50px !important;
}

.btn-primary{
    background-color: #8f56cc;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s ease-in-out !important;
}

.dark-mode .btn-primary{
    background-color: #9bff00;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    color: black;
    transition: transform 0.2s ease-in-out !important;
}

.dark-mode .btn-primary:hover{
    background-color: #9bff00;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    color: black;
    transform: scale(1.2) !important;
}



.btn-primary:hover{
    background-color: #8f56cc;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    transform: scale(1.2) !important;
}

.wrapper{
    position: relative;
}

.box div{
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 6px solid ,rgba(0,212,255,1) ;
}

.box div:nth-child(1){
    top: 10%;
    left: 42%;
    animation: animate 10s linear infinite;
}

.box div:nth-child(2){
    left: 50%;
    top: 60%;
    animation: animate 7s linear infinite;
}

.box div:nth-child(3){
    left: 15%;
    top: 30%;
    animation: animate 9s linear infinite;
}


.box div:nth-child(4){
    left: 60%;
    top: 20%;
    animation: animate 10s linear infinite;
}


.box div:nth-child(5){
    left: 10%;
    top: 40%;
    animation: animate 6s linear infinite;
}

.box div:nth-child(6){
    left: 70%;
    top: 45%;
    animation: animate 12s linear infinite;
}


.box div:nth-child(7){
    left: 80%;
    top: 55%;
    animation: animate 15s linear infinite;
}


.box div:nth-child(8){
    left: 20%;
    top: 65%;
    animation: animate 16s linear infinite;
}


.box div:nth-child(9){
    left: 30%;
    top: 35%;
    animation: animate 9s linear infinite;
}

.box div:nth-child(10){
    left: 90%;
    top: 25%;
    animation: animate 12s linear infinite;
}

@keyframes animate{
    0%{
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1;
    }

    0%{
        transform: scale(1.3) translateY(-90px) rotate(360deg);
        opacity: 0;
    }
}

/* .upbutton{
    margin-bottom: 0px;
    text-align: right;
    height: 60px;
}

.upbutton a{
    border: 1px solid var(--t-accent);
    padding: 10px 20px;
    border-radius: 40px;
    background-color:#9600ff1a;
    outline: none;
    border: none;
    transition: background-color 0.4s ease-in-out;
}

.upbutton a i {
    font-size: 2rem;
    color: white;
}

.upbutton a:hover {
    background: #5a2d8a;
}

.dark-mode .upbutton a{
    border: 1px solid black; 
    background-color:rgb(166 255 32 / 85%);
    border: none;
}

.dark-mode .fa-arrow-up{
    font-size: 2rem;
    color: white;
}

.dark-mode .upbutton a:hover{
    background-color: black;
} */


.scroll-to-top{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color:var(--t-accent);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.dark-mode .scroll-to-top{
    background-color: var(--bs-primary-light);
    color: black;
    border: 1px solid;
}

.scroll-to-top.show{
    opacity: 1;
}

.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color:var(--t-secondary);
    z-index: 1001;
}

.dark-mode .progress-bar{
    background-color:var(--bs-primary-light); 
}


/* footer css */

footer a {
    font-size: 30px;
    color: black;
    text-align: right;
}

.footer-shapration{
    height: 1px;
    width: 100%;
    position: relative;
    background-color: var(--t-medium--dark);  
}

.dark-mode .footer-shapration{
    color: var(--bs-primary);
}

.dark-mode .footer-content h3{
    color: var(--bs-primary-light);
}