body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #FCFEFF;
  color: #34435C;
}

header {
  background-color: #1EAC9E;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.logo img {
  height: 80px;
}

section {
  padding: 60px 20px;
  background-color: #DEEFEE;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
  background-color: #DEEFEE;
  text-align: center;
}

.hero .text {
  flex: 1;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 36px;
  color: #34435C;
}

.hero p {
  font-size: 18px;
  margin: 20px 0;
}

.btn-group {
  margin-top: 20px;
}

button, .btn, .btn-download {
  background-color: #1EAC9E;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover, .btn:hover, .btn-download:hover {
  background-color: #13867d;
}

.card, .content-box, .compact-form {
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #34435C;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

footer {
  background-color: #1EAC9E;
  color: white;
  text-align: center;
  padding: 20px;
}

.social-icons {
  margin-bottom: 10px;
  text-align: center;
}

.social-icons a {
  display: inline-block;
  margin: 0 8px;
}

.social-icons img {
  height: 30px;
  width: 30px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}

table {
  width: 120%;
  border-collapse: collapse;
  background-color: white;
  font-size: 14px;
  margin-top: 30px;
}

thead {
  background-color: #1EAC9E;
  color: white;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

table tr:nth-child(even) {
  background-color: #F5F9F9;
}

.course-list, .inhouse-topics {
  padding-left: 20px;
  margin-bottom: 20px;
}

.course-list li, .inhouse-topics li {
  line-height: 1.8;
  font-size: 16px;
}

.search-container {
  margin: 20px 0;
  text-align: center;
}

.search-container input {
  padding: 10px;
  width: 60%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.map-section {
  margin: 50px 0;
  padding: 20px;
  background-color: #F5F9F9;
  text-align: center;
  border-radius: 12px;
}

.map-section h2 {
  color: #1EAC9E;
  margin-bottom: 20px;
  font-size: 24px;
}

.map-container {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form {
  background-color: #fff;
  padding: 60px 20px;
  text-align: left;
}

.contact-form h2 {
  color: #1EAC9E;
  margin-bottom: 30px;
  text-align: center;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: bold;
  color: #34435C;
}

input[type="text"],
input[type="email"],
select,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #1EAC9E;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #13867d;
}

.slideshow-container {
  width: 100%;
  height: 100%;
  max-width: 550px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  font-size: 28px;
  background-color: rgba(0,0,0,0.3);
  color: white;
  font-weight: bold;
  border-radius: 3px;
  user-select: none;
  z-index: 2;
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

.dots-container-overlay {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 3;
}

.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #1EAC9E;
}
.expandable-content {
  max-height: 220px; /* يعادل تقريبًا 10 أسطر */
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.expandable-content.expanded {
  max-height: 3000px; /* أي ارتفاع يكشف كل المحتوى */
}

.btn-show-more {
  display: block;
  margin: 10px auto;
  background-color: #1EAC9E;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
section,
.content-box,
.card,
.hero,
.contact-form {
  background-color: #FCFEFF;
}
