/* Custom CSS for Qetof Health - Medical Equipment Company */
:root {
    --primary-dark: #1e3a5f; /* Medical Dark Blue */
    --secondary-light: #f8fafc; /* Off White */
    --primary-color: #0077b6; /* Medical Blue */
    --medical-blue: #0096c7; /* Light Medical Blue */
    --medical-blue-hover: #0077b6;
    --medical-teal: #48cae4; /* Teal Accent */
    --text-color: #2d3748; /* Darker Text */
    --text-light-50: #cbd5e1;
    --data-gray: #e2e8f0;
    --success-green: #10b981;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    background-color: var(--secondary-light);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- Hero Panel (Left-Aligned Content, Right Visual) --- */
.main-hero-panel {
    position: relative;
    padding-top: 80px; /* للإزاحة عن شريط التنقل */
    padding-bottom: 80px;
    background-color: var(--primary-dark);
    color: white;
}

.hero-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* تغطية نصف الشاشة فقط للخلفية */
    height: 100%;
    background-size: cover;
    background-position: left center;
    opacity: 0.1; /* تظليل الصورة بشكل خفيف جداً */
    z-index: 1;
}

.hero-content-area {
    position: relative;
    z-index: 2;
}

.tag-line {
    display: inline-block;
    color: var(--medical-teal);
    border: 1px solid var(--medical-teal);
    padding: 6px 15px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.main-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main-subtitle {
    font-size: 1.15rem;
    color: var(--text-light-50);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-visual-placeholder {
    text-align: right;
    padding: 20px;
}

/* --- Feature Cards (Clean & Simple) --- */
.value-propositions {
    padding: 4rem 0;
    background-color: white;
    border-bottom: 1px solid var(--data-gray);
}

.feature-list-cards {
    margin-top: -80px; /* سحب القائمة للأعلى لتتداخل مع الهيرو بنمط مختلف */
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(31, 41, 55, 0.1), 0 8px 10px -6px rgba(31, 41, 55, 0.1);
}

.clean-stat-card {
    padding: 1.5rem;
    text-align: center;
    border-left: 1px solid var(--data-gray);
}

    .clean-stat-card:last-child {
        border-left: none; /* إزالة الحد من آخر بطاقة */
    }

.card-icon-wrap {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- Section Heading --- */
.section-heading-centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-underline {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

    .section-title-underline::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }

/* --- Product Cards (Simple & Boxy) --- */
.bg-data-gray {
    background-color: var(--data-gray);
}

.product-card-simple {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f3f4f6;
}

    .product-card-simple:hover {
        box-shadow: 0 10px 20px rgba(0, 119, 182, 0.2);
        transform: translateY(-5px);
    }

.product-card-img-container {
    height: 200px;
    overflow: hidden;
}

    .product-card-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-card-info {
    padding: 1.5rem;
}

/* --- Buttons (Medical Blue) --- */
.btn-medical-main {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    transition: 0.3s;
}

    .btn-medical-main:hover {
        background: var(--medical-blue-hover);
        border-color: var(--medical-blue-hover);
        color: white;
        transform: translateY(-1px);
    }

.btn-medical-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn-medical-secondary:hover {
        background: white;
        color: var(--primary-dark);
    }

/* Legacy support */
.btn-ai-main {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    transition: 0.3s;
}

    .btn-ai-main:hover {
        background: var(--medical-blue-hover);
        color: white;
        transform: translateY(-1px);
    }

.btn-ai-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn-ai-secondary:hover {
        background: white;
        color: var(--primary-dark);
    }

/* --- About/Vision Section (Dark) --- */
.company-vision-panel {
    background-color: var(--primary-dark);
    color: white;
}

.image-with-frame-simple {
    position: relative;
}

    .image-with-frame-simple img {
        display: block;
    }

    /* إزالة تأثير الإطار المزدوج */
    .image-with-frame-simple::before {
        display: none;
    }

/* --- CTA Banner (New Style) --- */
.cta-banner-v2 {
    padding: 80px 0;
}

.cta-content-box {
    background-color: var(--primary-dark);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* نمط مختلف: خطوط مائلة */
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .main-hero-panel {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-image-wrap {
        display: none;
    }

    .hero-visual-placeholder {
        display: none;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .feature-list-cards {
        margin-top: 0;
    }

    .clean-stat-card {
        border-left: none;
        border-bottom: 1px solid var(--data-gray);
    }

        .clean-stat-card:last-child {
            border-bottom: none;
        }
}

/* --- Medical Theme Colors --- */
.text-medical-blue {
    color: var(--medical-blue) !important;
}

.text-medical {
    color: var(--primary-color) !important;
}

.text-telecom {
    color: var(--primary-color) !important;
}

.bg-medical {
    background-color: var(--primary-color) !important;
}

/* --- Navbar Styling --- */
.navbar-brand {
    color: var(--primary-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* --- Hero Section Medical --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
}

/* --- Footer Styling --- */
footer .btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

footer .btn-success:hover {
    background-color: var(--medical-blue-hover) !important;
    border-color: var(--medical-blue-hover) !important;
}

/* --- Accordion Medical Theme --- */
.accordion-button:not(.collapsed) {
    background-color: rgba(0, 119, 182, 0.08) !important;
    color: var(--primary-color) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 119, 182, 0.25) !important;
}

/* --- Cards Glow Effect --- */
.glow-card:hover {
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.15) !important;
}

/* --- Vision Mission Cards --- */
.vision-mission-card {
    border-color: var(--primary-color) !important;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Expertise Cards --- */
.expertise-card {
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.1) !important;
}
