
body{
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
  }
  
  

  
  
    /* لون الروابط في الشاشات الصغيرة */
    @media (max-width: 991.98px) {
      .navbar-nav .nav-link {
        color: #4f4f4f !important;
      
      }
    }
   .navbar{
    background-color: #074a7d;
   }
   .nav-link {
    color: #ffffff !important; 
    font-weight: 800;
  }

    .nav-link:hover {
      color: #0b7cd3 !important; 
    }
  
  
    .nav-item.active .nav-link {
      color: #ffffff !important;
      font-weight: bold;
      border-bottom: 2px solid #ffffff;
    }
  
    
    .nav-animated {
      transition: all 0.3s ease;
    }
  
  
    .navbar-brand {
      height: 50px;
      width: 70px;
    }
  
    .navbar-brand img {
      height: 130%;
      width: 150%;
      object-fit: cover;
    }
  ul {
    list-style: none; 
    padding: 0;
  }
  ul li {
    margin: 5px 10px;
  }
  

.btn{
    color: #ffffff;
    border: 2px solid #074a7d;
  }
  .btn-primary-1
  { 

  
    background-color: #074a7d
    ;
    color: #ffffff;
  }
  .btn-primary-1:hover
  { 
    border: 2px solid #074a7d;

    ;
    color: #074a7d;
  }
  .btn2:hover{

    background-color: #074a7d !important
    ;
    color: #ffffff !important;
    border: 2px solid #074a7d;

  }


  .hero {
    position: relative;
    min-height: 100vh;
    background: url('img/photo_2025-07-18_12-57-32.jpg') no-repeat center 10%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  
  .hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(78, 96, 131, 0.7); /* الشفافية فوق الصورة */
    z-index: 0;
  }
  
  .hero .container {
    position: relative;
    z-index: 1;
  }
  




  .section-title{
    color: #074a7d;
     font-weight: 800;
  }


.swiper {
    padding-bottom: 50px;
    margin-top: 50px;
  }
  .swiper-slide {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgb(255, 255, 255);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgb(255, 255, 255);
  }
  .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    flex-shrink: 0;
  }
  .card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #074a7d
    
  }
  .card-title {
    
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .card-text {
    color: #000;
    flex-grow: 1;
  }
  .swiper-pagination-bullet-active{
    background-color: #074a7d;
  }
  .view-demo-btn {
    background-color: #074a7d;
    border: none;
     color: #fff;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .view-demo-btn:hover  {
    background-color: #ffffff;
    transform: scale(1.1);
    color: #074a7d !important;
  }
  .view-demo-btn i {
    color: #ffffff;
    font-size: 20px;
  }
  .view-demo-btn:hover i {
    color: #074a7d;
    font-size: 20px;
  }
  /* Modal styling */
  .image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
  }
  
  .image-modal img {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 90%;
    border-radius: 10px;
  }
  
  .close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  

  footer{
    background: linear-gradient(to right,#074a7d, #fff);
  }
  
  #about {
    padding: 60px 0;
    
    background-color: #f9f9f9;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .about-image {
    border: 4px solid #074a7d;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  .about-image img:hover {
    transform: scale(1.03);
  }
  
  .content-about h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #074a7d;
  }
  
  .content-about p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
  }
  
  .divider {
    height: 2px;
    background: #074a7d;
    margin: 30px 0;
  }
  .about-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .about-info li {
    flex: 1 1 300px;
    font-size: 16px;
    background: #fff;
    padding: 12px 16px;
    border-left: 4px solid #074a7d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .about-info li span {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
  }
  .skills-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #074a7d;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
  }
  
  .skill-item {
    background: #fff;
    border-left: 5px solid #074a7d;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .skill-item:hover {
    transform: translateY(-5px);
  }
  
  .skill-icon {
    font-size: 24px;
    color: #074a7d;
    margin-bottom: 10px;
    display: block;
  }
  /* القسم العام */
.contact-section {
    background-color: #f5f7fa;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  /* العنوان */
  .contact-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #074a7d;
  }
  
  /* الفورم */
  .contact-section form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }
  
  .contact-section .form-label {
    font-weight: 600;
    color: #444;
  }
  
  .contact-section .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px 15px;
    transition: border-color 0.3s ease;
  }
  
  .contact-section .form-control:focus {
    border-color: #074a7d;
    box-shadow: none;
  }
  
 label{
    color: #074a7d !important;
 }
  
  /* قسم الأيقونات */
  .contact-section .text-center h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
  }
  
  .contact-section .social-icons a {
    width: 50px;
    height: 50px;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    text-decoration: none;
  }
  
  .contact-section .social-icons a:hover {
    transform: translateY(-5px);
  }
  
  .contact-section .social-icons a.text-success:hover {
    background-color: #25d366;
    color: #fff !important;
  }
  
  .contact-section .social-icons a.text-danger:hover {
    background-color: #e1306c;
    color: #fff !important;
  }
  
  .contact-section .social-icons a.text-primary:hover {
    background-color: #1877f2;
    color: #fff !important;
  }
  
  .contact-section .social-icons a.text-info:hover {
    background-color: #0a66c2;
    color: #fff !important;
  }
  