:root {
    --bg-dark: #0A0F1D;
    --bg-surface: #151B2E;
    --primary: #6C5CE7;
    --secondary: #00CEC9;
    --text-pure: #FFFFFF;
    --text-light: #DFE6E9;
    --text-muted: #828C93;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --surface-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(21, 27, 46, 0.6);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-pure);
}

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
}

.header {
    padding: 20px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 80%;
}

.header .logo a {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-pure);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.header .logo a:hover {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary);
}

.header .navbar-toggler {
    display: none;
    background: none;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;

}

.header .navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--bg-surface);
    position: relative;
    transition: all 0.3s ease;
}

.header .navbar-toggler-icon::before,
.header .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--bg-surface);
    left: 0;
    transition: all 0.3s ease;
}

.header .navbar-toggler-icon::before {
    top: -8px;
}

.header .navbar-toggler-icon::after {
    top: 8px;
}

.header .nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header .nav ul li {
    margin-left: 1rem;
}

.header .nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.header .nav ul li a:hover {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary);
}

.hero {
    background-image: linear-gradient(rgba(10, 15, 29, 0.85), rgba(10, 15, 29, 0.85)), url(./images/images.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .hero-content {
    text-align: center;
    color: var(--text-pure);
}

.hero .hero-content h5 {
    font-size: 5rem;
    font-weight: 600;
}

.hero .hero-content h1 {
    font-size: 4.5rem;
    font-weight: 200;
}

.hero .hero-content h1::after {
    content: "|";
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero .hero-content .home-icon {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero .hero-content .home-icon a {
    color: var(--text-pure);
    font-size: 1.5rem;
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.hero .hero-content .home-icon a:hover {
    background-color: var(--text-pure);
}



/* about */
.about {
    padding: 20px;
    color: var(--text-pure);
    margin: 6rem 0;
}

.about .about-content {
    display: flex;
    margin: 0 auto;
    width: 80%;
    gap: 2rem;
}

.about .about-content .about-image {
    width: 40%;
}

.about .about-content .about-text {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.about .about-content .about-text h2 {
    font-size: 3.5rem;
    font-weight: 600;
}

.about .about-content .about-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.about .about-content .about-text .about-skills {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: rgb(255, 255, 255);
}

.about .about-content .about-text .about-skills .skill {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: rgb(255, 255, 255);
}

.about .about-content .about-text .about-skills .skill .skill-bar {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15) inset;
}

.about .about-content .about-text .about-skills .skill .skill-bar .skill-bar-fill {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    gap: .5rem;
    color: rgb(0, 0, 0);
    background-color: var(--text-pure);
    border-radius: 10px;
}

.skill-bar-fill-1 {
    width: 95%;
}

.skill-bar-fill-2 {
    width: 80%;
}

.skill-bar-fill-3 {
    width: 90%;
}

.about .about-content .about-text .about-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.about .about-content .about-text .about-buttons a {
    color: var(--text-pure);
    font-size: 1.5rem;
    width: 30%;
    padding: 10px;
    height: 4rem;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.about .about-content .about-text .about-buttons .btn-cv {
    background: var(--gradient);
}

.about .about-content .about-text .about-buttons .btn-contact {
    background-color: var(--bg-surface);
    color: var(--text-pure);
}

.about .about-content .about-text .about-buttons .btn-cv:hover {
    background-color: var(--bg-surface);
    color: var(--text-pure);
}


.about .about-content .about-text .about-buttons .btn-contact:hover {
    background: var(--gradient);
    color: var(--text-pure);
}

/* services */
.services {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.services .services-content {
    width: 80%;
    margin: 0 auto;
}

.services .services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services .services-header h2 {
    font-size: 3rem;
    font-weight: 800;
    padding-bottom: 20px;
}



.services .services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services .service-card {
    background-color: var(--bg-surface);
    padding: 40px 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

.services .service-card:hover {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.services .service-card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.7rem;
    transition: all 0.3s ease;
}

.services .service-card:hover .service-card-icon {
    background-color: var(--text-pure);
    color: var(--text-pure);
}

.services .service-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.services .service-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* works */
.portfolio {
    padding: 6rem 0;
}

.portfolio .portfolio-content {
    width: 80%;
    margin: 0 auto;
}

.portfolio h3 {
    font-size: 3rem;
    font-weight: 800;
    padding-bottom: 20px;
    text-align: center;
}

.portfolio .nav-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.portfolio .nav-pills .nav-item {
    padding: 10px 20px;

}

.portfolio .nav-pills .nav-link {
    color: var(--text-pure);
    font-size: 1.0rem;
    font-weight: 800;
    border: none;
    background-color: transparent;
}

.portfolio .nav-pills .nav-link.active {
    border-bottom: 2px solid var(--primary);
    color: var(--secondary) !important;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio .portfolio-img-container {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio .portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.portfolio .portfolio-img .img-box {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.over-lay {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    width: 90%;
    height: 90%;
    background-color: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease-in-out;
}

.portfolio-img:hover .over-lay {
    transform: scale(1);
    opacity: 1;
}

.over-lay h2 {
    color: var(--text-pure);
    font-size: 1.0rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.over-lay .item-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.over-lay .item-icon .portfolio-icon {
    border-radius: 50%;
    background: var(--gradient);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.over-lay .item-icon .portfolio-icon i {
    color: var(--text-pure);
    font-size: 1.0rem;
}

/* clients */
#clients {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.clients-header {
    font-size: 3rem;
    font-weight: 800;
    padding-bottom: 20px;
    text-align: center;
}

.clients-content {
    width: 80%;
    margin: 0 auto;
}

.clients-content .carousel-item {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clients-content .carousel-item.active {
    display: flex;
    animation: slide 0.8s ease-in-out;
}

.carousel-item .img-box {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.clients-content .carousel-item .img-box img {
    object-fit: cover;
    border-radius: 50%;
}

.clients-content .carousel-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.clients-content .carousel-item h6 {
    font-size: 1.0rem;
    color: var(--text-pure);
    font-weight: 600;
}

.clients-content .carousel-item span {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 15px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--text-pure);
    width: 25px;
    border-radius: 5px;
}

@keyframes slide {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }

}


/* fluid */
.fluid {
    padding: 1rem 0;
    background-color: var(--bg-surface);
    overflow: hidden;
}

.container-fluid {
    display: flex;
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.fluid-item {
    padding: 1rem 0;
    overflow: hidden;
}

.fluid-item i {
    font-size: 3rem;
    color: var(--text-pure);
    margin-bottom: 1rem;
}

.fluid-item span {
    font-size: 30px;
    font-weight: 900;
    display: block;
}

.fluid-item p {
    color: var(--text-muted);
    font-weight: 600;
}


/* teams */
#team {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.team-container {
    width: 80%;
    margin: 0 auto;
}

.team-container h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 7rem;
    margin-top: 3rem;
    text-align: center;
}

.teams {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.team-card .team-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-card .team-img img {
    width: 100%;
    display: block;
    transition: 0.5s all;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-pure);
    background: var(--bg-surface);
    border: 1px solid var(--surface-border);
    width: 100%;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.team-card .team-img .over-lay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(108, 92, 231, 0.8);
    transition: 0.5s ease;
    text-align: center;
    opacity: 0;
    transform: rotateY(180deg) scale(0.5, 0.5);
}

.team-card:hover .team-img .over-lay {
    opacity: 1;
    transform: rotateY(0deg) scale(1, 1);
}

.team-card .team-img .over-lay .social-icons {
    display: flex;
    gap: 10px;
}

.team-card .team-img .over-lay .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-pure);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.team-card .team-img .over-lay .social-icons a:hover {
    background-color: var(--bg-surface);
    color: var(--text-pure);
    border: 1px solid var(--secondary);
}

/* Contact Section */
#Contact {
    padding: 6rem 0;
}

.contact-container {
    width: 80%;
    margin: 0 auto;
}

.contact-container h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5rem;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.contact-info .info-item {
    flex: 1;
    text-align: center;
}

.contact-info .info-item .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 25px;
    transition: all 0.5s;
}

.contact-info .info-item:hover .icon {
    background: var(--bg-surface);
    color: var(--text-pure);
}

.contact-info .info-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info .info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-row {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form .form-row input {
    flex: 1;
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    width: fit-content;
    padding: 10px 40px;
    background: var(--bg-surface);
    color: var(--text-pure);
    border: 1px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.5s;
}

.contact-form button:hover {
    background-color: transparent;
    color: var(--text-pure);
}

/* Footer */
.footer {
    padding: 30px 0;
    background: var(--bg-surface);
    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header .header-content {
        width: 90%;
    }

    .header .navbar-toggler {
        display: block;
    }

    .header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(33, 37, 41, 0.9);
        height: 0;
        overflow: hidden;
    }

    .header .nav.show {
        height: auto;
        padding: 20px 0;
    }

    .header .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .about .about-content {
        width: 95%;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .about .about-content .about-image,
    .about .about-content .about-text {
        width: 100%;
    }

    .about .about-content .about-text h2 {
        font-size: 2.5rem;
    }

    .about .about-content .about-text .about-buttons a {
        width: 100%;
        padding: 10px 30px;
    }

    .services .services-content {
        width: 90%;
    }

    .services .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio .portfolio-img-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .teams {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero .hero-content h5 {
        font-size: 3rem;
    }

    .hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .about .about-content .about-text .about-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .about .about-content .about-text .about-buttons a {
        width: 100%;
    }

    .services .services-cards {
        grid-template-columns: 1fr;
    }

    .portfolio .portfolio-img-container {
        grid-template-columns: 1fr;
    }

    .teams {
        grid-template-columns: 1fr;
    }

    .container-fluid {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .clients-content {
        width: 100%;
    }

    .team-container h3,
    .contact-container h3,
    #clients .clients-header h3,
    #works h3,
    .services-header h2 {
        font-size: 2.5rem !important;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
}

/* Enhance Images for Premium Look */
img {
    filter: saturate(1.2) contrast(1.1) brightness(0.9);
    border-radius: 8px;
    transition: all 0.4s ease;
    mix-blend-mode: hard-light;
}

img:hover {
    filter: saturate(1.5) contrast(1.2) brightness(1.1);
    mix-blend-mode: normal;
}

.portfolio-img img {
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}