﻿:root {
    --primary-red: #B82E2E;
    --primary-orange: #E87A29;
    --primary-gold: #E5A83B;
    --accent-teal: #00A896;
    --accent-blue: #2B7A8E;
    --bg-light: #F8F9FA;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
   
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif;
    /*font-weight:bold;*/
}

body {
    background-color: var(--bg-light);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header & Navbar */
header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(184, 46, 46, 0.25);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 50px;
    background: white;
    border-radius: 50%;
    padding: 4px;
}

.brand-title {
    font-size: 16px;
    color: white;
    /*font-weight: 700;*/
}

/* Header Login Bar */
.header-login {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.login-input {
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

    .login-input::placeholder {
        color: rgba(255, 255, 255, 0.8);
    }

    .login-input:focus {
        background: rgba(255, 255, 255, 0.25);
        border-color: #fff;
    }

.btn-login {
    background-color: var(--primary-gold);
    color: #333;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s, background 0.3s;
}

    .btn-login:hover {
        background-color: #f1b747;
        transform: translateY(-2px);
    }

/* Container Main */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Top Metrics Row */
/* Statistics Cards Container Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1.5rem;
    /*margin-bottom: 3rem;*/
    direction: rtl;
    width: 100%;
}

/* Individual Statistic Card */
.metric-card {
    background: #faf6eb;
    border-radius: 10px;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f6d594;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .metric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

/* Text Content Area */
.metric-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

    .metric-info h3 {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 0.35rem;
        font-weight: 600;
    }

    .metric-info .number {
        font-size: 1.85rem;
        font-weight: 800;
        color: #1a1a1a;
        letter-spacing: -0.5px;
    }

/* Icon Container Styling */
.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(232, 122, 41, 0.1); /* Soft orange tint */
    color: #E87A29; /* Brand primary orange */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

/* Features Section */
.features-section {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.features-header {
    margin-bottom: 2.5rem;
}

    .features-header h2 {
        font-size: 1.8rem;
        color: #222;
        margin-bottom: 0.5rem;
    }

    .features-header p {
        color: #666;
        font-size: 1rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 16px;
    background: #FAFAFA;
    border: 1px solid #EEE;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .feature-item:hover {
        border-color: var(--primary-orange);
        background: #FFF;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

.feature-badge {
    width: 65px;
    height: 65px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.badge-orange {
    background: linear-gradient(135deg, #E87A29, #F39C12);
}

.badge-teal {
    background: linear-gradient(135deg, #00A896, #02C39A);
}

.badge-blue {
    background: linear-gradient(135deg, #2B7A8E, #3A9AB2);
}

.badge-red {
    background: linear-gradient(135deg, #B82E2E, #E74C3C);
}

.badge-gold {
    background: linear-gradient(135deg, #E5A83B, #F1C40F);
}

.feature-item h4 {
    font-size: 1.1rem;
    color: #333;
}

@media screen and (max-width: 700px) {

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}


