*{
    padding: 0;
    margin: 0;


}

body , html{
    background:linear-gradient(to left,#050417,#001924 );
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}
/* الأساسيات */
/* الأساسيات */
/* الأساسيات */
/* الأساسيات */
.logo {
    position: fixed; /* يتيح لك التحكم الكامل في مكان الشعار */
    top: -80px; /* تعديل هذا القيمة لتحديد مدى ارتفاع الشعار عن أعلى الشاشة */
    left: -40px; /* تعديل هذه القيمة لتحديد موقع الشعار من اليسار */
    z-index: 2000; /* تأكد من أن الشعار يظهر فوق العناصر الأخرى */
}
.logo img {
    width: 240px; /* حجم الشعار */
    height: auto; /* الحفاظ على النسبة بين العرض والطول */
}
.navbar {
    
    display: flex;
    justify-content: flex-end; /* يضع المحتوى على اليمين */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 1000;
    color: #fff;
}

/* تنسيق أيقونة القائمة */
.menu-toggle {
  display: none; /* مخفي افتراضيًا */
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* تأثير الوميض */
@keyframes blink {
    0%, 50% {
        opacity: 1; /* مرئي بالكامل */
    }
    51%, 100% {
        opacity: 0.3; /* خفيف ولكن لا يختفي تمامًا */
    }
}

/* تصميم الزر مع تأثير الوميض */
.navbar-menu li a[href="https://cyber.clay-code.dev"] {
    color: #00ff00 !important; /* نيون أخضر */
    text-decoration: none !important;
    font-weight: bold !important;
    animation: blink 1.5s infinite !important; /* تكرار التأثير كل 1.5 ثانية */
}



.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
    
}

.navbar ul a {
    
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    padding: 10px;
    
}

.navbar ul a:hover {
    color: #41b3d9;
    background-color: #222;
    border-radius: 5px;
}

/* استجابة الجوال */
@media (max-width: 768px) {
    .navbar ul {
        display: none; /* إخفاء القائمة بشكل افتراضي */
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9); /* لون خلفية عند فتح القائمة */
        position: absolute;
        top: 50px; /* بحيث تظهر تحت النافبار */
        left: 0;
    }

    .navbar ul.active {
        display: flex; /* إظهار القائمة عند تفعيل الفئة "active" */
    }

    .navbar ul li {
        margin: 10px 0;
        text-align: center; /* تأكيد توسيط النص */
    }
}
.text {
    position: absolute;
    bottom: 40%;
    left: 5%;
    width: 90%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    z-index: 10;
    animation: fadeIn 3s ease-in-out, glow 1.5s ease-in-out infinite alternate;
}

.text h1 {
    font-size: 2rem; /* حجم خط افتراضي للشاشات الكبيرة */
    line-height: 1.2;
    margin: 0;
}

/* استجابة النص */
@media (max-width: 768px) {
    .text {
        position: relative;
        bottom: 5%;
        left: 2%;
        width: 95%;
    }

    .text h1 {
        font-size: 1.5rem; /* تقليل حجم الخط على الشاشات الأصغر */
    }
}

@media (max-width: 480px) {
    .text {
        bottom: 10%;
        left: 2%;
    }

    .text h1 {
        font-size: 1.2rem; /* تقليل حجم الخط بشكل أكبر على الشاشات الصغيرة جداً */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.services-section {
    padding: 50px 0;
    text-align: center;
    position: relative;
    bottom: 20%;
}

.section-title {
    font-size: 2.5rem;
    color: #2fa6c4;
    margin-bottom: 40px;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    position: relative;
    width: 300px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: glowBackground 3s ease-in-out infinite alternate; /* إضافة أنيميشن للإضاءة */
}

/* تأثير الخط المضيء حول الكارد */
.service-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2fa6c4, #2f5c68, #2fa6c4, #2fa6c4);
    background-size: 400% 400%;
    z-index: -1;
    animation: glowing-border 5s linear infinite;
    border-radius: 15px;
}

@keyframes glowing-border {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

/* تأثير الخلفية المضيئة */


/* تنسيق المحتوى داخل الكارد */
.service-card .card-icon img {
    width: 100px;
    margin-bottom: 20px;
}

.glow-text {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px #41b3d9, 0 0 20px #204c57;
}

.service-card p {
    font-size: 1rem;
    color: #ddd;
}

/* استجابة للشاشات الأصغر */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
        max-width: 500px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .glow-text {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .service-card {
        width: 95%;
    }

    .glow-text {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }
}


/* تنسيق القسم */
.about-us-section {
    padding: 60px 20px;
    background-color: #050417;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* تصميم الرأس */
.about-us-header h2 {
    font-size: 2.5rem;
    color: #41b3d9;
    text-shadow: 0 0 15px rgba(65, 139, 199, 0.8);
    animation: glowText 3s infinite alternate;
}

.about-us-header p {
    font-size: 1.2rem;
    color: #ddd;
    margin-top: 10px;
}

/* تنسيق النص */
.about-us-content {
    margin-top: 40px;
}

.about-us-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: fadeIn 2s ease-in-out;
}

.about-us-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
}

/* تأثير الإضاءة */
.highlight {
    color: #41b3d9;
    text-shadow: 0 0 15px rgba(65, 139, 199, 0.8), 0 0 30px rgba(255, 0, 122, 0.5);
    animation: glowText 3s infinite alternate;
}

/* رسوم متحركة للنصوص */
@keyframes glowText {
    0% {
        text-shadow: 0 0 15px rgba(65, 139, 199, 0.8), 0 0 30px rgba(255, 0, 122, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(65, 139, 199, 1), 0 0 60px rgba(255, 0, 122, 1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* إضافة تأثير عند تمرير الماوس */
.about-us-section:hover .highlight {
    color: #ff007a;
    text-shadow: 0 0 20px rgba(255, 0, 122, 0.8), 0 0 40px rgba(255, 0, 122, 0.8);
}

/* استجابة للشاشات الأصغر */
@media (max-width: 768px) {
    .about-us-header h2 {
        font-size: 2rem; /* تقليل حجم الخط للرأس على الشاشات الأصغر */
    }

    .about-us-header p {
        font-size: 1rem; /* تقليل حجم الخط للفقرات */
    }

    .about-us-text h3 {
        font-size: 1.5rem; /* تقليل حجم الخط للعناوين الفرعية */
    }

    .about-us-text p {
        font-size: 1rem; /* تقليل حجم الخط للنصوص */
    }
}

@media (max-width: 480px) {
    .about-us-header h2 {
        font-size: 1.5rem; /* تقليل حجم الخط بشكل أكبر على الشاشات الصغيرة جدًا */
    }

    .about-us-header p {
        font-size: 0.9rem; /* تقليل حجم الخط للفقرات بشكل أكبر */
    }

    .about-us-text h3 {
        font-size: 1.2rem; /* تقليل حجم الخط للعناوين الفرعية بشكل أكبر */
    }

    .about-us-text p {
        font-size: 0.9rem; /* تقليل حجم الخط للنصوص بشكل أكبر */
        line-height: 1.6; /* تقليل ارتفاع السطر لتحسين العرض */
    }
}


/* خلفية الموقع */
body {
    background: linear-gradient(to left, #050417, #001924);
    color: white;
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* تنسيق قسم البورتفوليو */
.portfolio-section {
    padding: 50px 20px; /* تقليل المسافة الجانبية على الشاشات الأصغر */
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #41b3d9;
    margin-bottom: 40px;
}

.glow-text {
    color: white;
    text-shadow: 0 0 10px #41b3d9, 0 0 20px #ff007a;
    font-size: 1.5rem;
}

/* تصميم الكاردات */
.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.portfolio-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    width: 200px; /* عرض ثابت للكاردات، سيتم تعديله في استعلامات الوسائط */
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: scale(1.05);
}

/* صور دائرية */
.circular-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.portfolio-card:hover .circular-image {
    box-shadow: 0 0 20px 10px rgba(65, 179, 217, 0.7);
}

/* روابط البورتفوليو */
.portfolio-link {
    color: #41b3d9;
    text-decoration: none;
    border-bottom: 1px solid #41b3d9;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.portfolio-link:hover {
    color: #ff007a;
    border-bottom: 1px solid #ff007a;
}

/* تأثير الإضاءة المتحركة */
@keyframes glowing-border {
    0% {
        box-shadow: 0 0 10px #41b3d9, 0 0 20px #ff007a;
    }
    50% {
        box-shadow: 0 0 20px #41b3d9, 0 0 40px #ff007a;
    }
    100% {
        box-shadow: 0 0 10px #41b3d9, 0 0 20px #ff007a;
    }
}

/* استجابة للشاشات الأصغر */
@media (max-width: 768px) {
    .portfolio {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-card {
        width: 90%; /* عرض نسبي للكاردات ليتناسب مع الشاشات الأصغر */
        max-width: 350px; /* تحديد أقصى عرض للكارد لتحسين التناسب */
    }

    .section-title {
        font-size: 2rem; /* تصغير حجم الخط للرأس على الشاشات الأصغر */
        margin-bottom: 30px;
    }

    .glow-text {
        font-size: 1.2rem; /* تقليل حجم الخط للنص المضيء */
    }

    .circular-image {
        width: 60px; /* تقليل حجم الصور الدائرية */
        height: 60px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem; /* تصغير حجم الخط بشكل أكبر على الشاشات الصغيرة جداً */
        margin-bottom: 20px;
    }

    .portfolio-card {
        width: 95%; /* عرض أكبر للشاشات الصغيرة جداً */
        max-width: 300px; /* تحديد أقصى عرض للكارد لتحسين التناسب */
    }

    .glow-text {
        font-size: 1rem; /* تقليل حجم الخط للنص المضيء أكثر */
    }

    .circular-image {
        width: 50px; /* تقليل حجم الصور بشكل أكبر */
        height: 50px;
    }
}


/* إعدادات عامة للخلفية والنصوص */
body {
    background: linear-gradient(to left, #050417, #001924);
    color: white;
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* تنسيق قسم الاتصال */
.contact-section {
    padding: 50px 20px; /* تقليل الحشوة الجانبية للشاشات الأصغر */
    text-align: center;
}

.heading {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #41b3d9;
}

/* تنسيق محتوى الاتصال */
.contact-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* تنسيق نموذج الاتصال */
.contact-form {
    width: 45%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-in-out;
    margin-bottom: 30px; /* إضافة مسافة أسفل النموذج */
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #41b3d9;
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: #1b1b1b;
    color: white;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.contact-form textarea {
    height: 150px;
    width: 90%; /* تعديل العرض ليكون مناسباً للشاشات الصغيرة */
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 10px #41b3d9;
}

/* زر الإرسال */
.submit-btn {
    background-color: #1c4755;
    border: none;
    padding: 12px 30px;
    color: white;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.submit-btn a{
    color: wheat;
}

.submit-btn:hover {
    background-color: #ff007a;
    box-shadow: 0 0 20px 5px rgba(255, 0, 122, 0.7);
}

/* تأثيرات متوهجة */
.glow-text {
    text-shadow: 0 0 10px #41b3d9, 0 0 20px #ff007a;
}

.glow-btn {
    box-shadow: 0 0 10px #41b3d9, 0 0 20px #ff007a;
}

/* تنسيق معلومات الاتصال */
.contact-info {
    width: 45%;
    text-align: left;
    margin-bottom: 30px; /* إضافة مسافة أسفل قسم المعلومات */
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info iframe {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 100%; /* تأكيد أن الإطار يأخذ العرض الكامل */
    height: 300px; /* تحديد ارتفاع ثابت للخريطة */
}

/* رسوم متحركة للنموذج */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استجابة للشاشات الأصغر */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        width: 90%; /* تعديل العرض ليكون مناسباً للشاشات الأصغر */
        margin-bottom: 30px; /* إضافة مسافة أسفل القسمين */
    }

    .contact-form textarea {
        width: 90%; /* تأكيد أن منطقة النص تأخذ العرض الكامل */
    }

    .heading {
        font-size: 2rem; /* تقليل حجم الخط للرأس على الشاشات الأصغر */
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 1.5rem; /* تقليل حجم الخط بشكل أكبر على الشاشات الصغيرة جداً */
        margin-bottom: 20px;
    }

    .contact-form,
    .contact-info {
        width: 95%; /* زيادة العرض ليكون مناسباً للشاشات الصغيرة جداً */
        margin-bottom: 20px; /* تقليل المسافة أسفل القسمين */
    }

    .contact-info iframe {
        height: 250px; /* تقليل ارتفاع الإطار على الشاشات الصغيرة */
    }
}


/* خلفية الفوتر */
footer {
    background: linear-gradient(to right, #050417, #001924);
    color: white;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

/* تنسيق عناصر الفوتر */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 50px;
}

.footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
    animation: fadeInUp 1.5s ease-in-out;
}

.footer-column h3 {
    color: #41b3d9;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #41b3d9, 0 0 20px #ff007a;
}

.footer-column p, .footer-column ul, .footer-column li {
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #41b3d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ff007a;
    text-shadow: 0 0 10px #ff007a;
}

/* أيقونات التواصل الاجتماعي */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px #ff007a);
}

/* الفوتر السفلي */
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* التأثيرات المتحركة */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استجابة التصميم للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin: 20px 0;
    }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* عرض زر القائمة */
  }

  .navbar-menu {
    display: none; /* إخفاء القائمة افتراضيًا */
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px; /* تحت شريط التنقل */
    left: 0;
    width: 100%;
    padding: 10px;
  }

  .navbar-menu.active {
    display: flex; /* عرض القائمة عند النقر على الزر */
  }

  .navbar-menu li {
    margin: 10px 0;
  }
}
