/* Dark Theme & Glassmorphism Reset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

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

body {
    background-color: #0a0a0c;
    color: #a0a0b0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text {
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    color: #ffb300;
    -webkit-text-fill-color: #ffb300;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 30px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
    font-weight: 500;
    color: #8a8a9a;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #ffb300;
    border-radius: 2px;
    box-shadow: 0 0 10px #ffb300;
}

.btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #ffb300;
    color: #0a0a0c;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.2);
}

.btn-primary:hover {
    background: #ffc133;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.3);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lucide-spin {
    animation: spin 1s linear infinite;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 160px;
    background: transparent;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    /* Dark gradient over image to match aesthetic */
    background: linear-gradient(90deg, #0a0a0c 0%, rgba(10, 10, 12, 0.3) 50%, transparent 100%),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    z-index: 0;
    opacity: 0.5;
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 55%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffb300;
    margin-bottom: 24px;
}

.hero-badge.orange {
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    color: #ffb300;
}

.hero-badge.purple {
    background: rgba(142, 94, 255, 0.15);
    border: 1px solid rgba(142, 94, 255, 0.3);
    color: #b08dff;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.badge-dot.yellow {
    background: #ffb300;
    box-shadow: 0 0 8px #ffb300;
}

.badge-dot.cyan {
    background: #00e5ff;
    box-shadow: 0 0 8px #00e5ff;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #ff6a00, #ffb300);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: #f4f4fa;
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Features Banner */
.features-banner {
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.features-banner .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 179, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-orange {
    color: #ff6a00;
}

.icon-yellow {
    color: #ffb300;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.9rem;
    color: #8a8a9a;
}

/* Section Common */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6a00, #ffb300);
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 35, 0.6);
    border-color: rgba(255, 179, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 106, 0, 0.05);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #111;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.6) contrast(1.1);
}

.service-card:hover .service-img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.service-content {
    padding: 25px;
}

.service-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255, 179, 0, 0.1);
    color: #ffb300;
    border: 1px solid rgba(255, 179, 0, 0.2);
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.service-content p {
    font-size: 0.9rem;
    color: #8a8a9a;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-details {
    color: #ffb300;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.service-card:hover .view-details {
    gap: 12px;
}

.services-action {
    text-align: center;
    margin-top: 50px;
}

/* Contact Details Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-container {
    background: rgba(20, 20, 25, 0.4);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form-group label {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-card {
    background: rgba(20, 20, 25, 0.4);
    padding: 30px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.contact-card:hover {
    background: rgba(30, 30, 35, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-card .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    border-radius: 50%;
}

.contact-card h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: #8a8a9a;
}

/* Modal / Callback Page Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 106, 0, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 106, 0, 0.2);
    color: #ffb300;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6a00, #ffb300);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.modal-title {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.modal-body {
    color: #a0a0b0;
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-market {
    text-align: left;
}

.price-market p {
    font-size: 0.85rem;
    color: #8a8a9a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-market h3 {
    font-size: 1.5rem;
    color: #ff6a00;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-offer {
    text-align: right;
}

.price-offer p {
    font-size: 0.85rem;
    color: #ffb300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.price-offer h3 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 800;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Forms & Inputs */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #ffb300;
    box-shadow: 0 0 10px rgba(255, 179, 0, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #a0a0b0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: rgba(10, 10, 12, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #8a8a9a;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6a6a7a;
    transition: color 0.3s;
}

.mobile-nav a.active {
    color: #ffb300;
}

.mobile-nav a svg {
    width: 22px;
    height: 22px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        max-width: 65%;
    }

    .features-banner .container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header .btn {
        display: none;
    }

    .hero {
        padding: 60px 0 100px;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.15;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero p {
        margin: 0 auto 30px;
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        justify-content: center;
    }

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

    .service-card {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav {
        display: block;
    }

    .footer {
        margin-bottom: 70px;
    }

    .pricing-box {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .price-offer {
        text-align: left;
    }
}

/* True 3D Showcase (Responsive Cuboid) */
.cube-wrapper {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 40px auto;
}

.cube-container {
    perspective: 1500px;
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cube-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffb300;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.cube-nav-btn:hover {
    background: #ffb300;
    color: #000;
}

#cubePrev {
    left: -60px;
}

#cubeNext {
    right: -60px;
}

@media (max-width: 768px) {
    #cubePrev {
        left: 10px;
    }

    #cubeNext {
        right: 10px;
    }
    
    .cube-container {
        width: 85%;
        margin: 0 auto;
    }
}

.cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5) inset, 0 0 20px rgba(255, 179, 0, 0.2);
}


.work-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20,20,25,1) 0%, rgba(30,30,40,1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    pointer-events: none;
}

.work-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.work-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   SKELETON LOADERS
   ========================================== */
.skeleton {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 4%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.05) 36%);
    background-size: 1000px 100%;
}

.skeleton-img {
    background-color: rgba(255, 255, 255, 0.05);
}