/* =========================================
   Interactive Technology Tabs Section
   ========================================= */
.tech-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.tech-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.tech-section .badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tech-section h2 {
    font-size: 42px;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 15px;
}

/* Tech Tabs Navigation */
.tech-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: sticky;
    top: 100px;
    background: #f8f9fa;
    padding: 20px 0;
    z-index: 100;
    border-radius: 12px;
}

.tech-btn {
    background: var(--white);
    border: 3px solid #e0e0e0;
    color: var(--secondary-color);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tech-btn::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.tech-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.25);
    background: #fff5f0;
}

.tech-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.tech-btn.active::after {
    transform: translateX(-50%) scale(1);
}

/* Tech Content Panes */
.tech-content {
    position: relative;
    min-height: 450px;
}

.tech-pane {
    display: none;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

.tech-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

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

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

/* Tech Details */
.tech-details {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-details h3 {
    font-size: 32px;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tech-details p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Tech Specs List */
.tech-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.tech-specs li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.tech-specs li i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Text Link */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.text-link:hover {
    gap: 12px;
}

.text-link i {
    font-size: 14px;
}

/* Tech Image */
.tech-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

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

.tech-pane:hover .tech-img img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .tech-pane.active {
        grid-template-columns: 1fr;
    }

    .tech-img {
        min-height: 300px;
        order: -1;
    }

    .tech-details {
        padding: 40px 30px;
    }

    .tech-details h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .tech-section h2 {
        font-size: 32px;
    }

    .tech-nav {
        flex-direction: column;
        gap: 10px;
    }

    .tech-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .tech-details {
        padding: 30px 20px;
    }

    .tech-details h3 {
        font-size: 24px;
    }

    .tech-details p {
        font-size: 14px;
    }

    .tech-img {
        min-height: 250px;
    }
}