/* service.css */
.banner-top{
    background-position: top;
}
/* Service Intro */
.service-intro {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.intro-img {
    flex: 1;
}

.intro-img img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Service Case Grid */
.service-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-info p {
    color: var(--text-muted);
}

/* Tabs Navigation Styling */
.product-tabs {
    margin-top: 40px;
}

.tabs-nav {
    display: inline-flex;
    gap: 10px;
    background: #f1f3f7;
    padding: 8px;
    border-radius: 50px;
    margin-bottom: 40px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.tab-link {
    padding: 12px 30px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

.tab-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
}

.tab-link.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(30, 42, 120, 0.2);
}

/* Remove old underline effect since we use pills now */
.tab-link.active::after {
    display: none;
}

.tab-content {
    padding: 10px 0;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

@media (max-width: 992px) {
    .service-intro {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .service-case-grid {
        grid-template-columns: 1fr;
    }
}

/* Warranty Card Styling */
.warranty-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.warranty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.warranty-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.warranty-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.warranty-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.warranty-card p:last-child {
    margin-bottom: 0;
}

.warranty-card a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}
.warranty-card a:hover {
    text-decoration: none;
}
