/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Technical Vector Background */
.hero-bg-tech {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 70, 127, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 85, 0, 0.03) 0%, transparent 50%),
        linear-gradient(rgba(0, 70, 127, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 70, 127, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    z-index: 0;
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--color-text-main);
    margin-bottom: 4rem;
    max-width: 700px;
    line-height: 1.9;
    font-weight: 450;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    gap: 40px;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Decorative Hero Vector Element */
.hero-illustration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

/* Services Section (Dashboard) */
.services-section {
    padding: var(--section-padding);
    background: #f9fafb;
    border-bottom: 1px solid var(--color-border);
}

.services-dashboard {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    margin-top: 4rem;
}

.service-tabs {
    background: #f1f3f5;
    padding: 2rem 0;
}

.tab-btn {
    padding: 2rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-smooth);
}

.tab-btn.active {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.02);
}

.service-content-area {
    padding: 5rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.data-row {
    padding: 1.5rem 0;
}

/* Expertise Section */
.expertise-section {
    padding: var(--section-padding);
}

.expertise-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.platform-item {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all var(--transition-smooth);
}

.platform-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

/* Floating Elements */
.floating-chat {
    bottom: 40px;
    right: 40px;
    padding: 18px 32px;
    border-radius: 8px;
    font-size: 1rem;
    background: var(--color-primary);
}

/* --- Home Page Mobile Overrides --- */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .trust-bar {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 3rem;
    }

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

    .service-tabs {
        display: flex;
        overflow-x: auto;
        padding: 0;
    }

    .tab-btn {
        padding: 1rem 1.5rem;
        white-space: nowrap;
        font-size: 0.85rem;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }

    .service-content-area {
        padding: 2rem;
    }

    .expertise-container {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .platform-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hero-illustration {
        display: none;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions a {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem !important;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .trust-bar {
        flex-direction: column;
        gap: 12px;
    }

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

    .tab-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.75rem;
    }

    .service-content-area {
        padding: 1.5rem;
    }
}