/* ===== صفحة التواصل - نسخة أبيض وبنفسجي ===== */
.contact {
    position: relative;
    padding: 80px 0;
    background-color: #f8f5ff;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(103, 58, 183, 0.1) 100%);
    z-index: 1;
}

.contact .main-head {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #4a148c;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
    padding-bottom: 15px;
}

.contact .main-head:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to left, #8e24aa, #7b1fa2);
    border-radius: 2px;
}

/* تصميم البريد الإلكتروني */
.email-contact {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 15px 35px rgba(156, 39, 176, 0.1);
    border: 2px solid #8e24aa;
    overflow: hidden;
}

.email-contact:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #8e24aa, #7b1fa2);
    border-radius: 0 0 0 100px;
    z-index: 1;
}

.email-contact:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #7b1fa2, #8e24aa);
    border-radius: 0 100px 0 0;
    z-index: 1;
}

.email-icon {
    position: relative;
    z-index: 2;
    font-size: 80px;
    color: #8e24aa;
    margin-bottom: 25px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.email-address {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #8e24aa, #7b1fa2);
    color: white;
    padding: 22px 30px;
    border-radius: 12px;
    font-size: 26px;
    margin: 35px auto;
    direction: ltr;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(142, 36, 170, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    max-width: 650px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.email-address:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.email-address:hover:before {
    left: 100%;
}

.email-address:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(142, 36, 170, 0.5);
    background: linear-gradient(135deg, #7b1fa2, #8e24aa);
}

.email-address i {
    margin-left: 15px;
    font-size: 24px;
}

.instructions {
    position: relative;
    z-index: 2;
    background-color: #f9f5ff;
    padding: 30px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 750px;
    text-align: right;
    border-right: 6px solid #8e24aa;
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.08);
    border-top: 1px solid #ede7f6;
    border-bottom: 1px solid #ede7f6;
}

.instructions h3 {
    color: #4a148c;
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions h3 i {
    color: #8e24aa;
}

.instructions ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.instructions li {
    padding: 12px 0;
    font-size: 18px;
    color: #555;
    position: relative;
    padding-right: 40px;
    line-height: 1.6;
    border-bottom: 1px dashed #e1d5f0;
}

.instructions li:last-child {
    border-bottom: none;
}

.instructions li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #8e24aa;
    font-weight: bold;
    font-size: 20px;
    background: #f3e5f5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(156, 39, 176, 0.2);
}

.copy-btn {
    position: relative;
    z-index: 2;
    background: linear-gradient(to right, #7b1fa2, #6a1b9a);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 15px rgba(123, 31, 162, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.copy-btn:hover {
    background: linear-gradient(to right, #6a1b9a, #4a148c);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(123, 31, 162, 0.4);
}

.copy-btn:active {
    transform: translateY(-2px);
}

.copy-notification {
    background: linear-gradient(135deg, #8e24aa, #7b1fa2);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInOut 3s ease;
    font-size: 18px;
    font-weight: 500;
    min-width: 300px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideInOut {
    0% {
        opacity: 0;
        top: 80px;
    }

    15% {
        opacity: 1;
        top: 120px;
    }

    85% {
        opacity: 1;
        top: 120px;
    }

    100% {
        opacity: 0;
        top: 80px;
    }
}

.contact-methods {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.contact-method {
    background: linear-gradient(145deg, #ffffff, #f5f0ff);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    width: 280px;
    box-shadow: 0 12px 25px rgba(156, 39, 176, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(142, 36, 170, 0.1);
}

.contact-method:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #8e24aa, #7b1fa2);
}

.contact-method:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.15);
}

.contact-method i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #8e24aa;
    background: linear-gradient(135deg, #8e24aa, #7b1fa2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-method h4 {
    color: #4a148c;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.contact-method p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.info-box {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    padding: 25px;
    background: linear-gradient(135deg, #f3e5f5, #ede7f6);
    border-radius: 15px;
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    border: 2px dashed #8e24aa;
    text-align: center;
}

.info-box h3 {
    color: #6a1b9a;
    margin-bottom: 15px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-box p {
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

.info-box strong {
    color: #6a1b9a;
    background-color: rgba(142, 36, 170, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 700;
}

/* تصميم متجاوب */
@media (max-width: 1024px) {
  .contact .main-head {
    font-size: 32px;
  }

  .email-address {
    font-size: 22px;
    padding: 20px 25px;
  }

  .contact-methods {
    gap: 25px;
  }

  .contact-method {
    width: calc(50% - 15px);
  }
}

@media (max-width: 992px) {
  .contact {
    padding: 60px 15px;
  }

  .contact .main-head {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .email-contact {
    padding: 35px 20px;
    border-radius: 15px;
    margin: 30px auto;
  }

  .email-icon {
    font-size: 60px;
    margin-bottom: 20px;
  }

  .email-address {
    font-size: 20px;
    padding: 18px 20px;
    margin: 25px auto;
  }

  .instructions {
    padding: 20px;
  }

  .instructions li {
    font-size: 16px;
    padding-right: 35px;
  }

  .copy-btn {
    padding: 12px 30px;
    font-size: 17px;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-method {
    width: 100%;
    max-width: 400px;
    padding: 25px 20px;
  }

  .info-box {
    padding: 18px;
    margin-top: 35px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 50px 12px;
  }

  .contact .main-head {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .contact .main-head:after {
    width: 80px;
  }

  .email-contact {
    padding: 30px 15px;
    border-radius: 12px;
    margin: 25px auto;
    max-width: 95%;
  }

  .email-contact:before {
    width: 80px;
    height: 80px;
  }

  .email-icon {
    font-size: 55px;
    margin-bottom: 18px;
  }

  .email-address {
    font-size: 18px;
    padding: 16px 18px;
    margin: 20px auto;
    max-width: 100%;
  }

  .instructions {
    padding: 18px;
    margin: 25px auto;
    max-width: 100%;
  }

  .instructions h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .instructions li {
    font-size: 15px;
    padding-right: 30px;
  }

  .instructions li:before {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .copy-btn {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 15px;
    gap: 8px;
  }

  .copy-notification {
    min-width: 280px;
    font-size: 15px;
    padding: 12px 18px;
    top: 100px;
  }

  .contact-methods {
    gap: 18px;
    margin-top: 40px;
  }

  .contact-method {
    width: 100%;
    padding: 25px 18px;
    border-radius: 12px;
  }

  .contact-method i {
    font-size: 42px;
    margin-bottom: 15px;
  }

  .contact-method h4 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .contact-method p {
    font-size: 15px;
  }

  .info-box {
    padding: 18px;
    margin-top: 30px;
    max-width: 100%;
  }

  .info-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .info-box p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 40px 10px;
    min-height: 100vh;
  }

  .contact .main-head {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .contact .main-head:after {
    width: 60px;
    height: 3px;
  }

  .email-contact {
    padding: 25px 12px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 98%;
  }

  .email-contact:before {
    width: 60px;
    height: 60px;
  }

  .email-icon {
    font-size: 50px;
    margin-bottom: 15px;
  }

  .email-address {
    font-size: 16px;
    padding: 14px 15px;
    margin: 18px auto;
    letter-spacing: 1px;
  }

  .email-address i {
    margin-left: 10px;
    font-size: 20px;
  }

  .instructions {
    padding: 15px;
    margin: 20px auto;
    max-width: 100%;
    border-right: 4px solid #8e24aa;
  }

  .instructions h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .instructions li {
    font-size: 14px;
    padding-right: 25px;
    border-bottom: 1px dashed #e1d5f0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .instructions li:before {
    width: 22px;
    height: 22px;
    font-size: 14px;
  }

  .copy-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    margin-top: 12px;
    gap: 8px;
  }

  .copy-btn i {
    font-size: 16px;
  }

  .copy-notification {
    min-width: 250px;
    font-size: 14px;
    padding: 10px 15px;
    top: 90px;
    border-radius: 8px;
  }

  .contact-methods {
    gap: 15px;
    margin-top: 30px;
  }

  .contact-method {
    width: 100%;
    padding: 20px 15px;
    border-radius: 10px;
  }

  .contact-method:before {
    height: 3px;
  }

  .contact-method i {
    font-size: 38px;
    margin-bottom: 12px;
  }

  .contact-method h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .contact-method p {
    font-size: 14px;
    line-height: 1.5;
  }

  .info-box {
    padding: 15px;
    margin-top: 25px;
    max-width: 100%;
    border: 2px dashed #8e24aa;
  }

  .info-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    gap: 8px;
  }

  .info-box p {
    font-size: 14px;
    line-height: 1.6;
  }

  .info-box strong {
    padding: 2px 6px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 30px 8px;
  }

  .contact .main-head {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .email-contact {
    padding: 20px 10px;
    margin: 15px auto;
  }

  .email-contact:before {
    width: 50px;
    height: 50px;
  }

  .email-icon {
    font-size: 45px;
    margin-bottom: 12px;
  }

  .email-address {
    font-size: 14px;
    padding: 12px 12px;
    margin: 15px auto;
  }

  .instructions {
    padding: 12px;
    margin: 15px auto;
    border-right: 3px solid #8e24aa;
  }

  .instructions h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .instructions li {
    font-size: 13px;
    padding-right: 22px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .instructions li:before {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .copy-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    margin-top: 10px;
  }

  .contact-methods {
    gap: 12px;
    margin-top: 20px;
  }

  .contact-method {
    padding: 18px 12px;
    border-radius: 8px;
  }

  .contact-method i {
    font-size: 35px;
    margin-bottom: 10px;
  }

  .contact-method h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .contact-method p {
    font-size: 13px;
  }

  .info-box {
    padding: 12px;
    margin-top: 20px;
  }

  .info-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .info-box p {
    font-size: 13px;
  }
}

.email-contact:after {
    display: none;
    /* ده هيخفي الدائرة تماماً */
    content: '';
    /* باقي الكود كما هو */
}