.nav a{
  color: #2c7364;
  font-size: 22px;
  font: bold;
  font-family: cursive;
  margin-top: 10px;

}

.nav-item a{
    color: #2c7364;
  font-size: 22px;
  font: bold;
  font-family: cursive; 

  
}
.definition{
  font-size: 20px;
  font: bold;
  font-family: cursive;
}
 .nav{
     height: 80px;
background-color:seagreen;
border-bottom: 2px solid rgba(255, 255, 255, 0.3);

 }

   .img{
       height: 500px;
       width:1366px;
   }
   .w-100{
        height: 500px;
      width: 50px;
   }
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
   
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    justify-content:center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}

.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.switch-form {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.switch-form a {
    color: #4CAF50;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

.toggle-form {
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 20px;
    }

    .form-container {
        width: 100%;
        max-width: 100%;
    }}


    .container1 {
    text-align: center;
    width: 80%;
    max-width: 1200px;
}

.title1{
    font-size: 36px;
    color: #2c7364;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Card Container */
.card-container1{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Card Styles */


.card1 {
    flex: 1;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card1 h2 {
    font-size: 48px;
    color: #2c7364;
    margin-bottom: 15px;
    text-align: center;
}

.card1 h3 {
    font-size: 24px;
    color: #333333;
    margin-bottom: 10px;
        text-align: center;

}

.card1 p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
        text-align: right;

}

/* Hover Effect */
.card1:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}


.block_1{
     display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
  .container2{
            display: flex;
            align-items: center;
            justify-content: center;
                        width: 100%;
  height: 100vh;
            margin: 50px auto;
            padding: 20px;
            border-radius: 10px;
        }
        .image-container2 {
            flex: 1;
            padding: 10px;
        }
        .image-container2 img {
            width: 80%;height: 80%;

            border-radius: 5px;
        }
        .text-container2 {
            flex: 1;
            padding: 20px;
        }
        .text-container2 h2 {
            color: #2c7364;
            font-size: 24px;
            font-weight: bold;
            text-align: right;
        }
        .text-container2 p {
                        text-align: right;

            color: #666;
            font-size: 16px;
            margin-top: 10px;
        }
        .button2 {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 20px;
            background: #002D62;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
        }
        .button2:hover {
            background: #0056b3;
        }
         .contact-container3 {
            display: flex;
            background: white;
            border-radius: 12px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
            max-width: 1000px;
            width: 100%;
            overflow: hidden;
        }

        .contact-info3 {
            background: #2c7364;
            padding: 30px;
            color: white;
            width: 35%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact-info3 h2 {
            font-size: 22px;
            margin-bottom: 20px;


        }

        .contact-info3 p {
            margin: 10px 0;
            display: flex;
            align-items: center;
            font-size: 14px;
            opacity: 0.8;

        }

        .contact-info3 p i {
            margin-right: 10px;
        }

        .contact-form3 {
            width: 65%;
            padding: 40px;
            text-align: left;
            background: white
        }

        .contact-form3 h2 {
            color: #0d355f;
            font-size: 22px;
            margin-bottom: 5px;            text-align: right;


        }

        .contact-form3 p {
            color: #777;
            margin-bottom: 20px;
            font-size: 14px;            text-align: right;

        }

        .contact-form3 input, 
        .contact-form3 textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border-radius: 8px;
                      background:white;
            border: 1px solid #ccc;
            outline: none;
                        text-align: right;

        }

        .send-button3 {
            display: block;
            width: 100%;
            padding: 12px;
            background: #2c7364;
            color: white;
            font-weight: bold;
            border-radius: 8px;
            text-align: center;
            border: none;
            cursor: pointer;
            box-shadow: 0px 3px 10px rgba(0, 123, 255, 0.4);
            transition: 0.3s;
        }

        .send-button3:hover {
            transform: translateY(-2px);
            box-shadow: 0px 5px 15px rgba(0, 123, 255, 0.5);
        }

        @media (max-width: 768px) {
            .contact-container3 {
                flex-direction: column;
            }
            .contact-info3 {
                width: 100%;
                text-align: center;
                padding: 20px;
            }
            .contact-form3 {
                width: 100%;
            }
        }
        .bloc3{

   
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            padding: 20px;
        }
        .bloc5{
    margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
            direction: rtl; /* للكتابة من اليمين لليسار */
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            padding: 20px;
        }
        .title5{
                        font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #333;
            text-align: center;

        }
           .container4{
            width: 90%;
            max-width: 1100px;
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 40px;
        }

        h2 {
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 30px;
            width: 100%;
        }

        .menu4 {
            flex: 1;
            border-left: 2px solid #ddd;
            padding-left: 30px;
        }

        .menu-item4 {
            margin-bottom: 20px;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            padding: 10px;
            transition: 0.3s;
            border-radius: 5px;
            text-align: right;
        }

        .menu-item4:hover, .menu-item4.active {
            background: #007bff;
            color: white;
        }

        .content4 {
            flex: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .content4 p {
            font-size: 16px;
            color: #555;
            margin-bottom: 20px;
        }

        .image4 {
            width: 25%;
            border-radius: 8px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease-in-out;
        }

        .image4:hover {
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .container4 {
                flex-direction: column;
                text-align: center;
            }
            .menu4
             {
                border-left: none;
                padding-left: 0;
            }
        }
          .container6 {
            max-width: 900px;
            margin: auto;
        }
        .header6 {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .sub-header6 {
            color: #666;
            margin-bottom: 30px;
        }
        .cards6 {
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        .card6 {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            text-align: center;
            width: 250px;
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        }
        .card6:hover {
            transform: translateY(-10px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
                        background: #A4D9B2;

        }
        .icon6 {
            font-size: 30px;
            margin-bottom: 10px;
            transition: transform 0.3s ease-in-out;
        }
        .card6:hover .icon6 {
            transform: rotate(10deg);
        }
        .btn6 {
            display: inline-block;
            margin-top: 15px;
            padding: 8px 12px;
            border: 1px solid #2c7364;
            color:  #2c7364;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s;
        }
        .btn6:hover {
            background: #eaf8f4;
        }
        .block7{
               font-family: Arial, sans-serif;
            text-align: center;
            background-color: #f8f9fa;
            padding: 40px;
        }

           .container8 {
            max-width: 900px;
            margin: auto;
        }
        .header8 {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        .sub-header8 {
            color: #666;
            margin-bottom: 40px;
        }
        .cards8 {
            display: flex;
            justify-content: center;
            gap: 20px;
                        width: 100%;

        }
        .title_h3{
   font-size: 24px;
    color: #333333;
    margin-bottom: 10px;
        font-weight: bold;

        text-align: center;

}
        .card8 {
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            width: 750px;
            transition: transform 0.3s ease-in-out;
        }
        .card8:hover {
            transform: translateY(-10px);
        }
        .icon8 {
            font-size: 40px;
            margin-bottom: 15px;
            color: #2c7364;
        }
        .btn8 {
            background: #007bff;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
            margin-top: 15px;
            display: inline-block;
        }
        .btn8:hover {
            background: #0056b3;
        }
        .block8{
              font-family: Arial, sans-serif;
            text-align: center;
            padding: 40px;
        }
        .search-container1 {
            display: flex;
         
            align-items: center;
            background: #FA8072;
            padding: 10px;
            border-radius: 50px;
            width: 400px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        .search-container1 i {
            color: white;
            padding: 0 15px;
            font-size: 18px;
        }
        .search-container1 input {
            flex: 1;
            border: none;
            outline: none;
            padding: 10px;
            font-size: 16px;
            background: transparent;
            color: white;
        }
        .search-container1 input::placeholder {
            color: rgba(255, 255, 255, 0.8);
        }
        .b1{
        background: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            color: #F89880;
            cursor: pointer;
            width:20%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        .b1:hover {
            background: #f1f1f1;
        }


.featured-properties10 {
    padding: 40px 20px;
}

.featured-properties10 h2 {
    font-size: 28px;
    font-weight: bold;
}

.featured-properties10 p {
    color: #666;
    margin-bottom: 20px;
}

.properties-container10 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.property-card10 {
    background: #fff;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.property-card10 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tag10 {
    position: absolute;
    margin: 10px;
    padding: 5px 10px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

.for-sale10 {
    background-color: #ff5c5c;
}

.for-rent10 {
    background-color: #3498db;
}

.info10 {
    padding: 15px;
}

.info10 h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info10 p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.price10 {
    font-size: 20px;
    font-weight: bold;
    color: #2ecc71;
    margin-top: 10px;
}

.agent10 {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}
  footer {
      background: #A4D9B2;
      color: #2c7364;
      padding: 30px 20px;
    }
    .footer-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .footer-section {
      flex: 1;
      min-width: 250px;
      margin: 10px;
    }
    .footer-section h3 {
      margin-bottom: 15px;
      font-size: 18px;
    }
    .footer-section p, .footer-section li {
      font-size: 14px;
      line-height: 1.6;
    }
    .footer-section ul {
      list-style: none;
      padding: 0;
    }
    .footer-section ul li {
      margin-bottom: 10px;
    }
    .footer-section ul li a {
      color: #2c7364;
      text-decoration: none;
      transition: color 0.3s;
    }
    .footer-section ul li a:hover {
      color: white;
    }
    .social-icons {
      text-align: center;
      margin-top: 20px;
    }
    .social-icons a {
      color: #2c7364;
      text-decoration: none;
      margin: 0 10px;
      font-size: 20px;
      transition: color 0.3s;
    }
    .social-icons a:hover {
      color: white;
    }
    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      font-size: 14px;
      border-top: 2px solid rgba(255, 255, 255, 0.3);
      padding-top: 20px;
    }
    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        align-items: center;
      }
      .footer-section {
        margin: 20px 0;
      }
    }



