:root {
    --bg-color: #030303;
    --bg-light: #0f0f13;
    --text-primary: #ffffff;
    --text-secondary: #8a8a93;
    --accent-1: #00F0FF;
    --accent-2: #5700FF;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --card-bg: rgba(25, 25, 30, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-1);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-secondary);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: opacity 0.4s ease;
    z-index: -1;
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(87, 0, 255, 0.3);
}

.btn-primary {
    background: var(--accent-gradient);
    border-color: transparent;
}

.btn-primary::before {
    opacity: 1;
}

.btn-primary:hover::before {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-media video,
.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    /* Slight opacity to make text readable */
    transform: scale(1.05);
    /* Avoid edges peeking */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.3) 0%, rgba(3, 3, 3, 1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
}

/* Brands / Partners Marquee */
.brands-section {
    padding: 4rem 0;
    background: #000;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.brands-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.brands-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.brands-content {
    display: inline-flex;
    gap: 4rem;
    align-items: center;
    animation: scroll-brands 30s linear infinite;
    padding: 0 2rem;
}

.brand-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%) brightness(200%);
    /* Make them white/gray */
    transition: all 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Detailed Services */
.detailed-service {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6rem;
    margin-bottom: 10rem;
}

.detailed-service-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-number {
    font-size: 10rem;
    font-weight: 900;
    font-family: var(--font-heading);
    position: absolute;
    top: -60px;
    left: -40px;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.detailed-service-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.detailed-service-content p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #c0c0c8;
    margin-bottom: 2.5rem;
}

.detailed-service-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    aspect-ratio: 1 / 1;
}

.detailed-service-image img,
.detailed-service-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.detailed-service:hover .detailed-service-image img,
.detailed-service:hover .detailed-service-image video {
    transform: scale(1.08);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(3, 3, 3, 0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 2.2rem;
    color: var(--accent-1);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transition: all 0.4s ease;
}

.detailed-service:hover .service-badge {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    border-color: var(--accent-1);
}

.service-features {
    list-style: none;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(0);
}

.service-features li:hover {
    background: rgba(87, 0, 255, 0.1);
    border-color: rgba(87, 0, 255, 0.3);
    transform: translateX(15px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-features li i {
    color: var(--accent-1);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Portfolio Gallery Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    background: linear-gradient(0deg, rgba(87, 0, 255, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    font-family: var(--font-heading);
    color: var(--accent-1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-title {
    font-size: 1.8rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-tag,
.portfolio-item:hover .portfolio-title {
    transform: translateY(0);
}

/* Infinity Line (Words) */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.marquee-word-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-secondary);
    margin: 0 2rem;
    text-transform: uppercase;
}

.marquee-item.filled {
    color: var(--text-primary);
    -webkit-text-stroke: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 10rem 2rem;
    background: radial-gradient(circle at center, rgba(87, 0, 255, 0.15) 0%, rgba(3, 3, 3, 1) 70%);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #000000;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    .detailed-service {
        flex-direction: column !important;
        gap: 3rem;
        margin-bottom: 6rem;
    }

    .detailed-service-image {
        order: -1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 5rem 0;
    }

    .marquee-item {
        font-size: 2.5rem;
        margin: 0 1rem;
    }

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: wa-pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: -2px;
    margin-left: 2px;
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(-5deg);
    background-color: #20b858;
    color: white;
    animation: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Instagram Floating Button */
.instagram-float {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.instagram-float i {
    margin-top: -2px;
}

.instagram-float:hover {
    transform: scale(1.12) rotate(5deg);
    color: white;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.5);
}