/* SYMMETRY ADVISORY SOLUTIONS - Services Page
    1. Timeline Navigation
    2. Solutions Card & List Layout
    3. Analysis Panels (Reviews/Pros & Cons)
    4. Package Pricing Grid
    5. Specific Service Detail Layouts
    6. Tax Advisory Specifics
    7. Responsive Overrides
*/

/* ==========================================================================
   1. Timeline Navigation
   ========================================================================== */
.timeline {
    position: relative;
    margin-left: 25px;
    padding-left: 25px;
    border-left: 2px solid #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    /* Consistency Update: Added transition and padding for hover effect */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background-color: #fff; /* Ensures shadow depth is visible */
}

.timeline-item h4 {
    font-weight: bold;
}

.timeline-item h4 > a {
    text-decoration: none;
    color: var(--brand-purple);
    transition: color 0.2s ease;
}

.timeline-item h4 > a:hover {
    color: var(--brand-blue-medium);
}

.timeline-dot {
    position: absolute;
    left: -35px;
    width: 18px;
    height: 18px;
    background: var(--brand-purple);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--brand-purple);
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================================================
   2. Solutions Card & List Layout
   ========================================================================== */
.solutions-card:hover {
    transform: none;
    box-shadow: none;
}

.solutions-card-content {
    display: grid;
    grid-template-columns: 500px 1fr;
    align-items: start;
    gap: 25px;
}

.solutions-card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    height: 100%;
    padding: 10px 0;
}

.solutions-card-text h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.solutions-desc {
    text-align: center;
    color: var(--brand-accent-dark-gray);
    font-size: 1.1rem;
    line-height: 1.4;
}

.solutions-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid var(--brand-blue-medium);
}

/* Solutions Pill List */
.solutions-list {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px 15px;
    list-style: none;
    padding: 0;
    margin-top: 15px;
    justify-content: center;
}

.solutions-list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

.solutions-list li {
    margin: 0;
}

.solutions-list a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 25px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.solutions-list a:hover {
    background: var(--brand-blue-medium);
}

/* ==========================================================================
   3. Analysis Panels (Reviews/Pros & Cons)
   ========================================================================== */
.micro-reviews-table {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.panel {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    /* Consistency Update: Synced timing to 0.3s */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.panel h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.panel ul {
    margin: 0;
    padding-left: 1.2rem;
}

.panel li {
    font-size: 1.2rem;
}

.good {
    background: white;
    border-left: 6px solid var(--brand-blue);
}

.bad {
    background: white;
    border-left: 6px solid var(--brand-accent-red);
}

.wide-panel {
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    border-left: 6px solid var(--brand-purple);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    /* Consistency Update: Synced timing to 0.3s */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
}

.wide-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.wide-panel h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ==========================================================================
   4. Package Pricing Grid
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.package-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    /* Consistency Update: Synced timing to 0.3s */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.package-icon {
    font-size: 2rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.package-card h4 {
    color: var(--brand-purple);
    font-weight: bold;
    margin-bottom: 12px;
}

.package-card p {
    color: var(--brand-accent-dark-gray);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* ==========================================================================
   5. Specific Service Detail Layouts
   ========================================================================== */
.specific-services-list div[id] {
    scroll-margin-top: 100px;
}

.specific-services-list .solutions-card-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.solutions-card-icon {
    font-size: 4rem; 
    color: var(--brand-accent-dark-gray);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-img {
    max-height: 200px;
    width: auto;
    margin: 20px 0;
}

/* ==========================================================================
   6. Tax Advisory Specifics
   ========================================================================== */
.tax-block .row {
    overflow: hidden;
    background-color: #fff;
}

.tax-block h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue-medium);
}

/* ==========================================================================
   7. Responsive Overrides
   ========================================================================== */

/* Large Desktop Tweak (993px - 1199px) */
@media (max-width: 1199px) and (min-width: 993px) {
    .solutions-card-content {
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
    .solutions-card-text {
        padding-right: 15px;
    }
    .solutions-list {
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 10px 12px;
    }
    .solutions-list a {
        max-width: 100%;
        text-align: center;
    }
}

/* Tablet and Smaller (Max 992px) */
@media (max-width: 992px) {
    .solutions-card-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .solutions-card-text {
        padding: 0 20px;
        align-items: center;
        text-align: center;
    }
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .package-card {
        padding: 25px 20px;
    }
}

/* Mobile View (Max 768px) */
@media (max-width: 768px) {
    .solutions-card-img {
        display: none;
    }
    .specific-services-list .solutions-card-img {
        display: block !important;
        margin-bottom: 20px;
    }
    .solutions-card-text {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 15px;
    }
    .solutions-list {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }
    .solutions-list a {
        padding: 10px 16px;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
        display: inline-block;
    }
    .two-column {
        grid-template-columns: 1fr;
    }
}

/* Tax Block Border Adjustment (Max 767px) */
@media (max-width: 767px) {
    .tax-block .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6 !important;
    }
}