/* CSS Variables & Reset */
:root {
    --bg-dark: #050505;
    --bg-panel: #0a0a0a;
    --primary: #00f3ff;
    /* Cyan Neon */
    --secondary: #bd00ff;
    /* Purple Neon */
    --accent: #2d2d2d;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

.holographic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00d2ff);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.5);
    background: linear-gradient(135deg, #00d2ff, var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.header-logo-container img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-comm-buttons {
    display: flex;
    gap: 10px;
}

.header-comm-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
}

.header-comm-btn.call {
    color: var(--primary);
}

.header-comm-btn.whatsapp {
    color: #25D366;
}

.header-comm-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.header-comm-btn.call:hover {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.header-comm-btn.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.header-logo-container:hover img {
    transform: scale(1.1);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    border: 1px solid var(--primary);
    padding: 8px 22px;
    border-radius: 50px;
    color: var(--primary) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--primary);
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: 10px;
}

.lang-btn {
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s, text-shadow 0.3s;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.lang-divider {
    color: var(--glass-border);
    user-select: none;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10% 60px;
    /* Added top padding for fixed header */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.badge-ai {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 20px;
    letter-spacing: 2px;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

#hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Hero Visual - Sliding Images */
.hero-visual {
    position: relative;
    width: 550px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
}

.hero-image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(0, 162, 255, 0.05));
    /* Fallback */
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.logo-slide {
    object-fit: contain;
    padding: 30px;
    /* Reduced from 80px to make logo larger */
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(5, 5, 5, 1) 80%);
}

.slider-glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 243, 255, 0.03) 3px,
            transparent 4px);
    z-index: 2;
    pointer-events: none;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}


/* Mobile Nav Styles */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Features Strip */
#features-strip {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary);
}

/* Services */
#services {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About Section */
#about {
    padding: 100px 10%;
    background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 1));
}

.about-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.check-list i {
    color: var(--secondary);
}

/* Contact Section */
#contact {
    padding: 100px 10%;
    display: flex;
    justify-content: center;
}

.contact-wrapper {
    width: 100%;
    max-width: 600px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.full-width {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 50px 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background: var(--bg-panel);
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-bottom: 5px;
    color: var(--primary);
}

.footer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-location i {
    color: var(--primary);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .glass-header {
        padding: 15px 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    #hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .header-logo-container img {
        height: 40px;
    }

    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 300px;
    }

    .ai-core {
        transform: scale(0.8);
    }

    #features-strip {
        flex-direction: column;
        gap: 20px;
    }
}

/* Dynamic Service Details */
.service-details-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    opacity: 0;
    margin-top: 20px;
}

.service-details-container.active {
    max-height: 1000px;
    /* Adjust as needed */
    opacity: 1;
    margin-top: 40px;
}

.service-detail-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Carousel Styles */
.detail-image-carousel {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15);
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.4s ease;
}

.carousel-indicator.active {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
    transform: scale(1.2);
}

.detail-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.detail-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.detail-features {
    list-style: none;
    margin-bottom: 30px;
}

.detail-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main);
}

.detail-features li i {
    color: var(--secondary);
}

.detail-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.whatsapp-link {
    color: #25D366 !important;
    border-color: rgba(37, 211, 102, 0.4) !important;
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.1) !important;
    border-color: #25D366 !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.close-details-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
    margin-left: 10px;
}

.close-details-btn:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .service-detail-panel {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .detail-image {
        height: 250px;
    }
}