/* Local Service Template Styles */

:root {
  --dark: linear-gradient(90deg,rgba(36, 43, 49, 1) 0%, rgba(42, 47, 54, 1) 74%, rgba(47, 54, 63, 1) 100%);
  --light: #f7f0e8;
  --beige: #e0cdba;
  --page-bg: #fffff0;
  --beige-gradient: linear-gradient(180deg, #e0cdba 0%, #f7f0e8 60%, #e0cdba 100%);
  --footer-bg: #232220;
  --hero-bg: #232220;
  --font-inter: 'Inter', Arial, Helvetica, sans-serif;
  --font-roslindale: 'Roslindale', sans-serif;

}
@import url('https://fonts.cdnfonts.com/css/roslindale');

@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/4089395072/623476531.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/4089395072/2081666296.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roslindale';
  src: url('https://ext.same-assets.com/4089395072/1502380293.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Local Service Template Styles for actual template structure */
.service-single {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--page-bg);
}

/* Hero Section */
.service-single .hero {
    background: var(--page-bg);
    padding: 8rem 0 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-single .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

.service-single .hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-single .hero .rating {
    font-size: 1.2rem;
    color: var(--accent-red);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.container.marketing-content {
    background: var(--page-bg) !important;
}
section.marketing-section.testimonials-section {
    background: var(--page-bg) !important;
}

/* Service Meta Section */
.service-single .service-meta {
    background: var(--page-bg) !important;
    padding: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-single .service-meta p {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.form-container {
    background: var(--page-bg) !important;
    
}

.service-single .service-meta strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 8px !important;
    color: white !important;
    letter-spacing: 1px;
}

/* Service Description */
.service-single .service-desc {
    padding: 6rem 0;
    background: var(--page-bg) !important;
    text-align: center;
    max-width: 800px;
}

.service-single .service-desc p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* FAQ Section - ALWAYS VISIBLE */
.service-single .service-faq {
    background: var(--page-bg);
    padding: 8rem 0;
    display: block !important; /* Force display */
    visibility: visible !important; /* Force visibility */
}

.service-single .service-faq h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
}

.service-single .accordion {
    max-width: 800px;
    margin: 0 auto;
}

.services-section
{
    background: var(--page-bg) !important;
}

.form-container {
    background: var(--page-bg) !important;
}

.service-single .accordion details {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: block !important; /* Force display */
}

.service-single .accordion details:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-single .accordion summary {
    padding: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: all 0.3s ease;
}

.service-single .accordion summary::-webkit-details-marker {
    display: none;
}

.service-single .accordion summary::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-single .accordion details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.service-single .accordion details p {
    padding: 0 2rem 2rem 2rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* Reviews/Testimonials Section */
.service-single .service-reviews,
.service-single .testimonials-section {
    background: var(--page-bg);
    padding: 8rem 0;
    display: block !important;
    visibility: visible !important;
}

.service-single .service-reviews h2,
.service-single .testimonials-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

/* Testimonials grid styling */
.testimonials-section .testimonial-item,
.service-single .testimonials-section > div > div > div {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #007cba;
    transition: all 0.3s ease;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
}

.description-display {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
}

.testimonials-section .testimonial-item:hover,
.service-single .testimonials-section > div > div > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Internal Links Section */
.service-single .service-links {
    background: white;
    padding: 6rem 0;
}

.service-single .service-links h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.service-single .service-links ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.service-single .service-links li {
    margin-bottom: 1rem;
}

.service-single .service-links a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-single .service-links a:hover {
    color: var(--text-dark);
    transform: translateX(5px);
}

/* Service Areas Section - WITH LINKS */
.service-single .service-areas {
    background: var(--page-bg);
    padding: 6rem 0;
    text-align: center;
}

.service-single .service-areas h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.service-single .service-areas .areas-links {
    max-width: 800px;
    margin: 0 auto;
}

.service-single .service-areas .areas-links p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-single .service-areas .areas-links a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.service-single .service-areas .areas-links a:hover {
    color: white;
    background-color: var(--accent-red);
    transform: translateY(-2px);
}

/* Contact Form Section - IMPROVED */
.service-single .form-container {
    background: var(--page-bg);
    padding: 8rem 0;
    display: block !important;
    visibility: visible !important;
}

.service-single .form-container .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-single .form-container h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
}

.service-single .contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.service-single .contact-form input,
.service-single .contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(29, 28, 28, 0.2);
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.service-single .contact-form textarea {
    border-radius: 15px;
    min-height: 120px;
    resize: vertical;
}

.service-single .contact-form input:focus,
.service-single .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(29, 28, 28, 0.1);
}

.service-single .contact-form button {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-single .contact-form button:hover {
    background: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Flex containers for form layout */
.service-single .contact-form > div {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-single .contact-form > div input {
    flex: 1;
}

/* Emergency visibility fixes */
.service-single .service-faq,
.service-single .form-container,
.service-single .testimonials-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-single .hero {
        padding: 6rem 0 3rem 0;
    }

    .service-single .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .service-single .service-meta {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .service-single .hero,
    .service-single .service-desc,
    .service-single .service-faq,
    .service-single .service-reviews,
    .service-single .testimonials-section,
    .service-single .service-links,
    .service-single .service-areas,
    .service-single .form-container {
        padding: 4rem 0;
    }

    .service-single .service-meta {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }

    .service-single .service-meta p {
        padding: 1.5rem;
    }

    .service-single .accordion details {
        margin-bottom: 0.75rem;
    }

    .service-single .accordion summary {
        padding: 1.5rem;
    }

    .service-single .accordion details p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    /* Mobile form layout */
    .service-single .contact-form > div {
        flex-direction: column;
        gap: 1rem;
    }

    .service-single .contact-form input,
    .service-single .contact-form textarea {
        padding: 1rem 1.2rem;
    }

    /* Mobile testimonials grid */
    .testimonials-section > div > div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Animation classes for GSAP */
.service-single .fade-in-up {
    opacity: 0;
    transform: translateY(50px);
}

.service-single .fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.service-single .fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.service-single .scale-in {
    opacity: 0;
    transform: scale(0.8);
}