/* ==========================================================================
   RKAZ Standards Page Styles (standards.css)
   ========================================================================== */

/* المتغيرات الأساسية */
:root {
    --primary-color: #0D1B2A;       
    --accent-gold: #C5A880;         
    --accent-gold-hover: #A88F68;   
    --text-dark: #2F3E46;           
    --bg-light: #F8F9FA;            
    --white: #FFFFFF;               
    --transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   1. قسم الهيرو (Standards Hero)
   ========================================================================== */
.standards-hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95), rgba(20, 39, 61, 0.85)), 
                url('assets/images/rkazgroub.jpg') no-repeat center center/cover;
    padding: 120px 0 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.standards-hero .subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.standards-hero .title {
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.standards-hero .description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* ==========================================================================
   2. قسم محتوى المعايير (Standards Content)
   ========================================================================== */
.standards-content-section {
    padding: 90px 0;
    background-color: var(--bg-light);
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   3. شبكة وبطاقات المعايير (Standards Grid & Cards)
   ========================================================================== */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.standard-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.05);
    border-bottom: 4px solid transparent;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
    position: relative;
    overflow: hidden;
}

/* تأثير التمرير (Hover) على البطاقات */
.standard-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(13, 27, 42, 0.1);
}

.standard-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(197, 168, 128, 0.1); /* لون ذهبي شفاف جداً */
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 25px auto;
    transition: var(--transition);
}

.standard-card:hover .standard-icon {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.standard-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.standard-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   4. التجاوب مع الشاشات (Responsive Design)
   ========================================================================== */
@media (max-width: 768px) {
    .standards-hero {
        padding: 100px 0 60px 0;
    }
    
    .standards-hero .title {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }

    .standards-grid {
        grid-template-columns: 1fr;
    }
}