/* === SERVICE HERO SECTION === */
.service-hero {
    background: linear-gradient(180deg, #f0ede6 0%, var(--bg-color) 100%);
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
    text-align: center;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

.service-hero .hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    max-width: 800px;
    margin: 0 auto 1rem auto;
    line-height: 1.2;
}

.service-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* === SERVICE DETAIL SECTIONS (Original Layout) === */
.service-detail {
    /* Uses section--card style from style.css */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(58, 74, 93, 0.1);
}

.service-detail-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.service-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Added subtle shadow */
.service-content .section-title {
    margin-bottom: 0.5rem;
    text-align: left;
}



.service-content .subtitle {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.service-content p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-list.simple-list {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

/* Style for overview list */
.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.service-list li i {
    color: var(--primary-dark);
    font-size: 1rem;
}

.layout-reverse .service-image {
    order: 2;
}

.layout-reverse .service-content {
    order: 1;
}

/* Outline button style for service detail */
.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
}


/* === OUR TOOLS & EXPERTISE === */
/* Uses .section--card style */
.tech-stack-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-top: -2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.tech-item {
    background-color: var(--light-bg-inner);
    border-radius: 8px;
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 120px;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--card-bg-color);
}

.tech-item i {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Icon colors */
.tech-item .fa-wordpress {
    color: #21759B;
}

.tech-item .fa-shopping-cart {
    color: #7F54B3;
}

.tech-item .fa-html5 {
    color: #E34F26;
}

.tech-item .fa-css3-alt {
    color: #1572B6;
}

.tech-item .fa-js-square {
    color: #F7DF1E;
}

.tech-item .fa-bootstrap {
    color: #7952B3;
}

.tech-item .fa-wind {
    color: #38B2AC;
}

.tech-item .fa-react {
    color: #61DAFB;
}

.tech-item .fa-php {
    color: #777BB4;
}

.tech-item .fa-search-dollar {
    color: #28a745;
}

.tech-item .fa-chart-line {
    color: #007bff;
}

.tech-item .fa-palette {
    color: #DA6FF2;
}

.tech-item .fa-google {
    color: #4285F4;
}

.tech-item .fa-vector-square {
    color: #FF9A00;
}

/* Adobe Illustrator Orange */
.tech-item .fa-video {
    color: #FF0000;
}

/* Simple Video Red */


/* === NEW: SERVICE SPECTRUM === */
/* Uses .section--card style */
.spectrum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.spectrum-category {
    background-color: var(--light-bg-inner);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spectrum-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(58, 74, 93, 0.1);
}

.spectrum-icon {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    background-color: var(--card-bg-color);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spectrum-category h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.spectrum-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0.5rem;
}

.spectrum-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #444;
}

.spectrum-list li i {
    color: var(--secondary-muted);
    font-size: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Style Premium category differently */
.spectrum-category.premium {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: 1px solid var(--primary-dark);
}

.spectrum-category.premium .spectrum-icon {
    background-color: var(--bg-color);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.spectrum-category.premium h3 {
    color: var(--text-light);
}

.spectrum-category.premium .spectrum-list li {
    color: #eee;
}

.spectrum-category.premium .spectrum-list li i {
    color: var(--bg-color);
}


/* === DYNAMIC FAQ SECTION === */
/* Uses .section--card style */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-bg-inner);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    background-color: #EFEBE5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 0 1.5rem;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.7;
}

.faq-item.active {
    background-color: #EFEBE5;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}


/* === SERVICES PAGE SPECIFIC MEDIA QUERIES === */
@media screen and (max-width: 992px) {

    /* Medium screens */
    .spectrum-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }
}

@media screen and (max-width: 768px) {

    /* Small screens */
    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-detail-container {
        grid-template-columns: 1fr;
    }

    .layout-reverse .service-image {
        order: -1;
    }

    .service-content .section-title,
    .service-content .subtitle {
        text-align: center;
    }

    .service-image {
        margin-bottom: 2rem;
    }

    .spectrum-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .tech-item span {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {

    /* Extra small screens */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
