:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00f2ff;
    --secondary-color: #111111;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease-out;
}

/* Noise overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9990;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.2rem;
    background: linear-gradient(to right, #fff, #a2f8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.logo-text:hover {
    background: linear-gradient(135deg, #00f2ff, #0072ff, #00f2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: metallic-shine 1.5s linear infinite;
    transform: scale(1.05);
}

@keyframes metallic-shine {
    to {
        background-position: 200% center;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001; /* Above mobile menu */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
}

@media (min-width: 969px) {
    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .logo {
        top: 0;
    }
    .nav-socials {
        position: absolute;
        top: 0.25rem;
        left: 0;
    }
    .nav-links {
        margin-top: 4rem;
        width: 100%;
        justify-content: center;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-socials a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.nav-socials a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

/* Layout */
.container {
    padding: 8rem 10%;
    position: relative;
}

.dark {
    background-color: var(--secondary-color);
}

.section-label {
    font-weight: 300;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    margin-bottom: 2rem;
    opacity: 0.5;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 4rem;
    line-height: 1.1;
    max-width: 900px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.text-block p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.6;
}

.gradient-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(80px);
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Hide default cursor globally */
html,
body,
a,
button,
[role="button"] {
    cursor: none !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s;
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-10px) scale(1.05);
        border-color: var(--accent-color);
        background: rgba(255, 255, 255, 0.05);
        z-index: 10;
    }
}

.service-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    font-size: 1rem;
    opacity: 0.6;
}

/* Equipment Showcase */
.equipment-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.equipment-showcase.text-only {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.equipment-showcase.text-only .equipment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    margin-top: 4rem;
}

.img-placeholder {
    aspect-ratio: 16/9;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 255, 0.05), transparent);
}

.equipment-list {
    list-style: none;
    margin-top: 3rem;
}

.equipment-list li {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-weight: 300;
}

.equipment-list li span {
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(5px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal-text {
    overflow: hidden;
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

/* Background Effect (Illumination) */
.mouse-illumination {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

/* Video Gallery */
.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    position: relative;
    transition: transform 0.4s;
    overflow: hidden;
    flex: 0 1 350px;
    width: 100%;
    cursor: none;
}

.video-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
}

.video-container {
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 9995;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 1rem;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.center-btn {
    display: flex;
    justify-content: center;
}

.btn-secondary {
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Footer & Buttons */
.contact-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-whatsapp {
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
}

.btn-whatsapp {
    border: 1px solid #25D366;
    color: #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.footer-image-container {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-image {
    max-width: 250px;
    height: auto;
}

/* 3D Metallic Logo Effect */
.main-logo-3d {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.2));
    transform-style: preserve-3d;
    cursor: none;
}

.main-logo-3d:hover {
    transform: perspective(1000px) rotateX(15deg) rotateY(-15deg) scale(1.1) translateZ(10px);
    filter: drop-shadow(0 15px 25px rgba(0, 242, 255, 0.6)) brightness(1.3) contrast(1.2);
}

.social-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.social-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-nav a:hover {
    color: var(--bg-color);
    background: var(--text-color);
    transform: translateY(-5px);
    border-color: var(--text-color);
}

.wa-icon {
    width: 20px;
    height: 20px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-5.5-2.8-23.2-8.5-44.2-27.2-16.4-14.6-27.4-32.7-30.7-38.2-3.2-5.6-.4-8.6 2.4-11.4 2.6-2.5 5.5-6.5 8.3-9.8 2.8-3.3 3.7-5.6 5.5-9.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 13.2 5.8 23.5 9.2 31.6 11.8 13.3 4.2 25.4 3.6 35 2.2 10.7-1.5 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") no-repeat center;
}

/* Responsive */
@media (max-width: 968px) {

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .scroll-indicator {
        position: static;
        transform: none;
        margin-top: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-socials {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .nav-socials a {
        margin-left: 0;
        padding: 0.5rem;
        font-size: 1rem;
    }

    .grid-2,
    .equipment-showcase,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-btns {
        flex-direction: column;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .container {
        padding: 6rem 5%;
    }
}

@media (max-width: 480px) {
    #main-nav {
        padding: 1rem 3%;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-socials {
        max-width: 120px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.team-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(0.2);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.team-role {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.team-info p {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 1.5rem;
    }
}

/* Reviews Section Carousel */
.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-header h2 {
    margin-bottom: 0;
}

.carousel-controls {
    display: flex;
    gap: 1rem;
}

.carousel-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.reviews-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    margin-top: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.review-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.review-image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 2px solid var(--accent-color);
}

.review-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-quote {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.review-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}