/* ===================================
   Analysis Pages Specific Styles
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0 3rem;
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.6s ease;
}

.page-header-content .arabic-text {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Analysis Overview */
.analysis-overview {
    padding: 5rem 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--light-color);
    border-radius: 8px;
    font-weight: 500;
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.overview-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 6rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.image-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Tests Section */
.tests-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.test-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.test-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.test-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.test-card > .arabic-text {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.test-details {
    margin-top: 1.5rem;
}

.test-details h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.test-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.test-details ul li {
    padding: 0.5rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.test-details ul li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.test-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

.info-badge i {
    color: var(--primary-color);
}

/* Equipment Section */
.equipment-section {
    padding: 5rem 0;
    background: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--light-color);
}

.equipment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.equipment-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(233, 30, 99, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.equipment-image i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.equipment-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.equipment-card > .arabic-text {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.equipment-specs h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.equipment-specs ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.equipment-specs ul li {
    padding: 0.5rem 0;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
}

.equipment-specs ul li i {
    color: #FFC107;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.equipment-brand {
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.equipment-brand strong {
    color: var(--primary-color);
}

/* Preparation Section */
.preparation-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.preparation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.preparation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.preparation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.prep-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.preparation-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.preparation-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Price Table */
.price-table {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.price-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--light-color);
}

.price-table tbody tr:hover {
    background: var(--light-color);
}

.price-table .price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-color);
    background: var(--light-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Related Services */
.related-services {
    padding: 5rem 0;
    background: var(--light-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.related-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.related-card .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-features {
        grid-template-columns: 1fr;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .page-header-content .arabic-text {
        font-size: 1.5rem;
    }
    
    .test-card,
    .equipment-card {
        padding: 1.5rem;
    }
    
    .preparation-content {
        grid-template-columns: 1fr;
    }
    
    .price-table {
        overflow-x: auto;
    }
    
    .price-table table {
        min-width: 500px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-header-content h1 {
        font-size: 1.5rem;
    }
    
    .overview-description {
        font-size: 1rem;
    }
    
    .test-icon,
    .prep-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .equipment-image {
        height: 150px;
    }
    
    .equipment-image i {
        font-size: 3rem;
    }
}
