/* css/spinal-decompression.css */


/* CTA Top Section */
#cta-top {
    background-color: rgb(204, 225, 168);
    padding: 80px 0;
    text-align: center;
}

#cta-top .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

#cta-top h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#cta-top .cta-logo {
    max-width: 200px; /* Adjust size as needed */
    width: 100%;
    height: auto;
    margin: 15px auto;
    display: block;
}

#cta-top .lead {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

#cta-top .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#cta-top .button-primary {
    background-color: #1abc9c;
    border-color: #1abc9c;
    transition: all 0.3s ease;
}

#cta-top .button-primary:hover {
    background-color: #16a085;
    border-color: #16a085;
}

#cta-top .button-secondary {
    background-color: #3498db;
    border-color: #3498db;
    transition: all 0.3s ease;
}

#cta-top .button-secondary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 767px) {
    #cta-top {
        padding: 50px 0;
    }

    #cta-top h1 {
        font-size: 1.8rem;
    }

    #cta-top .cta-logo {
        max-width: 150px; /* Smaller logo on mobile */
        margin: 10px auto;
    }

    #cta-top .lead {
        font-size: 1rem;
    }

    #cta-top .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    #cta-top .button-large {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}


/* General container styling */
.content-wrap {
    background-color: #F8FAFC;
}
.content-section {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.content-section h2 {
    color: #1F2937;
    font-size: 2rem;
    margin-bottom: 15px;
}
.content-section .before-heading {
    color: #10B981;
    font-weight: 600;
    font-size: 1.2rem;
}
.content-section p {
    color: #4B5563;
    font-size: 1.1rem;
    line-height: 1.7;
}
.content-section ul {
    margin: 20px 0;
}
.content-section ul li {
    color: #4B5563;
    font-size: 1.1rem;
}
/* Flexbox for side-by-side layouts */
.flex-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.flex-content.reverse {
    flex-direction: row-reverse;
}
.flex-text {
    flex: 1;
}
.flex-content picture, .flex-content img, .flex-content video {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.flex-content picture img {
    width: 100%;
    height: auto;
}
/* Testimonials and CTA */
.testimonials-section {
    margin: 40px 0;
}
.cta-section {
    text-align: center;
    padding: 40px;
    background-color: #E8F3EF;
    border-radius: 12px;
}
.cta-section h2, .cta-section h3, .cta-section h4 {
    color: #1F2937;
}
.cta-section .button {
    background-color: #10B981;
    border-color: #10B981;
}
.cta-section .button:hover {
    background-color: #059669;
    border-color: #059669;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .content-section {
        padding: 20px;
    }
    .flex-content, .flex-content.reverse {
        flex-direction: column;
        align-items: stretch;
    }
    .flex-content picture, .flex-content img, .flex-content video {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .flex-text {
        width: 100%;
    }
}
/* FAQ Styling */
.faq details {
    margin-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
}
.faq summary {
    cursor: pointer;
    font-size: 1.1rem;
    color: #1F2937;
    padding: 15px 0;
    font-weight: 600;
    list-style: none;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::before {
    content: '\25B6'; /* Right arrow */
    display: inline-block;
    margin-right: 10px;
    font-size: 0.9rem;
    color: #10B981;
}
.faq details[open] summary::before {
    content: '\25BC'; /* Down arrow */
}
.faq p {
    color: #4B5563;
    padding: 0 15px 15px;
    margin: 0;
}
/* Staff-Only Section (Hidden for Public) */
.staff-only {
    display: none;
    background-color: #FFF7ED;
}
.staff-only h2 {
    color: #1F2937;
}
.staff-only p {
    color: #4B5563;
    margin-bottom: 10px;
}
.staff-only ul li {
    color: #4B5563;
    margin-bottom: 10px;
    padding-left: 10px;
}