/* ==================================== */
/* === 1. تنسيق هيرو "اتصل بنا" (Desktop) === */
/* ==================================== */
.contact-hero {
    /* DEV-NOTE: استخدام لون داكن (مأخوذ من صورتك) */
    background-color: #3b3b3b; 
    color: var(--color-background-light); /* نص أبيض */
    padding: 3rem 0; /* (48px) */
    text-align: center;
    border: 2px solid rgb(0, 0, 0,0.2); 
    box-shadow: 0rem 0rem 2rem  rgb(0, 0, 0,0.2);
}
.contact-hero-container {
    width: 90%;
    max-width: 75rem; /* (1200px) */
    margin: 0 auto;
}
.contact-hero h1 {
    font-size: 3rem; /* (48px) */
    margin: 0 0 0.5rem 0;
}
.contact-hero p {
    font-size: 1.125rem; /* (18px) */
    opacity: 0.8;
    margin: 0;
}

/* ==================================== */
/* === 2. شبكة كروت التواصل (Desktop) === */
/* ==================================== */
.contact-grid {
    /* DEV-NOTE: خلفية رمادية فاتحة جداً للقسم */
    background-color: #f9f9f9; 
    padding: 3rem 0; /* (48px) */
    box-shadow: 0rem 0rem 1rem  rgb(0, 0, 0,0.15);
}
.grid-container-contact {
    width: 90%;
    max-width: 75rem;
    margin: 0 auto;
    display: grid;
    /* DEV-NOTE: 4 أعمدة كما في الصورة */
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; /* (24px) */
}

/* DEV-NOTE: تنسيق البطاقة البيضاء */
.contact-card {
    border: 1px solid rgb(0, 0, 0,0.15); 
    background-color: var(--color-background-light); /* أبيض */
    /* DEV-NOTE: زوايا مستديرة كما في الصورة */
    border-radius: 0.75rem; /* (12px) */ 
    padding: 2rem; /* (32px) */
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

/* تنسيق محتويات البطاقة */
.contact-icon {
    font-size: 3rem; /* (48px) */
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    
}
.contact-card h3 {
    font-size: 1.25rem; /* (20px) */
    color: var(--color-text-dark);
    margin: 0 0 0.5rem 0;
}
.contact-card p {
    font-size: 1rem; /* (16px) */
    color: #777; /* رمادي للنص الفرعي */
    margin: 0 0 1.5rem 0;
    min-height: 2.5rem; /* (لضمان نفس الارتفاع حتى لو كان النص قصيراً) */
}
.contact-btn {
    display: inline-block;
    background-color: var(--color-text-dark); /* زر أسود */
    color: var(--color-background-light); /* نص أبيض */
    font-size: 0.875rem; /* (14px) */
    font-weight: bold;
    padding: 0.625rem 1.5rem; /* (10px 24px) */
    border-radius: 0.3125rem; /* (5px) */
    text-decoration: none;
    transition: background-color 0.3s;
}
.contact-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-background-light);
}

/* ==================================== */
/* === 3. التصميم المتجاوب (Mobile) === */
/* ==================================== */

/* شاشات التابلت */
@media (max-width: 62rem) { /* (992px) */
    .grid-container-contact {
        /* DEV-NOTE: تغيير إلى عمودين */
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* شاشات الهاتف */
@media (max-width: 48rem) { /* (768px) */
    .contact-hero h1 {
        font-size: 2.25rem; /* (36px) */
    }
    .contact-grid {
        padding: 2rem 0;
    }
    .grid-container-contact {
        /* DEV-NOTE: تغيير إلى عمود واحد */
        grid-template-columns: 1fr; 
        gap: 1rem;
    }
    .contact-card p {
        min-height: unset; /* إلغاء الارتفاع الأدنى */
    }
}