/* Services Page Styles */

:root {
    --isuzu-red: #E4002B;
    --isuzu-dark: #1a1a1a;
    --isuzu-black: #000000;
    --isuzu-gray: #666666;
    --isuzu-light-gray: #f8f8f8;
    --isuzu-white: #ffffff;
    --border-color: #e5e5e5;
    --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--isuzu-dark);
    line-height: 1.6;
    background: var(--isuzu-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}



/* ===============================================
   HERO 
   =============================================== */
.services-overlay {
    inset: 0;
    position: absolute;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 1em;

}

.page-hero {
    margin: 7em 1em 0 1em;
    border-radius: 1em;
    padding: 10rem 0 10rem;
    text-align: center;
    background: var(--isuzu-light-gray);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.page-hero .container {
    background-color: #00000050;
    width: fit-content;
    padding: 1.5em;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 500;
    color: var(--isuzu-red);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--isuzu-white);
}




/* ===============================================
   SERVICES INTRO
   =============================================== */
.services-intro {
    padding: 5rem 0;
    background: var(--isuzu-white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--isuzu-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.intro-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--isuzu-black);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.125rem;
    color: var(--isuzu-gray);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 4rem 0 6rem;
    background: var(--isuzu-light-gray);
    overflow: hidden;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: var(--isuzu-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.mobile-tab-selector {
    display: none;
    margin-bottom: 3rem;
}

.mobile-label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--isuzu-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-dropdown {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--isuzu-dark);
    background: var(--isuzu-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23E4002B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.category-dropdown:focus {
    outline: none;
    border-color: var(--isuzu-red);
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.1);
}

.category-dropdown:hover {
    border-color: var(--isuzu-red);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--isuzu-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn svg {
    width: 24px;
    height: 24px;
    color: var(--isuzu-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    background: var(--isuzu-light-gray);
    color: var(--isuzu-dark);
}

.tab-btn:hover svg {
    color: var(--isuzu-red);
    transform: scale(1.1) rotate(5deg);
}

.tab-btn.active {
    background: var(--isuzu-red);
    color: var(--isuzu-white);
    border-color: var(--isuzu-red);
}

.tab-btn.active svg {
    color: var(--isuzu-white);
    transform: scale(1.15) rotate(360deg);
}

/* Tab Content */
.tabs-content {
    position: relative;
}

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

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

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--isuzu-white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.service-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--isuzu-red);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    margin-top: 8px;
}

.service-item h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--isuzu-black);
    margin: 0;
}

.service-badge {
    flex-shrink: 0;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 4px;
    right: 4px;
}

.service-item:hover .service-badge {
    animation: pulse-badge 0.5s ease;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.service-badge.quick {
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 8px;
}

.service-badge.extended {
    background: #FFF3E0;
    color: #E65100;
    border-radius: 8px;
}

.service-item > p {
    font-size: 1rem;
    color: var(--isuzu-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--isuzu-gray);
    line-height: 1.6;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--isuzu-red);
    border-radius: 50%;
}

.service-cta {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--isuzu-red);
    color: var(--isuzu-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: #c00024;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(228, 0, 43, 0.3);
}

.service-cta:active {
    transform: translateY(0);
}

/* Service Process */
.service-process {
    padding: 6rem 0;
    background: var(--isuzu-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--isuzu-black);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--isuzu-gray);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--isuzu-red);
    color: var(--isuzu-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--isuzu-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--isuzu-red);
    position: relative;
    z-index: 1;
    border: 4px solid var(--isuzu-white);
}

.process-step h3 {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--isuzu-black);
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--isuzu-gray);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: var(--isuzu-light-gray);
    overflow: hidden;
}

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

.testimonial-card {
    background: var(--isuzu-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.testimonial-card:nth-child(1) {
    transform: translateX(-30px);
}

.testimonial-card:nth-child(2) {
    transform: translateY(30px);
}

.testimonial-card:nth-child(3) {
    transform: translateX(30px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--isuzu-red);
}

.quote-icon {
    color: var(--isuzu-red);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-card > p {
    font-size: 1.0625rem;
    color: var(--isuzu-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--isuzu-black);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--isuzu-gray);
}

/* FAQs */
.faq-section {
    padding: 6rem 0;
    background: var(--isuzu-white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--isuzu-light-gray);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--isuzu-red);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--isuzu-black);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--isuzu-red);
}

.faq-question svg {
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: var(--isuzu-gray);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--isuzu-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    color: var(--isuzu-gray);
    line-height: 1.7;
    animation: fadeInContent 0.4s ease 0.1s backwards;
}

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

/* Contact CTA */
.contact-cta {
    padding: 6rem 0;
    background: var(--isuzu-black);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--isuzu-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: var(--isuzu-red);
    color: var(--isuzu-white);
}

.cta-btn.primary:hover {
    background: #c00024;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 0, 43, 0.4);
}

.cta-btn.secondary {
    background: #25D366;
    color: var(--isuzu-white);
}

.cta-btn.secondary:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.cta-btn.outline {
    background: transparent;
    color: var(--isuzu-white);
    border-color: var(--isuzu-white);
}

.cta-btn.outline:hover {
    background: var(--isuzu-white);
    color: var(--isuzu-black);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-hero{
        margin-top: 6em;
    }

    .tabs-nav {
        gap: 0.75rem;
    }

    .tab-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .process-timeline::before {
        display: none;
    }
    
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero {
        padding: 6rem 8px 6rem;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

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

    /* Hide desktop tabs, show mobile dropdown */
    .tabs-nav.desktop-tabs {
        display: none;
    }

    .mobile-tab-selector {
        display: block;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .step-icon {
        width: 80px;
        height: 80px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .cta-content h2 {
        font-size: 1.875rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }
}