/* Topbar Ticker */
.topbar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.topbar-track {
    display: inline-flex;
    animation: topbarScroll 25s linear infinite;
}

.topbar-track:hover {
    animation-play-state: paused;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.topbar-item i {
    font-size: 0.75rem;
    opacity: 0.85;
}

.topbar-separator {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    vertical-align: middle;
}

@keyframes topbarScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

:root {
    --primary: #0088ff;
    --secondary: #6600ff;
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --text-main: #020617;
    --text-dim: #334155;
    --accent: #ff007a;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass: rgba(15, 23, 42, 0.08);
    --glass-border: rgba(15, 23, 42, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --footer-bg: #f1f5f9;
    --input-bg: #ffffff;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    cursor: none !important;
    /* Hide default cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 60px 0;
}

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

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: none !important;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

/* Navigation */
nav {
    position: fixed;
    top: 35px;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--bg-dark);
    opacity: 0.95;
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.theme-toggle {
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: none !important;
    margin-left: 20px;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary);
    transform: rotate(15deg);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: none;
    /* Hidden on mobile */
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.7;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active-link {
    opacity: 1;
    color: var(--primary);
}

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

.menu-btn {
    display: block;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: none !important;
}

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

    .menu-btn {
        display: none;
    }
}

.nav-links .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: white;
    opacity: 1;
    animation: pulse 2s infinite;
}

.nav-links .btn-primary:hover,
.nav-links .btn-primary.active-link {
    color: #ffffff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.7));
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Services Section */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.marquee-track-left {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: marqueeLeft 35s linear infinite;
}
.marquee-track-left:hover {
    animation-play-state: paused;
}

.marquee-track-right {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: marqueeRight 40s linear infinite;
}
.marquee-track-right:hover {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

@keyframes marqueeRight {
    0% { transform: translateX(calc(-50% - 15px)); }
    100% { transform: translateX(0); }
}

.wcu-card {
    width: 320px;
    flex-shrink: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* Desktop Overrides */
@media (min-width: 768px) {
    .section-padding {
        padding: 100px 0;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .hero {
        text-align: left;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-btns {
        flex-direction: row;
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Contact Info Layout */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact-container {
        flex-direction: row;
        padding: 60px;
    }

    .about {
        display: flex;
        align-items: center;
        gap: 60px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    outline: none;
}

.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    outline: none;
    cursor: none !important;
}

footer {
    background: var(--footer-bg) !important;
    color: var(--text-main);
}

footer h4 {
    color: var(--text-main);
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.1);
}

.testimonial-card i.fa-quote-left {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.client-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-details p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: none !important;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    transition: var(--transition);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-dim);
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Chatbot FAB */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: none !important;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.4);
    transition: var(--transition);
}

.chat-fab:not(.chat-open):hover {
    transform: scale(1.1) rotate(15deg);
}

.chat-tooltip {
    position: absolute;
    right: 80px;
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    pointer-events: none;
    color: var(--text-main);
}

.chat-fab:not(.chat-open):hover .chat-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Chat Window */
.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--gradient-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chat-close {
    cursor: none !important;
    font-size: 1.2rem;
    opacity: 0.8;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--glass);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--glass-border);
}

.chat-message.user {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 10px 15px;
    border-radius: 50px;
    color: var(--text-main);
    outline: none;
}

.chat-footer button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-dark);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 136, 255, 0.1);
}

.premium-card {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.1);
}

.pricing-card h4 {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary);
}

/* Portfolio Hover */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}