:root {
    --primary-color: #2126a9;
    --secondary-color: #00D1FF;
    --light-color: #0F0F0F;
    --dark-color: #FFFFFF;
    --grey-color: #161616;
    --text-color: #B0B0B0;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--light-color);
    position: relative;
    padding-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #1A1A1A;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122, 41, 255, 0.3);
}

.navbar {
    padding: 20px 0;
    background-color: var(--light-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    filter: invert(1);
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--primary-color);
}

.hero {
    padding: 60px 0;
    background: radial-gradient(circle 2000px at top right, rgba(0, 209, 255, 0.1), transparent 90%),
        radial-gradient(circle 2000px at top left, rgba(0, 58, 247, 0.267), transparent 40%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 16px;
    margin: 20px 0;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #1E1E1E;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.social-icons i {
    font-size: 20px;
    color: #8A8A8A;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.social-icons a:hover i {
    color: #FFFFFF;
}

.social-icons a.linkedin:hover {
    background-color: #0077b5;
}

.social-icons a.instagram:hover {
    background-color: #E4405F;
}

.social-icons a.whatsapp:hover {
    background-color: #25D366;
}

.social-icons a.email:hover {
    background-color: #EA4335;
}

.social-icons a.github:hover {
    background-color: #333333;
}

.hero-image img {
    max-width: 350px;
    border-radius: 50%;
}

.logo {
    display: inline-block;
    width: 120px;
    height: 50px;
    background-image: url("images/logo-black.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.specialization {
    padding: 80px 0;
}

.specialization .container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
}

.specialization-logos {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #1E1E1E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: floatAnimation 6s ease-in-out infinite;
}

.logo-item img {
    max-width: 35px;
}

#logo1 {
    top: 35px;
    left: 135px;
    width: 80px;
    height: 80px;
    animation-delay: -1s;
}

#logo1 img {
    max-width: 50px;
}

#logo2 {
    top: 105px;
    left: 255px;
    animation-delay: -5s;
}

#logo3 {
    top: 205px;
    left: 145px;
    animation-delay: -4s;
}

#logo4 {
    top: 105px;
    left: 35px;
    animation-delay: -3s;
}

#logo5 {
    top: 235px;
    left: 235px;
    animation-delay: -2s;
}

.specialize-card {
    background-color: #1E1E1E;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    transition: all 0.3s ease-in-out;
    transform: rotate(-3deg);
    position: relative;
    color: #FFF;
}

.specialize-card:nth-child(even) {
    transform: rotate(3deg);
}

.specialize-card:not(:first-child) {
    margin-top: 45px;
}

.specialize-card:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.03);
    z-index: 5;
    border-color: var(--primary-color);
}

.portfolio h2,
.reviews h2,
.faq h2 {
    text-align: center;
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 50px;
}

.portfolio {
    padding: 80px 0;
    background-color: var(--grey-color);
}

.portfolio-grid {
    display: grid;
    gap: 50px;
}

.portfolio-card {
    display: flex;
    align-items: center;
    border-radius: 25px;
    min-height: 400px;
    position: relative;
    padding: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-card .card-text {
    width: 45%;
    position: relative;
    z-index: 2;
}

.portfolio-card h3 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 25px;
}

.portfolio-card .btn-secondary {
    padding: 14px 32px;
    font-size: 16px;
}

.portfolio-card .card-image {
    position: absolute;
    width: 55%;
    height: 125%;
    top: 50%;
    right: -80px;
    transform: translateY(-50%) rotate(6deg);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.portfolio-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: top;
}

.portfolio-card:nth-child(even) {
    flex-direction: row-reverse;
}

.portfolio-card:nth-child(even) .card-image {
    left: -80px;
    right: auto;
    transform: translateY(-50%) rotate(-6deg);
}

.reviews {
    padding: 80px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 30px;
    border: 1px solid #333;
    border-radius: 15px;
    background-color: #1E1E1E;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: #FFF;
}

.review-card p {
    font-style: italic;
    margin-bottom: 25px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.reviewer h4 {
    color: var(--dark-color);
    font-weight: 600;
}

.reviewer span {
    font-size: 14px;
    color: var(--text-color);
}

.faq {
    padding: 80px 0;
    background-color: var(--grey-color);
}

.faq .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.faq-content {
    max-width: 400px;
}

.faq-content h2 {
    text-align: left;
    margin-bottom: 15px;
}

.accordion {
    width: 100%;
    max-width: 600px;
}

.accordion-item {
    border-bottom: 1px solid #333;
    background-color: #1E1E1E;
    margin-bottom: 10px;
    border-radius: 8px;
    padding: 0 15px;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 20px;
}

.footer {
    padding-top: 60px;
    padding-bottom: 100px;
    position: relative;
}

.footer-cta {
    padding: 50px;
    background-color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
}

.footer-cta h2 {
    font-size: 32px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 992px) {

    .hero .container,
    .faq .container,
    .specialization .container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .social-icons {
        justify-content: center;
    }

    .faq-content,
    .specialization-content {
        max-width: 100%;
    }

    .faq-content h2,
    .specialization-content h2 {
        text-align: center;
    }

    .portfolio-card {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 20px 180px 20px;
        overflow: hidden !important;
        position: relative;
        z-index: 1;
    }

    .portfolio-card .card-text {
        width: 100%;
        position: relative;
        z-index: 10;
    }

    .portfolio-card h3 {
        font-size: 28px;
        margin-bottom: 20px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .portfolio-card .card-image {
        position: absolute;
        width: 130%;
        height: 300px;
        top: auto;
        right: auto;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%) rotate(-8deg) !important;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
        z-index: 0;
        margin: 0;
        opacity: 0.95;
    }

    .portfolio-card .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .portfolio-card:nth-child(even) {
        flex-direction: column !important;
    }

    .portfolio-card:nth-child(even) .card-image {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) rotate(8deg) !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    .navbar {
        display: none;
    }

    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background: rgba(25, 25, 25, 0.85);
        backdrop-filter: blur(10px);
        padding: 12px 20px;
        border-radius: 50px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #888;
        font-size: 12px;
        transition: all 0.3s ease;
    }

    .nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
        transition: transform 0.3s ease;
    }

    .nav-item:hover,
    .nav-item.active {
        color: var(--secondary-color);
    }

    .nav-item:hover i {
        transform: translateY(-3px);
    }
}

.mobile-nav.docked {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 20px 20px 0 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #1E1E1E;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
    z-index: 999;
}