.service-title {
    text-align: center;
    color: #333333;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
}
.service-title1 {
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}
.lines-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 30px;
}

.line {
    width: 50px;
    height: 4px;
    background-color: #ff305b;
    border-radius: 2px;
}

.line.middle {
    width: 80px;
}

.hr-3d {
    height: 10px;
    border: none;
    background: linear-gradient(to bottom, #ddd, #888, #ddd);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    margin: 0px 0px; 
}
/* about */
.profile {
    padding: 60px;
    overflow: hidden;
    width: 100%;
}

.profile .service-title {
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.profile-content {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    padding: 10px;
    align-items: center;
    justify-content: center;
    gap: 20px; 
    max-width: 90%; 
    margin: 0 auto; 
}

/* صندوق الخلفية للصورة */
.profilecontent1 {
    background-color: transparent;
    width: 350px;
    height: 350px;
    position: relative;
    padding: 15px;
    border: 6px solid #555555;
    border-radius: 5px;
    /* max-width: 300px;  */
    flex-shrink: 0; 
    /* لا يسمح له بالتقلص */
}


.profile-image {
    position: absolute;
    right: -20px;
    bottom: -20px;
    z-index: 2;
}

.profile-image img {
    width: 350px;
    height: 350px;
    border-radius: 5px;
    background-color: #fff;
}

.profile-info {
    width: 50%;
    /* max-width: 500px;  */
    text-align: right;

}

.profile-info h1 {
    font-size: 30px;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.profile-info p {
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    text-align: justify;
    margin-bottom: 20px;
}


/* about */

.icons-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    background-color: #01579B;
    background-image: url(../image/triangle-dots.png);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* .icons-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
} */

.title-row {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.lines-container {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.line {
    width: 50px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
}

.line.middle {
    width: 80px;
}

.icons-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.icon-box {
    position: relative;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    max-width: 280px;
    width: 100%;
}

.icon-box:hover {
    transform: translateY(-10px);
}

.icon-box .icon-background {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.icon-box i {
    font-size: 40px;
    color: #ffcc00;
    position: relative;
    z-index: 1;
}

.icon-box h2 {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.icon-box p {
    font-size: 0.95rem;
    color: #ddd;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* تحسين التناسق للأجهزة الصغيرة */
@media (max-width: 768px) {
    .icons-row {
        flex-direction: column;
        align-items: center;
    }

    .icon-box {
        max-width: 90%;
    }
}
/* ✅  service */



/* service */

.container1 {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    background-color: #01579B;
    background-image: url(../image/triangle-dots.png);
    background-size: cover;
    background-attachment: fixed;
    /* position: relative; */
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 20px;

}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    max-width: 300px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: #ffffff;
    margin-top: 10px;
}

.service-card-in i {
    font-size: 35px;
    color: #fafafa;
    transition: 0.3s;
}
.service-btn {
    display: inline-block;
    padding: 10px 15px;
    margin-top: 10px;
    color: white;
    background-color: #0288d1;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.bttn{
    display: flex;
    justify-content: center;
    align-items: center;

}
.service-btn a {
    color: white;
    text-decoration: none; /* إزالة التسطير تحت الرابط */
    font-weight: bold;
}

/* تصميم متجاوب */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* feedback */


.feedback-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
}

.feedback-content {
    display: none;
}

.feedback-content.active {
    display: block;
}

.profile-pic img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ff4c4c;
}

.feedback-text {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.feedback-name {
    font-weight: bold;
    margin-top: 5px;
    color: #ff305b;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn {
    background-color: #ff305b;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}



/* feedback */

/* اتصل الان */
.contact-section {
    background: #01579B;
    color: white;
    padding: 40px 20px; 
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-container {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px; 
    width: 95%;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info {
    flex: 1;
    width: 50%;
    text-align: center;
    padding: 15px;
    margin: 10px; 
}

.contact-info p {
    font-size: 20px; 
    margin-bottom: 10px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    font-size: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
.contact-item a {
    color: white;
    text-decoration: none; 
  }

  .contact-item a:hover {
      color: #0018f0; 
  }
.contact-item:hover {
    transform: scale(1.05);
}

.contact-item i {
    font-size: 18px;
    color: #ffd700;
}

.contact-image {
    flex: 1;
    width: 50%;
    text-align: center;
}

.contact-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.contact-link {
    text-decoration: none; 
    display: block; 
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    color: white; 
}

.contact-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3); 
}


/* contact */

/* الخريطة */
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    text-align: center;
}

/* media query for index page */

/* 768 */
@media screen and (max-width: 768px) {
    .profile {
        padding: 40px;
    }

    .profile-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info {
        width: 90%;
    }

    .profilecontent1 {
        width: 200px;
        height: 280px;
    }

    .profile-image img {
        width: 200px;
        height: 280px;
    }

    .feedback-container {
        width: 90%;
    }
    .title h1{
        font-size: 22px; 
    }
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding: 25px; 
        max-width: 90%;
        margin: auto; 
    }
    .contact-info {
        text-align: center;
        padding: 15px;
        border-radius: 10px; 
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
        width: 100%;
    }
    .contact-info h2 {
        font-size: 20px; 
    }
    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .contact-item {
        display: flex;
        align-items: center;
        gap: 12px; 
        justify-content: center;
        font-size: 17px; 
        padding: 10px;
     
        border-radius: 8px;
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    }
    .contact-item i {
        font-size: 20px; 
        color: #ff9800;
    }
    .contact-image img {
        max-width: 300px; 
        margin-top: 15px;
    }
    .contact-item a {
        color: white;
        text-decoration: none; 
      }
    
      .contact-item a:hover {
        color: #0018f0; 
    }
  .contact-item:hover {
      transform: scale(1.2);
      transition:transform 0.3s ease-in-out;
  }
  .service-title1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}
    

}


/* 480 */
@media screen and (max-width: 480px) {
    .profile {
        padding: 20px;
    }

    .profile-info {
        width: 100%;
    }

    .profilecontent1 {
        width: 130px;
        height: 200px;
        border-width: 4px;
    }

    .profile-image img {
        width: 130px;
        height: 200px;
    }

    .profile-info h1 {
        font-size: 22px;
    }

    .profile-info p {
        font-size: 14px;
        line-height: 24px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .title h1{
        font-size: 22px; 
    }
    .contact-container {
        max-width: 95%;
        padding: 15px;
    }
    .contact-info h2 {
        font-size: 20px;
    }
    .contact-item {
        font-size: 16px;
        padding: 8px;
    }
    .contact-item i {
        font-size: 20px;
    }
    .contact-image img {
        max-width: 200px;
    }
    .contact-item a {
        color: white;
        text-decoration: none; 
      }
    
      .contact-item a:hover {
          color: #0018f0; 
      }
    .contact-item:hover {
        transform: scale(1.2);
        transition:transform 0.3s ease-in-out;
    }
    

}

