/* 
    Company Name:Felgun Design
    Description: IT Services and Solutions
    Author: Felgun Design
    Email: felgun.design01@gmail.com
    Phone: 
*/


:root {
    --primary-color: #404fc9;
    --success-color: #18b599;
    --danger-color: #ff4572;
    --warning-color: #dfbf16;
    --light-color: #fafafd;
    --info-color: #12bedd;
    --muted-color: #627387;
    --dark-color: #353156;
  }
body {
    font-family: "Jost", sans-serif;
    font-size: 1.1rem;
}
.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-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0px 5px 8px rgba(28, 66, 112, 0.25);
    transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
    transform: translateY(-4px);
    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: #e8ecf1;
    border-radius: 10px;
}
.card .card-body {
    padding: 24px;
}
.card.card-hover-effect::before {
    content: "";
    background-color: rgba(64, 79, 201, 0.1);
    height: 20px;
    width: 20px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}
.card.card-hover-effect:hover::before {
    background-color: var(--primary-color);
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
}
.card.card-hover-effect:hover .icon-shape {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    color: #ffffff;
}
.card.card-hover-effect:hover .wc-card-title,
.card.card-hover-effect:hover .wc-card-subtitle {
    transition: all 0.5s ease-in-out;
}
.card.card-hover-effect:hover .wc-card-title {
    color: #ffffff;
}
.card.card-hover-effect:hover .wc-card-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}
.card.card-hover-effect .card-body {
    position: relative;
}
.section {
    padding: 80px 0;
}

/* 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(64, 79, 201, 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(64, 79, 201, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    color: var(--primary-color);
    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;
}

/* 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;
}
.demo-menu .navbar-nav .nav-item .nav-link {
    padding: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--muted-color);
    position: relative;
}
.demo-menu .navbar-nav .nav-item .nav-link.active {
    color: var(--dark-color);
}
.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-bg.png');
    background-color: var(--light-color);
    padding: 120px 0 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.hero-section .hero-title {
    font-size: 3.2rem;
    text-shadow: 2px 4px 4px rgba(28, 66, 112, 0.2);
}

/* Portfolio */
.portfolio-section .portfolio-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: rgba(28, 66, 112, 0.4);
    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;;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid transparent;
}
.portfolio-section .filtering .filter-btn:hover {
    background: #e9e9f1;
    border-color: #dadae3;
}
.portfolio-section .filtering .filter-btn.active {
    background: rgba(64, 79, 201, 0.15);
    border-color: rgba(64, 79, 201, 0.18);
    color: var(--primary-color);
}
.portfolio-section .portfolio-icon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(3);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.portfolio-section .portfolio-image:hover .portfolio-overlay,
.portfolio-section .portfolio-image:hover .portfolio-icon  {
    opacity: 1;
    transform: scale(1);
}

/* contact form */
.contact-form .form-label {
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--dark-color);
}
.contact-form .form-control {
    padding: 0.6rem 1.2rem 0.6rem 3.2rem;
}
.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
.contact-form .form-control::placeholder {
    color: #aab7c7;
}
.contact-form  input:-webkit-autofill {
    background-color: #ffffff !important;
    background-clip: content-box !important;
    transition: background-color 0s 600000s, color 0s 600000s !important;
    -webkit-text-fill-color: var(--dark-color) !important;
    -webkit-box-shadow: 0 0 0px 50px #ffffff inset !important;
}
.contact-form .input-with-icon {
    position: relative;
}
.contact-form .input-icon {
    position: absolute;
    top: 10px;
    left: 1.2rem;
    color: var(--dark-color);
}

/* Footer */
.footer {
    padding: 80px 0 0;
}
.footer .footer-tagline {
    padding: 18px 0;
    background-color: rgba(33, 37, 41, 0.03);
    backdrop-filter: blur(2px);
    margin-top: 40px;
}
.footer .footer-bg-img {
    background-image: url('/images/footer-map.svg');
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.07;
    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: #e9e9f1;
    border: 1px solid #dadae3;
    color: #212529;
    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;
}
.footer-icons-list .footer-icons:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: rgba(64, 79, 201, 0.6);
    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-links {
    display: grid;
}
.footer-links .footer-link {
    color: var(--muted-color);
    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: var(--primary-color);
    padding-left: 20px;
}
.footer-links .footer-link:hover::before {
    width: 10px;
    background-color: var(--primary-color);
}


/* Responsive */
@media (max-width: 1399.98px) {
    .hero-section .hero-title {
        font-size: 2.4rem;
    }
}
@media (max-width: 991.98px) {
    .navbar.demo-menu {
        background-color: #ffffff;
        padding: 10px 0;
    }
    .demo-menu .navbar-nav {
        gap: 20px;
        margin: 20px 0 10px;
    }
}
@media (max-width: 768.98px) {
    .container-md {
        max-width: 90%;
    }
}