/* 
    Company Name:Mantraksh Devs
    Description: IT Services and Solutions
    Author: Mantraksh Devs
    Email: mantrakshdevs@gmail.com
    Phone: 
*/


:root {
    --primary-color: #404fc9;
    --success-color: #18b599;
    --danger-color: #F00505;
    --warning-color: #FFCE03;
    --light-color: #fafafd;
    --info-color: #12bedd;
    --muted-color: #627387;
    --dark-color: #0C0704;
  }
body {
    font-family: "Jost", sans-serif;
    font-size: 1.1rem;
    background-color: var(--dark-color);
}
.container-md {
    position: relative;
    z-index: 1;
}
a {
    text-decoration: none;
}
.text-primary {
    color: var(--primary-color) !important;
}
h1, h2, h3, h4, h5, h6,
.text-dark {
    color: var(--dark-color);
}
.text-muted {
    color: var(--muted-color) !important;
}
.bg-light {
    background-color: var(--light-color) !important;
}
.btn-primary {
    background-image: linear-gradient(to right, var(--danger-color) 0%, var(--warning-color)  50%, var(--danger-color)  100%);
    background-color: transparent !important;
    border: none;
    background-size: 200% auto;
    box-shadow: 0px 5px 8px rgba(28, 66, 112, 0.25);
    transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
    transform: translateY(-4px);
    background-position: right center;
    box-shadow: 0px 6px 10px rgba(28, 66, 112, 0.3);
}
.btn.btn-lg {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.8rem;
    --bs-btn-font-size: 1.3rem;
}
.btn.btn-md {
    --bs-btn-padding-y: 0.6rem;
    --bs-btn-padding-x: 1.4rem;
    --bs-btn-font-size: 1rem;
}
.card {
    border-color: rgb(255 255 255 / 12%);
    border-radius: 10px;
    background-color: rgb(255 255 255 / 6%);
}
.card .card-body {
    padding: 24px;
}
.card.card-hover-effect::before {
    content: "";
    background-image: linear-gradient(45deg, var(--danger-color), var(--warning-color));
    height: 20px;
    width: 20px;
    opacity: 0.1;
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}
.card.card-hover-effect:hover::before {
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    opacity: 1;
}
.card.card-hover-effect .card-body {
    position: relative;
}
.section {
    padding: 80px 0;
}
body {
    background-image: url('../images/dark-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Animation */
.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.06);
    animation: animate 25s linear infinite;
    bottom: -150px;
}
.circles li:nth-child(1){
    left: 25%;
    width: 45px;
    height: 45px;
    animation-delay: 0s;
}

.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles li:nth-child(6){
    left: 75%;
    width: 80px;
    height: 80px;
    animation-delay: 3s;
}
.circles li:nth-child(7){
    left: 35%;
    width: 100px;
    height: 100px;
    animation-delay: 7s;
}
.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles li:nth-child(10){
    left: 85%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
    animation-duration: 11s;
}
@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* icons */
.icon-shape {
    background:  linear-gradient(to right, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px 0px 0px 0px rgb(255, 255, 255, 0);
    height: 60px;
    width: 60px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px 30px 30px 6px;
    transition: all 0.5s ease-in-out;
}
.icon-gradient {
    background-image: linear-gradient(45deg, var(--danger-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card.card-hover-effect:hover .icon-shape {
    background: #ffffff;
    color: #ffffff;
    box-shadow: 0px 0px 4px 10px rgb(255, 255, 255, .16);
}

/* menu */
.navbar.demo-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    padding: 20px 0;
}
.navbar.demo-menu .navbar-toggler {
    border: none;
    padding: 0;
    box-shadow: none;
}
.navbar.demo-menu .navbar-toggler .navbar-toggler-icon {
    filter: saturate(0) brightness(0) invert(1);
}
.demo-menu .navbar-nav .nav-item .nav-link {
    padding: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    position: relative;
}
.demo-menu .navbar-nav .nav-item .nav-link.active {
    background-image: linear-gradient(to right, var(--danger-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.demo-menu .navbar-nav {
    gap: 30px;
}
.demo-menu .navbar-nav .nav-item .nav-link::after {
    content: "";
}

/* hero section */
.hero-section {
    background-image: url('../images/hero-bg2.png');
    background-color: var(--dark-color);
    padding: 120px 0 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-section .hero-title-badge {
    background-color: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 5px 16px;
    border-radius: 6px;
    color: #ffffff;
    margin-bottom: 16px;
    display: inline-block;
    font-size: 14px;
    box-shadow: inset 0px 0px 10px rgba(255, 255, 255, .2);
}
.hero-section .hero-title {
    font-size: 3.5rem;
    text-shadow: 2px 4px 4px rgba(28, 66, 112, 0.2);
    background-image: linear-gradient(45deg, #FEF001, #F00505, #FFCE03, #FF2C05, #FD9A01, #FD6104);
    color: transparent;
    -webkit-background-clip: text; /* Edge, Chrome */
    background-clip: text; /* Safari, FF */
    animation: gradientAnimation 8s linear infinite;
    animation-direction: alternate;
    background-size: 300% 100%;
}
@keyframes gradientAnimation {
    0% {
        background-position: 0;
    }
    to {
        background-position: 100%;
    }
}

/* Portfolio */
.portfolio-section .portfolio-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: rgba(167, 167, 167, 0.356);
    transform: scale(0);
    border-radius: var(--bs-border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    backdrop-filter: blur(6px);
}

.portfolio-section .filtering .filter-btn {
    cursor: pointer;
    margin: 0 2px 2px;
    padding: 3px 16px;
    color: #ffffff;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid transparent;
}
.portfolio-section .filtering .filter-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .20);
}
.portfolio-section .filtering .filter-btn.active {
    background-image: linear-gradient(45deg, var(--danger-color) 0%, var(--warning-color) 100%);
    background-color: transparent !important;
    border-color: var(--dark-color);
    color: #ffffff;
}
.portfolio-section .portfolio-wrapper .portfolio-image {
    border: 1px solid rgba(255, 255, 255, .3);
}
.portfolio-section .portfolio-icon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.5);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}
.portfolio-section .portfolio-icon>i {
    background-image: linear-gradient(45deg, var(--danger-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.portfolio-section .portfolio-image:hover .portfolio-overlay,
.portfolio-section .portfolio-image:hover .portfolio-icon  {
    opacity: 1;
    transform: scale(1);
}


.portfolio-section .social-icons {
    position: absolute;
    bottom: 65px;
}

.portfolio-section .social-icons .social-icon {
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: scale(0);
    transition: all 0.3s ease;
    position: relative;
}

/* Tooltip styles */
.portfolio-section .social-icons .social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-section .social-icons .social-icon a::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 5px 10px;
    background-color: rgba(7, 3, 2, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-bottom: 5px;
    pointer-events: none;
}

.portfolio-section .social-icons .social-icon a::after {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(7, 3, 2, 0.8) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}

.portfolio-section .social-icons .social-icon a:hover::before,
.portfolio-section .social-icons .social-icon a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.portfolio-section .social-icons .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.portfolio-section .social-icons .social-icon:nth-child(1) { transition-delay: 0s; }
.portfolio-section .social-icons .social-icon:nth-child(2) { transition-delay: 0.1s; }
.portfolio-section .social-icons .social-icon:nth-child(3) { transition-delay: 0.2s; }
.portfolio-section .social-icons .social-icon:nth-child(4) { transition-delay: 0.3s; }


.portfolio-section .social-icons .social-icon.show {
    transform: scale(1);
}

.portfolio-section .social-icons .social-icon .social-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    /* border-radius: 50%; */
}

.contact-form .form-label {
    margin-bottom: 6px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}
.contact-form .form-control {
    padding: 0.6rem 1.2rem 0.6rem 3.2rem;
    padding: 0.6rem 1.2rem 0.6rem 3.2rem;
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, .06);
    color: #ffffff;

}
.contact-form .form-control:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.4);
}
.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.contact-form  input:-webkit-autofill {
    /* background-color: rgba(255, 255, 255, .06) !important; */
    /* background-clip: content-box !important; */
    transition: background-color 0s 600000s, color 0s 600000s !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 50px rgba(255, 255, 255, .0) inset !important;
    border-color: rgba(255, 255, 255, .12);
}
.contact-form .input-with-icon {
    position: relative;
}
.contact-form .input-icon {
    position: absolute;
    top: 10px;
    left: 1.2rem;
    color: #ffffff;
}

/* Footer */
.footer {
    padding: 80px 0 0;
    background-color: rgba(255, 255, 255, .06);
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer .footer-tagline {
    padding: 18px 0;
    background-color: rgba(33, 37, 41, 0.03);
    backdrop-filter: blur(2px);
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer .footer-bg-img {
    background-image: url('/images/footer-map.svg');
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    filter: invert(1);
    opacity: 0.1;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80%;
    transform: translateY(-50%);
}
.footer-icons-list {
    display: flex;
}
.footer-icons-list .footer-icons {
    background-color: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #ffffff;
    font-size: 18px;
    height: 46px;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px 5px;
    border-radius: 8px;
    transition: all 0.5s ease-in-out;
}
.footer-icons-list .footer-icons>i {
    display: flex;
    transition: all 0.5s ease-in-out;
}
.footer-icons-list .footer-icons:hover {
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0px 0px 4px 4px rgba(64, 79, 201, 0.12);
    text-shadow: 2px 2px 2px rgba(64, 79, 201, 0.3);
}
.footer-icons-list .footer-icons:hover i {
    background-image: linear-gradient(45deg, var(--danger-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-links {
    display: grid;
}
.footer-links .footer-link {
    color: rgba(255, 255, 255, .75);
    margin: 6px 0px;
    position: relative;
    transition: all 0.5s ease-in-out;
}
.footer-links .footer-link::before {
    content: "";
    background-color: transparent;
    position: absolute;
    height: 2px;
    width: 0;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.5s ease-in-out;
}
.footer-links .footer-link:hover {
    color: #ffffff;
    padding-left: 20px;
}
.footer-links .footer-link:hover::before {
    width: 10px;
    background-image: linear-gradient(45deg, var(--danger-color) 0%, var(--warning-color) 100%);
    background-color: transparent !important;
}


/* Responsive */
@media (max-width: 1399.98px) {
    .hero-section .hero-title {
        font-size: 2.4rem;
    }
    .portfolio-section .social-icons {
        bottom: 30px;
    }
    .portfolio-section .social-icons .social-icon {
        width: 45px;
        height: 45px;
    }
    .portfolio-section .social-icons .social-icon .social-img{
        width: 35px;
        height: 35px;
     }
}

@media (max-width: 991.98px) {
    .navbar.demo-menu {
        padding: 10px 0;
        background-color: rgba(255, 255, 255, .10);
        backdrop-filter: blur(30px);
    }
    .demo-menu .navbar-nav {
        gap: 20px;
        margin: 20px 0 10px;
    }
    .portfolio-section .social-icons {
        bottom: 40px;
    }
    .portfolio-section .social-icons .social-icon {
        width: 40px;
        height: 40px;
    }
    .portfolio-section .social-icons .social-icon .social-img{
        width: 30px;
        height: 30px;
     }
   
}

@media (max-width: 768.98px) {
    .container-md {
        max-width: 90%;
    }
    .portfolio-section .social-icons {
        bottom: 20px;
    }
    .portfolio-section .social-icons .social-icon {
        width: 35px;
        height: 35px;
    }
       .portfolio-section .social-icons .social-icon .social-img{
        width: 25px;
        height: 25px;
     }
  
}

@media (max-width: 575.98px) {
    .portfolio-section .social-icons {
        bottom: 70px;
    }
    .portfolio-section .social-icons .social-icon  {
        width: 30px;
        height: 30px;
    }
     .portfolio-section .social-icons .social-icon .social-img{
        width: 25px;
        height: 25px;
     }
    
}
