:root {
    --primary-color: #0077be;
    --secondary-color: #2196F3;
    --accent-color: #4CAF50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0077be, #00a0e3);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.hero-content-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-image-wrapper {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    margin: 2rem 0;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.feature-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    border: 2px solid #4CAF50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #4CAF50;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #f8fff8;
    border-color: #2E7D32;
}

.feature-icon {
    background: #4CAF50;
    min-width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: #2E7D32;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d2d2d;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #444444;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .feature-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        min-width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .feature-content h3 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-actions a {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hero-actions a.btn-light {
    background: #fff;
    color: var(--primary-color);
}

.hero-actions a.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Search Section */
.search-section {
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.search-container {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.search-form .input-group {
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 0.5rem;
}

.search-form .form-control {
    border: none;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.search-submit {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-content-wrapper {
        padding: 2rem;
        margin: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .feature-item {
        margin-bottom: 0.8rem;
    }

    .search-container {
        margin: 0 1rem;
    }
}

/* Navbar Styles */
.navbar {
    background-color: #fff;
    padding: 0.25rem 0;
    box-shadow: var(--box-shadow);
    min-height: auto;
}

.navbar-brand, .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    background: rgba(0,119,190,0.1);
    border-radius: var(--border-radius);
}

.nav-link.active {
    color: #fff !important;
    background: var(--primary-color);
    border-radius: var(--border-radius);
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    border: none;
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-stats {
    background: rgba(0,119,190,0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.feature-value {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .search-section {
        margin: -2rem auto 2rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* Header Styles */
header {
    background-color: #0077be;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

header a:hover {
    color: #f0f0f0;
}

/* Common Section Styles */
.section {
    padding: 60px 0;
    background: white;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    margin-bottom: 20px;
    text-align: right;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

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

/* Icons */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links a[title="Facebook"]:hover {
    background: #1877f2;
}

.social-links a[title="WhatsApp"]:hover {
    background: #25d366;
}

.social-links a[title="Instagram"]:hover {
    background: #e4405f;
}

.social-links a[title="Twitter"]:hover {
    background: #1da1f2;
}

.social-links a[title="YouTube"]:hover {
    background: #ff0000;
}

.social-links a[title="TikTok"]:hover {
    background: #000000;
}

.social-links a[title="Snapchat"]:hover {
    background: #fffc00;
    color: #000;
}

.social-links a[title="LinkedIn"]:hover {
    background: #0077b5;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 0;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    padding: 1rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #27ae60;
}

.lab-info {
    margin-bottom: 1rem;
}

.lab-name {
    font-size: 1.2rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.lab-description {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #27ae60;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #999;
}

.footer-contact i {
    color: #27ae60;
    font-size: 1.2rem;
}

.footer-contact .contact-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-link:hover {
    color: #27ae60;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-title {
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .lab-description,
    .social-links {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

/* Results Page Specific */
.results-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.patient-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.result-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.result-item:last-child {
    border-bottom: none;
}

.normal-range {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.result-value {
    font-weight: bold;
}

.result-value.normal {
    color: #27ae60;
}

.result-value.abnormal {
    color: var(--accent-color);
}

.print-button {
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Preparations Page Specific */
.preparation-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.preparation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preparation-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* قسم مميزات المعمل */
.lab-features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    height: 100%;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.feature-card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.feature-card .card-header i {
    font-size: 16px;
    color: #0088cc;
    margin-left: 6px;
}

.feature-card .card-header h3 {
    font-size: 14px;
    margin: 0;
    color: #444;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.feature-card .card-description {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: 'Cairo', sans-serif;
}

.feature-card .stats-container {
    background: #f8f9fa;
    padding: 6px;
    border-radius: 4px;
    text-align: center;
}

.feature-card .stats-number {
    font-size: 16px;
    font-weight: bold;
    color: #0088cc;
    margin-bottom: 2px;
    font-family: 'Cairo', sans-serif;
}

.feature-card .stats-label {
    font-size: 10px;
    color: #777;
    font-family: 'Cairo', sans-serif;
}

.row.g-4 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

@media (max-width: 992px) {
    .features-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-content {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .feature-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .feature-content {
        padding: 1.25rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .feature-value {
        font-size: 1.6rem;
    }
}

/* Features Section */
.features-section {
    padding: 40px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.section-title {
    font-size: 24px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Cairo', sans-serif;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0088cc, #00c6ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
}

.feature-card .card-header i {
    font-size: 18px;
    color: #0088cc;
    margin-left: 10px;
    background: rgba(0, 136, 204, 0.1);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover .card-header i {
    background: #0088cc;
    color: #fff;
}

.feature-card .card-header h3 {
    font-size: 15px;
    margin: 0;
    color: #2c3e50;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.feature-card .card-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-family: 'Cairo', sans-serif;
}

.feature-card .stats-container {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.feature-card .stats-number {
    font-size: 18px;
    font-weight: bold;
    color: #0088cc;
    margin-bottom: 2px;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.feature-card .stats-label {
    font-size: 11px;
    color: #666;
    font-family: 'Cairo', sans-serif;
}

/* جعل البطاقات متجاوبة مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .feature-card {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .feature-card .card-header i {
        font-size: 14px;
    }
    
    .feature-card .card-header h3 {
        font-size: 12px;
    }
    
    .feature-card .card-description {
        font-size: 10px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .feature-card .stats-container {
        padding: 5px;
    }
    
    .feature-card .stats-number {
        font-size: 14px;
        margin-bottom: 1px;
    }
    
    .feature-card .stats-label {
        font-size: 9px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .feature-card .card-header i {
        font-size: 12px;
    }
    
    .feature-card .card-header h3 {
        font-size: 11px;
    }
    
    .feature-card .card-description {
        font-size: 9px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .feature-card .stats-container {
        padding: 4px;
    }
    
    .feature-card .stats-number {
        font-size: 13px;
        margin-bottom: 1px;
    }
    
    .feature-card .stats-label {
        font-size: 8px;
    }

    .section-title {
        font-size: 16px;
    }

    .section-subtitle {
        font-size: 11px;
    }
}

/* قسم لماذا يثق الناس بنا */
.why-trust-us {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trust-content {
    color: #666;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
}

/* التحاليل المتوفرة */
.available-tests {
    padding: 50px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.available-tests .section-title {
    font-size: 28px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    position: relative;
}

.available-tests .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0088cc, #00c6ff);
}

.test-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
    position: relative;
    overflow: hidden;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.test-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #0088cc, #00c6ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.test-card:hover:before {
    opacity: 1;
}

.test-name {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.test-details {
    margin-top: 15px;
}

.test-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}

.test-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Cairo', sans-serif;
}

.test-info i {
    font-size: 16px;
    color: #0088cc;
    margin-left: 8px;
}

.test-info span {
    font-size: 13px;
    color: #666;
}

.test-price {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    border: 1px solid #eef2f7;
}

.price-label {
    font-size: 14px;
    color: #666;
    font-family: 'Cairo', sans-serif;
}

.price-value {
    font-size: 16px;
    color: #0088cc;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
}

@media (max-width: 768px) {
    .test-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .test-name {
        font-size: 16px;
    }

    .test-description {
        font-size: 13px;
    }

    .price-value {
        font-size: 14px;
    }
}

.no-tests-message, .error-message {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    color: #666;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    margin: 20px 0;
}

.error-message {
    background: #fff3f3;
    color: #dc3545;
    border: 1px solid #ffcdd2;
}

.packages-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.packages-section .section-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.packages-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0088cc, #00aaff);
}

.package-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eef2f7;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.package-name {
    font-size: 26px;
    color: #2c3e50;
    margin: 15px 0;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.package-name:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #0088cc, #00aaff);
}

.package-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
    min-height: 60px;
}

.package-price {
    font-size: 32px;
    color: #0088cc;
    font-weight: 700;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.package-price .currency {
    font-size: 18px;
    font-weight: 500;
    color: #666;
}

.package-discount {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #ff4757;
    color: #fff;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.book-now-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(45deg, #0088cc, #00aaff);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
    width: auto;
    min-width: 160px;
}

.book-now-btn:hover {
    background: linear-gradient(45deg, #00aaff, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
    color: #fff;
}

.book-now-btn i {
    margin-left: 8px;
    font-size: 18px;
}

.view-all-packages {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #0088cc, #00aaff);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
}

.view-all-packages:hover {
    background: linear-gradient(to right, #00aaff, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.2);
    color: #fff;
}

.doctors-section,
.branches-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0088cc, #00aaff);
}

.doctor-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.doctor-info {
    padding: 20px;
}

.doctor-name {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.doctor-specialization {
    color: #0088cc;
    font-size: 16px;
    margin-bottom: 10px;
}

.doctor-qualification {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.doctor-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.branch-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.branch-name {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.branch-info {
    margin-bottom: 15px;
}

.branch-info i {
    color: #0088cc;
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

.branch-info span {
    color: #666;
    font-size: 15px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #0088cc, #00aaff);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
}

.view-all-btn:hover {
    background: linear-gradient(to right, #00aaff, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.2);
    color: #fff;
}

/* قسم الأطباء */
.doctors-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.doctor-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    text-align: center;
    padding: 30px 20px;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #007bff;
    padding: 5px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.doctor-specialization {
    display: inline-block;
    background-color: #e3f2fd;
    color: #007bff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.doctor-qualification {
    color: #666;
    font-size: 1rem;
    margin-top: 15px;
}

.doctor-qualification-title {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.branches-section {
    padding: 60px 0;
}

.branch-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.branch-header {
    background: #007bff;
    color: #fff;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

.branch-name {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.branch-name i {
    margin-left: 10px;
}

.branch-body {
    padding: 20px;
}

.branch-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.branch-info i {
    width: 20px;
    margin-left: 10px;
    color: #007bff;
}

.branch-contact {
    color: #007bff;
    text-decoration: none;
}

.branch-contact:hover {
    text-decoration: underline;
}

.branch-map {
    margin-top: 20px;
    text-align: center;
}

.branch-map .btn {
    width: 100%;
    border-color: #007bff;
    color: #007bff;
}

.branch-map .btn:hover {
    background: #007bff;
    color: #fff;
}

.branch-map i {
    margin-left: 5px;
}

/* Branch Cards Styling */
.branch-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-5px);
}

.branch-header {
    background: #0077be;
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.branch-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.branch-body {
    padding: 20px;
}

.branch-body p {
    margin-bottom: 15px;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.branch-body p:last-child {
    margin-bottom: 0;
}

.branch-body i {
    margin-right: 10px;
    color: #0077be;
    width: 20px;
    text-align: center;
}

.branch-phone {
    color: #0077be !important;
    text-decoration: none;
    font-weight: 500;
}

.branch-phone:hover {
    text-decoration: underline;
}

/* Contact Section Styling */
.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-title i {
    color: #0077be;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f7ff;
}

.phone-icon {
    background-color: #e8f5e9;
}

.phone-icon i {
    color: #43a047;
}

.email-icon {
    background-color: #e3f2fd;
}

.email-icon i {
    color: #1976d2;
}

.location-icon {
    background-color: #fff3e0;
}

.location-icon i {
    color: #f57c00;
}

.time-icon {
    background-color: #f3e5f5;
}

.time-icon i {
    color: #8e24aa;
}

.contact-icon i {
    font-size: 20px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.contact-value {
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
}

a.contact-value {
    color: #0077be;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: #005c91;
}

@media (max-width: 768px) {
    .contact-card {
        margin: 0 15px;
    }
}

/* Modern Contact Section */
.contact-modern-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.main-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #0077be;
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.title-line:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -2px;
    width: 40px;
    height: 8px;
    background: #0077be;
    border-radius: 4px;
}

.modern-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.1) 0%, rgba(0, 119, 190, 0) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 119, 190, 0.15);
}

.contact-card:hover:before {
    opacity: 1;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.4s ease;
}

.contact-card:hover .icon-wrapper {
    background: #0077be;
    transform: scale(1.1);
}

.icon-wrapper i {
    font-size: 32px;
    color: #0077be;
    transition: all 0.4s ease;
}

.contact-card:hover .icon-wrapper i {
    color: #ffffff;
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-value {
    color: #0077be;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

a.contact-value:hover {
    color: #005c91;
    transform: scale(1.05);
}

.primary-card {
    background: linear-gradient(135deg, #0077be 0%, #005c91 100%);
}

.primary-card h3,
.primary-card .contact-value {
    color: #ffffff;
}

.primary-card .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.primary-card .icon-wrapper i {
    color: #ffffff;
}

.primary-card:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
}

.social-card {
    background: linear-gradient(135deg, #3b5998 0%, #2f477a 100%);
}

.social-card h3,
.social-card .contact-value {
    color: #ffffff;
}

.social-card .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.social-card .icon-wrapper i {
    color: #ffffff;
}

.social-card:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .modern-contact-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .main-title {
        font-size: 2rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-content {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.contact-section {
    background-color: #fff;
    padding: 60px 0;
}

.contact-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.contact-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 15px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-weight: bold;
    color: #555;
}

.contact-value {
    color: #333;
    text-decoration: none;
}

.contact-value:hover {
    color: #0077be;
}

.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #f0f0f0;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

.hero-features {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.feature-icon {
    background: #4CAF50;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #ffffff;
    font-size: 24px;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #333333;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-features {
        margin-top: 1.5rem;
        padding: 0.8rem;
    }

    .feature-box {
        padding: 1.2rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 20px;
    }

    .feature-text h4 {
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.95rem;
    }
}

.section-title {
    color: #2d3436;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4CAF50;
    border-radius: 2px;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.test-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
}

.test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.test-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.test-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.preparation-info {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    margin: 0.8rem 0;
}

.preparation-info h4 {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.preparation-info p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.category-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    background: #e3f2fd;
    color: #1976d2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.discount-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    background: #ffebee;
    color: #e53935;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.test-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.original-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.final-price {
    font-size: 1.1rem;
    color: #2e7d32;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 0.8rem;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.whatsapp-btn.lab {
    background: #075E54;
}

.whatsapp-btn.lab:hover {
    background: #054636;
}

@media (max-width: 768px) {
    .test-card {
        padding: 1rem;
    }
    
    .test-meta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

/* Contact Information Section */
.contact-info-section {
    background-color: #f8f9fa;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #27ae60;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5e9;
    border-radius: 12px;
    color: #27ae60;
}

.contact-icon i {
    font-size: 24px;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p,
.contact-details .contact-link {
    color: #666;
    font-size: 1rem;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details .contact-link:hover {
    color: #27ae60;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 1rem;
    }
}

/* Custom Footer Styles */
footer {
    background-color: #1a1a1a !important;
}

footer h5 {
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #28a745;
}

footer .text-success {
    color: #28a745 !important;
}

footer .list-unstyled li a {
    transition: color 0.3s ease;
}

footer .list-unstyled li a:hover {
    color: #28a745 !important;
}

footer .bx {
    font-size: 1.2rem;
}

footer p a, 
footer p span {
    transition: color 0.3s ease;
}

footer p a:hover {
    color: #28a745 !important;
}

footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

footer .text-muted {
    color: #6c757d !important;
}

@media (max-width: 768px) {
    footer h5::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    footer h5,
    footer .text-success,
    footer p {
        text-align: center;
    }
    
    footer .list-unstyled {
        text-align: center;
    }
}

/* Social Media Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
}

/* Social Media Colors on Hover */
.social-link[title="Facebook"]:hover {
    background: #1877f2;
}

.social-link[title="WhatsApp"]:hover {
    background: #25d366;
}

.social-link[title="Instagram"]:hover {
    background: #e4405f;
}

.social-link[title="Twitter"]:hover {
    background: #1da1f2;
}

.social-link[title="YouTube"]:hover {
    background: #ff0000;
}

.social-link[title="TikTok"]:hover {
    background: #000000;
}

.social-link[title="Snapchat"]:hover {
    background: #fffc00;
    color: #000;
}

.social-link[title="LinkedIn"]:hover {
    background: #0077b5;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.address {
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    padding-right: 2rem;
}

.address::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #27ae60;
    position: absolute;
    right: 0;
    top: 2px;
}

.book-test-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.book-test-btn i {
    font-size: 1.2rem;
}

.book-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

.book-test-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    font-weight: 600;
}

.book-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    background-color: #20bd5a;
    border-color: #20bd5a;
    color: white;
}

.book-test-btn i {
    font-size: 1.4rem;
}

.test-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* صفحة التحاليل */
.filter-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.test-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.test-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-badge {
    background: #ffeaea;
    color: #e53935;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.test-content {
    padding: 1.5rem;
}

.test-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.test-description {
    color: #666;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.test-description i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.preparation-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.preparation-info h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preparation-info h4 i {
    color: #27ae60;
}

.preparation-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.test-meta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.price-section {
    margin-bottom: 1rem;
}

.price-tag {
    font-size: 1.8rem;
    color: #27ae60;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.price-tag .currency {
    font-size: 1rem;
    color: #666;
}

.original-price {
    color: #999;
    font-size: 1rem;
    margin-top: 0.3rem;
}

.book-test-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.book-test-btn:hover {
    background-color: #20bd5a;
    border-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    color: white;
}

.book-test-btn i {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .filter-section {
        margin-bottom: 1.5rem;
    }
    
    .filter-section .col-md-6:first-child {
        margin-bottom: 1rem;
    }
    
    .test-card {
        margin-bottom: 1.5rem;
    }
    
    .test-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
