/* ===================================
   Subpage-Specific Styles
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--ohio-blue) 0%, var(--trust-green) 100%);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header .lead {
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section-alt {
    background-color: var(--light-bg);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.main-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--professional-gold);
}

/* Practice Area Details */
.practice-detail {
    margin-bottom: 40px;
}

.practice-detail h2 {
    color: var(--ohio-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--professional-gold);
}

.practice-detail h3 {
    color: var(--trust-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.practice-detail ul {
    list-style: none;
    margin-left: 0;
}

.practice-detail ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.practice-detail ul li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: var(--ohio-blue);
    font-weight: bold;
}

/* Pension Systems Grid */
.pension-systems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.pension-system {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: var(--transition);
}

.pension-system:hover {
    border-color: var(--ohio-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.pension-system h4 {
    color: var(--ohio-blue);
    margin-bottom: 0.5rem;
}

.pension-system .acronym {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--professional-gold);
    margin-bottom: 0.75rem;
}

.pension-system p {
    font-size: 0.95rem;
    color: var(--medium-text);
}

/* Service Areas */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-area-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--professional-gold);
    transition: var(--transition);
}

.service-area-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--ohio-blue);
}

.service-area-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-area-card ul {
    list-style: none;
}

.service-area-card ul li {
    padding: 5px 0;
    color: var(--medium-text);
}

.service-area-card ul li::before {
    content: '•';
    color: var(--ohio-blue);
    font-weight: bold;
    margin-right: 8px;
}

/* About Page - Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--professional-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-year {
    grid-column: 2;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-year {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 2;
    text-align: left;
}

.timeline-year {
    font-size: 2rem;
    font-weight: bold;
    color: var(--ohio-blue);
    font-family: var(--font-heading);
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.credential-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.credential-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.credential-card i {
    font-size: 3rem;
    color: var(--professional-gold);
    margin-bottom: 1rem;
}

.credential-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, var(--ohio-blue) 0%, var(--trust-green) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.highlight-box h3 {
    color: var(--professional-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.highlight-box ul {
    list-style: none;
    margin-top: 1.5rem;
}

.highlight-box ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.highlight-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--professional-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Contact Page Specific */
.contact-main {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-detail-item {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: center;
}

.contact-detail-item i {
    font-size: 2.5rem;
    color: var(--ohio-blue);
    margin-bottom: 1rem;
}

.contact-detail-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 1.1rem;
}

.contact-detail-item a {
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.office-hours {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.office-hours h3 {
    margin-bottom: 1.5rem;
}

.office-hours table {
    width: 100%;
    border-collapse: collapse;
}

.office-hours td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.office-hours td:first-child {
    font-weight: 600;
    color: var(--ohio-blue);
}

.office-hours tr:last-child td {
    border-bottom: none;
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.why-choose-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--professional-gold);
    transition: var(--transition);
}

.why-choose-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.why-choose-item i {
    font-size: 2.5rem;
    color: var(--ohio-blue);
    margin-bottom: 1rem;
}

.why-choose-item h3 {
    margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
    margin: 40px 0;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--ohio-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    color: var(--ohio-blue);
}

.step-content p {
    color: var(--medium-text);
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background: var(--light-bg);
    font-weight: 600;
    color: var(--ohio-blue);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--ohio-blue);
    color: var(--white);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 500px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
        text-align: left;
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-year,
    .timeline-item:nth-child(odd) .timeline-year {
        grid-column: 1;
        text-align: left;
        margin-left: 60px;
    }
}

@media (max-width: 768px) {
    .main-content,
    .contact-main {
        padding: 25px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .highlight-box {
        padding: 25px;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
}
