:root {
    --primary: #3b82f6; /* Electric Blue */
    --primary-dark: #1d4ed8;
    --secondary: #0f172a; /* Slate 900 */
    --accent: #06b6d4; /* Cyan */
    --dark-bg: #020617; /* Slate 950 */
    --card-bg: rgba(30, 41, 59, 0.7); /* Glassy Dark */
    --text: #e2e8f0; /* Slate 200 */
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(to right, #3b82f6, #06b6d4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.5);
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at top right, #1e293b 0%, #020617 100%);
}

.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03), transparent 70%);
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Animations - Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--accent);
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
}

.logo span {
    color: var(--accent);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #3b82f6, #06b6d4);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-outline {
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--white);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 110%;
    transform: rotate(-10deg) translateY(20px);
    filter: drop-shadow(0 0 50px rgba(59, 130, 246, 0.3));
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Glass Cards */
.section {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6);
    border-color: var(--primary);
}

.service-image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--card-bg), transparent);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-img {
    transform: scale(1.15) rotate(1deg);
}

.service-content {
    padding: 2rem;
    flex: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Us - Grid Layout */
.features-container {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 30px;
    border: var(--glass-border);
    padding: 4rem;
    backdrop-filter: blur(10px);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.check-icon {
    color: var(--accent);
    font-size: 1.25rem;
}

.trust-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.5;
}

/* CTA Section */
.cta {
    margin: 5% 5% 0;
    padding: 6rem 2rem;
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%);
    border-radius: 40px 40px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: var(--glass-border);
    border-left: var(--glass-border);
    border-right: var(--glass-border);
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: url('../images/bg-tech.png'); /* Reuse texture */
    opacity: 0.1;
    background-size: cover;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 5% 2rem;
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.footer-links i {
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 900px) {
    .navbar {
        padding: 1rem 5%;
        background: rgba(15, 23, 42, 0.95);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 8rem 5% 4rem;
        min-height: auto;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        text-align: center;
    }

    .features-grid, .footer-content, .services-grid {
        grid-template-columns: 1fr;
    }

    .features-container {
        padding: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image img {
        max-width: 100%;
        transform: none;
        margin-top: 2rem;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        color: var(--white);
        cursor: pointer;
    }

    .section {
        padding: 4rem 5%;
    }

    .cta {
        margin: 5% 0 0;
        border-radius: 30px 30px 0 0;
        padding: 4rem 1.5rem;
    }

    /* Adjust map height for mobile */
    #location iframe {
        height: 300px;
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Floating Chat */
.float-chat {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.float-chat:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

.my-float {
    margin-top: 1px;
}

.tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: rgba(15, 23, 42, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    right: 70px;
    top: 15px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.float-chat:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@keyframes 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);
    }
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.user-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.stars {
    color: #ffd700;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px; /* Adjust based on content */
}

/* Brand Marquee */
.marquee-section {
    padding: 2rem 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.brand-item:hover {
    opacity: 1;
    color: var(--white);
}

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

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.25rem;
    border-radius: 50px;
    margin-right: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-dark);
}

/* Quote Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

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

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
}

.form-input, .form-select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
}
