/* تحسين MedixIT Services على الموبايل */
@media (max-width: 767px) {
  .hero-03.hero {
    position: relative;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    min-height: 60vh;
    overflow: hidden;
  }
  .hero-03.hero .video-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55); /* طبقة داكنة */
    z-index: 1;
    pointer-events: none;
  }
  .hero-03.hero .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero-03.hero .hero-content h4,
  .hero-03.hero .hero-content p {
    color: #fff !important;
    text-shadow: 0 2px 10px #000, 0 0px 2px #000;
  }
  .hero-03.hero .hero-content h4 {
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
    margin-bottom: 0.7rem;
    font-weight: bold;
  }
  .hero-03.hero .hero-content p {
    font-size: 1.05rem !important;
    line-height: 2 !important;
    max-width: 100%;
    padding: 0 4px;
    margin: 0.7rem 0;
    word-break: break-word;
  }
  .hero-03.hero .hero-center {
    padding: 0 !important;
  }
  .hero-03.hero .video-overlay {
    background-size: cover !important;
    background-position: center !important;
    min-height: 60vh !important;
    height: 100% !important;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  }
  .hero-03.hero .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 575px) {
  .hero-03.hero .hero-content h4 {
    font-size: 1.1rem !important;
  }
  .hero-03.hero .hero-content p {
    font-size: 0.97rem !important;
    padding: 0 2px;
  }
}

/* Additional Mobile Responsiveness Enhancements */
@media (max-width: 767px) {
  /* Navigation */
  header {
    padding: 10px !important;
    height: 60px;
  }
  .logo img {
    height: 40px !important;
  }
  .overlay-menu-toggler {
    font-size: 1.5rem !important;
  }

  /* General Content */
  .section {
    padding: 3rem 0 !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  p {
    font-size: 0.9rem !important;
  }
  .max-width-365 {
    max-width: 90% !important;
  }

  /* Contact Form */
  #contact .form-control {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
  #contact .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 1.5rem !important;
  }
  .contact-info li {
    font-size: 0.9rem !important;
  }

  /* Footer */
  footer {
    padding: 1.5rem 0 !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 575px) {
  /* Further adjustments for smaller screens */
  .hero-content h4 {
    font-size: 1.1rem !important;
  }
  .hero-content p {
    font-size: 0.97rem !important;
    padding: 0 2px;
  }
  h2 {
    font-size: 1.3rem !important;
  }
  .pill-button {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
  }
  #contact .form-control {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 767px) {
    #visual-identity .about-text,
    #landing-pages .about-text {
        display: none;
    }

    #visual-identity img,
    #landing-pages img {
        max-width: 300px;
        width: 100%;
        height: auto;
    }

    #visual-identity h2,
    #landing-pages h2 {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* إزالة أي تأثير على الشاشات الكبيرة */
@media (min-width: 768px) {
    #visual-identity .about-text,
    #landing-pages .about-text {
        display: block;
    }

    #visual-identity img,
    #landing-pages img {
        max-width: none;
        width: auto;
        height: auto;
    }

    #visual-identity h2,
    #landing-pages h2 {
        font-size: inherit;
        text-align: inherit;
    }
}

@media (max-width: 767px) {
    #websites .about-text {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-only-link {
        pointer-events: none;
        cursor: default;
    }
}
