/* إعدادات عامة */
body {
    font-family: Tahoma, Arial;
    margin: 0;
    background-color: #f5f5f5;
}

/* القائمة */
header {
    background-color: green;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    texte-color: white;
}

.menu a:hover {
    background-color: #1b5e20;
}

/* القوائم الفرعية */
.submenu {
    display: none;
    position: absolute;
    background-color: #388e3c;
    list-style: none;
    padding: 0;
    min-width: 180px;
}

.submenu li a {
    padding: 10px;
}

.dropdown:hover .submenu {
    display: block;
}

/* المحتوى */
main {
    padding: 20px;
}

.welcome {
    background: yellow;
    padding: 0px;
    margin: 0px;
    border-radius: 5px;
    background-image: url(soil.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}
.
}

/* رابط من نحن */
.actions a {
  border: 2px solid #fff;
  color: #fff;
}

.actions a:hover {
  background: #fff;
  color: #2e7d32;
}

/* سهم التمرير */
.scroll-down {
  animation: bounce 2s infinite;
  opacity: 0.9;
}

.scroll-down span {
  font-size: 2rem;
  display: block;
}

.scroll-down small {
  font-size: 0.8rem;
}

/* حركة بسيطة */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}


.about{
	h1 {
  color: red;
}
p {
  color: red;
}
    background: yellow;
    padding: 0px;


}
.about-farmer {
  padding: 0px 0px;
  background-color: #f8f9f5;
  font-family: 'Arial', sans-serif;
  margin: 0px;
  border-radius: 5px;

}

.container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.about-farmer h2 {
  color: black;
  margin-bottom: 10px;
}
.about-farmer h1 {
  color: black;
  margin-bottom: 10px;
}
.intro {
  color: #555;
  margin-bottom: 30px;
  font-size: 16px;
}

.about-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.about-images img {
  width: 45%;
  border-radius: 10px;
  object-fit: cover;
  display: float right;
  background-color: grey;
}

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.activity-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.activity-card:hover {
  transform: translateY(-5px);
}

.activity-card h3 {
  color: #388e3c;
  margin-bottom: 10px;
}

.activity-card p {
  color: #666;
  font-size: 14px;
}




.contact{
	h1 {
  color: black;
}
li{
color:red;

}
    background: yellow;
    padding: 30px;
    border-radius: 5px;

}
button {
    padding: 10px 15px;
    background-color: #2e7d32;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #1b5e20;
}

/* نموذج الاتصال */
form {
    background: grey;
    padding: 20px;
    border-radius: 5px;
}

input, textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    color:grey;
}
main {
    padding: 20px;
}

section {
    background: white;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    color: #2e7d32;
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

form textarea {
    resize: vertical;
    min-height: 80px;
}

button {
    margin-top: 15px;
    background-color: #2e7d32;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #1b5e20;
}

footer {
    text-align: center;
    background-color: #2e7d32;
    color: white;
    padding: 10px;
}
/*css agri1*/
.agri-section {
    padding: 40px;
    background-color: #f5f7f2;
    direction: rtl;
    font-family: Arial, sans-serif;
}

.section-title {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 40px;
}

.category {
    margin-bottom: 50px;
}

.category h3 {
    color: red;
    margin-bottom: 20px;
    border-right: 5px solid #4caf50;
    padding-right: 10px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.card h4 {
    margin: 15px 0;
    color: #333;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4caf50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.btn:hover {
    background-color: #388e3c;
}
.agri-form-section {
    background-color: #ffffff;
    padding: 40px;
    margin-top: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #2e7d32;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4caf50;
    outline: none;
}

.form-actions {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background-color: #9e9e9e;
}

.btn-secondary:hover {
    background-color: #757575;
}
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.dashboard-table th,
.dashboard-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.dashboard-table th {
    background-color: #4caf50;
    color: white;
}
//* انتهاء   agri css
