html {
    scroll-behavior: smooth;
}

/* Variables */
:root {
    --primary-gold: rgb(150, 95, 37);
    --primary-gold-heavy-transparent: rgba(150, 95, 37, 0.1);
    --primary-gold-light-transparent: rgba(150, 95, 37, 0.3);
    --secondary-gold: rgb(235, 215, 135);

    --lighter-gray: rgb(170, 170, 170);
    --light-gray: rgb(63, 73, 84);
    --light-gray-transparent: rgba(63, 73, 84, 0.2);
    --dark-gray: rgb(40, 40, 40);
    --dark-gray-transparent: rgba(40, 40, 40, 0.3);

    --light-green: rgb(35, 210, 100);

    --transparent-black: rgba(0, 0, 0, 0.6);
}

.title {
    background: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100%;
    width: 100%;
    background-color: var(--light-gray);
    color: white;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

img,
iframe,
video {
    user-select: none;
}

/* Hero */
#hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero video {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 90vh;
    object-fit: cover;
}

#hero .content {
    max-width: 90%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

#hero .text {
    z-index: 1;
}

#hero .text .title-container,
#hero .text p {
    display: block;
    width: fit-content;
    background-color: var(--transparent-black);
    padding: 20px;
    border-radius: 25px;
}

#hero .text h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: bold;
}

#hero .text p {
    font-size: 1rem;
    margin-top: 20px;
}

@media (max-width: 900px) {
    #hero .content {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp icon */
.whatsapp {
    position: fixed;
    bottom: 20;
    right: 20;
    background-color: var(--transparent-black);
    padding: 20px;
    font-size: 50px;
    color: var(--light-green);
    transition:
        transform 0.2s ease-in-out,
        opacity 0.2s ease-in-out,
        background-color 0.2s ease-in-out,
        color 0.2s ease-in-out;
    border-radius: 10px;
    opacity: 0;
}

.whatsapp i {
    transition: transform 0.2s ease-in-out;
}

.whatsapp.active {
    opacity: 1;
}

.whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--light-green);
    color: white;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    z-index: 99999999;
    transition: visibility 0.5s ease-in-out;
}

.loader.hide {
    visibility: hidden;
}

.loader::after {
    content: "";

    width: 50px;
    height: 50px;

    border-radius: 50%;
    border: 7px solid white;
    border-top-color: var(--secondary-gold);

    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-gold), var(--secondary-gold));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-gold), var(--primary-gold));
}

::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 10px;
    background-color: transparent;
    background-image:
        linear-gradient(135deg, transparent 50%, var(--primary-gold) 50%),
        linear-gradient(225deg, transparent 50%, var(--primary-gold) 50%);
    background-position: left, right;
    background-size: 50% 100%;
    background-repeat: no-repeat;
}

::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 10px;
    background-color: transparent;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary-gold) 50%),
        linear-gradient(315deg, transparent 50%, var(--primary-gold) 50%);
    background-position: left, right;
    background-size: 50% 100%;
    background-repeat: no-repeat;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark-gray);
    z-index: 2;
    padding: 40px;
    transition: padding 0.2s ease-in-out;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
}

header.scrolled {
    padding: 20px;
    box-shadow: 0 0 10px var(--secondary-gold);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--lighter-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

header .logo:hover {
    color: white;
}

header .logo img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

header nav {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

header .menu a {
    color: var(--lighter-gray);
    text-decoration: none;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    text-transform: uppercase;
    font-weight: bold;
}

header .menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-gold-heavy-transparent) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

header .menu a:hover,
header .menu a.active {
    color: white;
    background: linear-gradient(135deg,
            rgba(243, 156, 18, 0.08) 0%,
            rgba(243, 156, 18, 0.03) 100%);
    border-color: var(--primary-gold-light-transparent);
}

header .menu a:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

header .menu a.active {
    background: rgba(243, 156, 18, 0.1);
    border-color: rgba(243, 156, 18, 0.25);
}

/* Mobile Menu */
header .toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

header .toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background: var(--dark-gray);
        width: 100%;
        text-align: center;
        transition: all 0.2s ease-in-out;
        padding: 30px;
        border-top: 1px solid;
        border-bottom: 1px solid;
        border-image: linear-gradient(90deg,
                var(--primary-gold) 0%,
                var(--secondary-gold) 50%,
                var(--primary-gold) 100%) 1;
    }

    header .menu.active {
        left: 0;
    }

    .menu a {
        display: block;
    }

    header .toggle {
        display: flex;
    }

    .toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Contact */
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    width: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
}

#contact h1 {
    margin-bottom: 50px;
    text-align: center;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: bold;
    position: relative;
}

#contact h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    box-shadow: 0 0 20px var(--primary-gold);
    border-radius: 5px;
}

#contact form {
    width: 50%;
    max-width: 600px;
    padding: 50px;
    border: 1px solid transparent;
    border-radius: 25px;
    background:
        linear-gradient(var(--light-gray), var(--light-gray)) padding-box,
        linear-gradient(90deg,
            var(--primary-gold),
            var(--secondary-gold),
            var(--primary-gold)) border-box;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

#contact.visible form {
    opacity: 1;
    transform: translateY(0);
}

#contact form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#contact form label {
    margin-bottom: 10px;
    font-weight: bold;
}

#contact form input,
#contact form textarea {
    color: white;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
    background-color: var(--dark-gray-transparent);
    transition: box-shadow 0.2s ease-in-out;
}

#contact form .form-group input:focus,
#contact form .form-group textarea:focus {
    outline: none;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
    box-shadow: 0 0 5px var(--secondary-gold);
    background-color: var(--light-gray-transparent);
}

#contact form .form-group textarea {
    min-height: 150px;
    resize: none;
}

#contact form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease-in-out;
    color: black;
    background: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%);
    text-transform: uppercase;
    font-weight: bold;
}

#contact form button:hover {
    box-shadow: 0 0 7px var(--secondary-gold);
}

@media (max-width: 900px) {
    #contact {
        padding: 100px 20px 100px 20px;
    }

    #contact form {
        width: 100%;
    }
}

/* Footer */
footer {
    background: var(--dark-gray);
    padding: 20px;
    text-align: center;
    border-top: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
}

footer .wrapper {
    text-align: left;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

footer a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: var(--secondary-gold);
    text-shadow: 0 0 5px var(--secondary-gold);
}

footer img {
    height: 200px;
    transition: transform 0.2s ease-in-out;
}

footer img:hover {
    transform: translateY(-5px) scale(1.1);
}

footer .files a:not(:first-child)::before {
    content: "|";
    padding-right: 5px;
    color: var(--primary-gold);
}

footer .middle {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

footer .middle .info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

footer .middle .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(0deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%);
    border-radius: 50%;
    font-size: larger;
    transition: transform 0.2s ease-in-out;
}

footer .middle .icon i {
    transition: transform 0.2s ease-in-out;
}

footer .middle .icon:hover {
    transform: translateY(-5px);

    background: linear-gradient(0deg,
            var(--primary-gold) 0%,
            color-mix(in srgb, var(--primary-gold) 75%, var(--secondary-gold) 25%) 30%,
            color-mix(in srgb, var(--primary-gold) 50%, var(--secondary-gold) 50%) 50%,
            color-mix(in srgb, var(--primary-gold) 75%, var(--secondary-gold) 25%) 70%,
            var(--primary-gold) 100%);
}

footer .bottom {
    padding: 20px;
    border-top: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
}

footer .bottom a {
    color: var(--secondary-gold);
}

@media (max-width: 900px) {

    footer .wrapper,
    footer .middle {
        flex-direction: column;
    }
}

/* Particles */
#particles {
    position: fixed;
    overflow: hidden;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 50vh;
    z-index: -1;
}

#particles span {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gold);
    animation: particle-float 20s infinite ease-in-out;
}

@keyframes particle-float {
    from {
        transform: translateY(110vh);
    }

    to {
        transform: translateY(-20vh);
    }
}

/* Waves */
#waves {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    z-index: -1;
}

#waves svg {
    width: 200%;
    height: 100%;
    animation: oceanMove 18s linear infinite;
}

#waves .back {
    fill: rgba(150, 95, 37, 0.12);
}

#waves .front {
    fill: rgba(235, 215, 135, 0.05);
    animation: waveRise 8s ease-in-out infinite;
}

@keyframes oceanMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes waveRise {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* About */
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    width: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
}

#about h1 {
    margin-bottom: 50px;
    text-align: center;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: bold;
    position: relative;
}

#about h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    box-shadow: 0 0 20px var(--primary-gold);
    border-radius: 5px;
}

#about .wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

#about.visible .wrapper {
    transform: translateY(0);
    opacity: 1;
}

#about .intro {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

#about .image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url('assets/footerLogo.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--glass-border);
}

#about .image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(118, 169, 250, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#about .image:hover::before {
    opacity: 1;
}

#about .image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 255, 255, 0.1) 90deg,
            transparent 180deg,
            rgba(255, 255, 255, 0.05) 270deg,
            transparent 360deg);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#about .text {
    flex: 1;
    min-width: 300px;
}

#about .text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

#about .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

#about .card {
    background: var(--dark-gray-transparent);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--secondary-gold);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

#about .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 100%);
    transition: left 0.6s ease;
}

#about .card:hover::before {
    left: 100%;
}

#about .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#about .card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    #about {
        padding: 100px 20px 100px 20px;
    }

    #about .image {
        width: 150px;
        height: 150px;
    }
}

/* Capabilities */
#capabilities {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    width: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
            overflow: hidden;
}

#capabilities h1 {
    margin-bottom: 100px;
    text-align: center;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: bold;
    position: relative;
}

#capabilities h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    box-shadow: 0 0 20px var(--primary-gold);
    border-radius: 5px;
}

#capabilities .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
    align-items: center;
}

#capabilities .wheel {
    position: relative;
    width: 400px;
    height: 400px;
    animation: rotate-slow 30s linear infinite;
    grid-column: 1;
    justify-self: end;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#capabilities.visible .wheel {
    opacity: 1;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#capabilities .skill {
    position: absolute;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: counter-rotate 30s linear infinite;
}

@keyframes counter-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

#capabilities .skill .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#capabilities .skill .name {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

#capabilities .skill:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: counter-rotate-1 30s linear infinite;
}

#capabilities .skill:nth-child(2) {
    top: 25%;
    right: 0;
    transform: translateX(50%) translateY(-50%);
    animation: counter-rotate-2 30s linear infinite;
}

#capabilities .skill:nth-child(3) {
    top: 75%;
    right: 0;
    transform: translateX(50%) translateY(-50%);
    animation: counter-rotate-3 30s linear infinite;
}

#capabilities .skill:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    animation: counter-rotate-4 30s linear infinite;
}

#capabilities .skill:nth-child(5) {
    top: 75%;
    left: 0;
    transform: translateX(-50%) translateY(-50%);
    animation: counter-rotate-5 30s linear infinite;
}

#capabilities .skill:nth-child(6) {
    top: 25%;
    left: 0;
    transform: translateX(-50%) translateY(-50%);
    animation: counter-rotate-6 30s linear infinite;
}

@keyframes counter-rotate-1 {
    from {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) translateY(-50%) rotate(-360deg);
    }
}

@keyframes counter-rotate-2 {
    from {
        transform: translateX(50%) translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateX(50%) translateY(-50%) rotate(-360deg);
    }
}

@keyframes counter-rotate-3 {
    from {
        transform: translateX(50%) translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateX(50%) translateY(-50%) rotate(-360deg);
    }
}

@keyframes counter-rotate-4 {
    from {
        transform: translateX(-50%) translateY(50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) translateY(50%) rotate(-360deg);
    }
}

@keyframes counter-rotate-5 {
    from {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) translateY(-50%) rotate(-360deg);
    }
}

@keyframes counter-rotate-6 {
    from {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) translateY(-50%) rotate(-360deg);
    }
}

#capabilities .center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 50px var(--accent-glow);
    z-index: 10;
}

#capabilities .list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    grid-column: 2;
    justify-self: start;
    transform: translateX(100px);
    opacity: 0;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

#capabilities.visible .list {
    transform: translateX(0);
    opacity: 1;
}

#capabilities .item {
    background: var(--light-gray);
    border: 1px solid var(--primary-gold);
    border-radius: 25px;
    transition: all 0.2s ease-in-out;
    padding: 20px;
}

#capabilities .item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--primary-gold);
    background: var(--dark-gray-transparent);
}

#capabilities .item h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

#capabilities .item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    #capabilities {
        padding: 100px 20px 100px 20px;
    }

    #capabilities .wrapper {
        grid-template-columns: 1fr;
    }

    #capabilities .wheel {
        justify-self: center;
        width: 200px;
        height: 200px;
    }

    #capabilities .list {
        grid-column: 1;
    }
}

/* Statistics */
.statistics {
    position: relative;
    text-align: center;
    padding: 100px 0 100px 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    gap: 50px;
    transition: all 1s ease;
    background-color: var(--dark-gray-transparent);
}

.statistics .column {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
}

.statistics .column span {
    color: white;
    transition: --num 7s;
    counter-set: num var(--num);
    font-size: 30px;
}

.statistics .column span[id]:after {
    content: counter(num) "+";
}

@property --num {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}

/* Portfolio */
#portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    width: 100%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg,
            var(--primary-gold) 0%,
            var(--secondary-gold) 50%,
            var(--primary-gold) 100%) 1;
    background-color: var(--dark-gray-transparent);
    overflow: hidden;
}

#portfolio h1 {
    margin-bottom: 50px;
    text-align: center;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: bold;
    position: relative;
}

#portfolio h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    box-shadow: 0 0 20px var(--primary-gold);
    border-radius: 5px;
}

#portfolio .wrapper {
    width: 100%;
    position: relative;
    padding: 40px 0 80px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

#portfolio.visible .wrapper {
    transform: translateY(0);
    opacity: 1;
}

#portfolio .container {
    width: 900px;
    max-width: 90vw;
    height: clamp(350px, 45vh, 500px);
    position: relative;
    transform-style: preserve-3d;
    margin: 0 auto;
    perspective: 1200px;
}

#portfolio .item {
    position: absolute;
    width: clamp(210px, 27vh, 300px);
    height: clamp(290px, 38vh, 420px);
    left: 50%;
    top: 50%;
    transform-origin: center center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

@media (min-height: 900px) {
    #portfolio .container {
        height: clamp(450px, 50vh, 550px);
    }

    #portfolio .item {
        width: clamp(280px, 30vh, 340px);
        height: clamp(390px, 42vh, 480px);
    }
}

@media (max-height: 768px) {
    #portfolio .container {
        height: clamp(300px, 42vh, 380px);
    }

    #portfolio .item {
        width: clamp(180px, 24vh, 240px);
        height: clamp(250px, 34vh, 320px);
    }
}

#portfolio .item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scaleY(-1) translateY(1px);
    opacity: 0.15;
    filter: blur(2px);
    mask: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 20%,
            rgba(0, 0, 0, 0.1) 40%,
            transparent 60%);
    -webkit-mask: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 20%,
            rgba(0, 0, 0, 0.1) 40%,
            transparent 60%);
    pointer-events: none;
}

#portfolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

#portfolio .item:hover img {
    transform: scale(1.05);
}

#portfolio .buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

#portfolio .buttons button {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(26, 26, 26, 0.8);
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

#portfolio .buttons button:hover {
    transform: scale(1.1);
}

#portfolio .indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

#portfolio .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(var(--primary-gold), var(--secondary-gold));
    cursor: pointer;
    transition: all 0.3s ease;
}

#portfolio .indicator.active {
    width: 30px;
    border-radius: 4px;
    background: linear-gradient(var(--primary-gold), var(--secondary-gold));
}