@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

body{
 
    margin:0; padding:0; direction:rtl;
	  font-family:'Cairo',sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color:#fff;
}

.contact-header{
    text-align:center;
    margin:0;
}
.logo-wrapper{
    width: 100%;
    max-width: 500px; /* حجم أكبر */
    height: 180px;     /* ارتفاع مناسب للوجو */
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* خلفية فاتحة */
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-wrapper:hover{
    transform: scale(1.03);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

.logo-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* يملى الإطار بالكامل */
    object-position: center;
    display: block;
}

.contact-header h1{
    font-size:32px;
    color:#d4af37;
    margin:10px 0 5px;
}

.contact-header p{
    font-size:18px;
    color:#555;
    margin:0;
}

.contact-container{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    justify-content:center;
    margin:20px auto;
    max-width:900px;
}

.contact-card{
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius:15px;
    padding:20px;
    width:250px;
    text-align:center;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
    transition:0.3s;
}

.contact-card:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 25px rgba(0,0,0,0.3);
}

.contact-card .icon{
    font-size:32px;
    margin-bottom:10px;
}

.contact-card h3{
    margin:10px 0 5px;
    color:#d4af37;
}

.contact-card p{
    margin:5px 0 10px;
}

.contact-card a{
    text-decoration:none;
    color:#2563eb;
    font-weight:600;
}

.form-container{
    max-width:600px;
    margin:30px auto;
    padding:20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius:15px;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

.form-container h2{
    text-align:center;
    margin-bottom:20px;
    color:#d4af37;
}

#contactForm{
    display:flex;
    flex-direction:column;
    gap:15px;
}

#contactForm input, #contactForm textarea{
    padding:12px 15px;
    border-radius:10px;
    border:1px solid #ccc;
    outline:none;
    font-size:16px;
    background:#f9f9f9;
    color:#111;
    resize:none;
    transition:0.3s;
}

#contactForm input:focus, #contactForm textarea:focus{
    border-color:#d4af37;
    background:#fff;
}

#contactForm button{
    padding:14px;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    cursor:pointer;
    transition:0.3s;
}

#contactForm button:hover{
    transform:translateY(-2px);
    background:linear-gradient(135deg,#16a34a,#15803d);
}

#toast{
    position:fixed; bottom:30px; left:50%;
    transform:translateX(-50%);
    background:#22c55e;
    color:#fff;
    padding:15px 25px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
    display:none;
    font-weight:600;
    z-index:9999;
}

#toast.show{
    display:block;
    animation:fadeInOut 3s forwards;
}

@keyframes fadeInOut{
    0%{opacity:0; transform:translateX(-50%) translateY(20px);}
    10%,90%{opacity:1; transform:translateX(-50%) translateY(0);}
    100%{opacity:0; transform:translateX(-50%) translateY(-20px);}
}

.contact-footer{
    text-align:center;
    padding:15px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
color:rgba(255,255,255,0.85);    font-size:20px;
}


.logo-link{
    text-decoration:none;
    color:inherit;
}

.logo-link:hover{
    text-decoration:none;
}

.group-banner{
    padding:40px 0;
    text-align:center;
}

.group-logo-banner img,
.group-logo-banner{
    width:100%;
    max-width:1800px;
    height:auto;
    display:block;
    margin:auto;
}




.logo{
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;   /* يمنع نزول النص لسطر جديد */
    flex-shrink: 0;
      direction: ltr;      /* يمنع قلب Arco-Egy.com */
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;     /* يمنع العناصر من النزول */
}

@media (max-width:768px){
    .logo{
        font-size: 18px;
    }
}
