


/* =========================================
Service Page Header
========================================= */
.service-header {
    text-align: center;
    margin-bottom: 50px;
}
.service-header h1,
.service-header h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
.service-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
Gig Directory Grid
========================================= */
.gig-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Individual Gig Card */
.gig-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gig-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
    border-color: #d1d5db; /* Slight border darken on hover */
}


/* Pro Verified Card Highlight */
.gig-card.pro-card {
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 128, 96, 0.05);
}
.pro-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Expert Profile Info */
.expert-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.expert-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-right: 15px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.expert-avatar img {
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--bg-secondary);
}
.expert-details h3,
.expert-details h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2px;
}
.expert-badge {
    font-size: 0.8rem;
    color: var(--text-light);
    background-color: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
}
.expert-badge.top-rated {
    color: #b4690e;
    background-color: #fdf3e7;
    font-weight: 600;
}

/* Gig Title & Meta */
.gig-title {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 600;
}
.gig-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.rating {
    display: flex;
    align-items: center;
    color: #ffb33e;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 8px;
}
.rating svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}
.reviews {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Gig Features Tags */
.gig-features {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}

.gig-features span {
    align-self: flex-start;
    height: auto;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-light);
    background-color: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Gig Footer CTA */
.gig-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}
.view-gig-btn {
    display: block;
    text-align: center;
    width: 100%;
    background-color: transparent;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--accent-color);
    padding: 10px 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.view-gig-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* =========================================
Desktop Layout (Media Queries)
========================================= */
@media (min-width: 768px) {
    .gig-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}


















/* =========================================
   FAQ Section (Accordion Style)
========================================= */
.faq-section {
    margin: 40px auto 0px auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Hide default marker for details */
.faq-item details > summary {
    list-style: none;
}
.faq-item details > summary::-webkit-details-marker {
    display: none;
}

.faq-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background-color: var(--bg-color);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--bg-secondary);
}

/* Custom Plus/Minus Icon */
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 15px;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}
.faq-icon::before {
    width: 14px;
    height: 2px;
}
.faq-icon::after {
    width: 2px;
    height: 14px;
}

/* When Accordion is Open */
.faq-item[open] .faq-question {
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-color);
}
.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 20px 25px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    background-color: #FAFAFA;
}




.gig-price {
    margin-left: auto;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.gig-note {
    max-width: 760px;
    margin: 30px auto 0;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-light);
}

.gig-note a {
    color: var(--accent-color);
    text-decoration: underline;
}
.gig-note a:hover {
    color: var(--accent-hover);
}

.gig-note a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}
.gig-note a:hover {
    text-decoration: underline;
}
