@import url("https://cdn-uicons.flaticon.com/3.0.0/uicons-bold-straight/css/uicons-bold-straight.css");

* {
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}
.container .header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #6326f7;
  position: fixed;
  width: 100%;
  z-index: 10000;
}
.container .logo .img {
  width: 150px;
}
.container .navbar .ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
}
.container .navbar a {
  font-size: 25px;
  font-weight: bold;
  padding: 10px;
  color: white;
}
.container .navbar a:hover {
  background-color: #c8b4f9;
  color: white;
}
.active {
  background-color: #c8b4f9;
  color: white !important;
}
.container .join {
  font-size: 25px;
  font-weight: bold;
  padding: 10px;
  background-color: #c8b4f9;
  color: white;
  cursor: pointer;
  border-radius: 10px;
}
.container .register {
  display: flex;
  align-items: center;
  gap: 10px;
}
.container .logout {
  font-size: 25px;
  font-weight: bold;
  padding: 10px;
  background-color: #c8b4f9;
  color: white;
  cursor: pointer;
  border-radius: 10px;
  display: none;
}
/* Basic dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 0;
  margin: 0;
  list-style: none;
  top: 45px;
  left: 60px;
  text-align: center;
  background-color: #b397f7;
}

.dropdown-content li a {
  color: black;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background-color: #6326f7;
}
.dropdown i {
  font-size: 20px;
}
.hello {
  color: white;
  font-size: 25px;
}
/***************************************************************/
.home {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #c8b4f9;
  padding-bottom: 225px;
  padding-top: 100px;
}
.home .cont {
  font-size: 25px;
}
.home .cont span {
  color: #6326f7;
}

.home .search {
  position: relative;
  text-align: center;
}
/* .search .inputsarch {
  outline: none;
  padding: 15px;
  border-radius: 10px;
  border: none;
  padding-right: 300px;
} */
.search {
  padding-top: 50px;
}
.search .inputsarch {
  width: 100%;
  max-width: 500px;
  padding: 15px;
  border-radius: 10px;
  border: none;
  outline: none;
}

.search .btnseach {
  padding: 15px;
  border-radius: 15px;
  border: none;
  background-color: #6326f7;
  color: white;
  cursor: pointer;
}
.search .btnseach:hover {
  background-color: #3e12a5;
}
/* Hide toggle on large screens */
.toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}
.up {
  position: fixed;
  right: 15px;
  bottom: 100px;
  background-color: #3e12a5;
  color: white;
  padding: 20px;
  border-radius: 50%;
  z-index: 1000;
  transition: 0.4s;
  cursor: pointer;
  opacity: 0;
}
/****************************************************************************************/
.chooseUs {
  display: flex;
  justify-content: space-around;
}
.chooseUs .text {
  width: 40%;
  font-size: 20px;
}
.chooseUs h1 {
  font-size: 3.5rem;
}
.chooseUs .text h6 {
  padding-top: 50px;
  font-size: 20px;
  color: #6326f7;
  padding-bottom: 10px;
  border-bottom: 2px dashed #6326f7;
  width: fit-content;
}
.chooseUs .text h4 {
  font-weight: 900 !important;
  font-family: "Jost", sans-serif;
}
.chooseUs .img img {
  width: 500px;
}
.elements .box {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px;
}
.elements .box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

/**********************************************************************************************************/
.ourCources {
  width: 98%;
  padding: 15px;
  text-align: center;
}
.ourCources h6 {
  padding-top: 50px;
  font-size: 20px;
  color: #6326f7;
}
.ourCources h1 {
  /* font-size: calc(1.475rem + 2.7vw); */
  font-size: 3.5rem;
}
.ourCources .cource {
  padding: 10px;
  text-align: center;
}
.ourCources .img img {
  width: 100%;
  height: 350px;
  border-radius: 10px;
}
.ourCources .title {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}
.ourCources .cource:hover {
  opacity: 0.8;
  cursor: pointer;
}
/**********************************************************************/
/* .contact {
  display: flex;
}
.contact .left {
  padding: 20px;
  background-color: #ecf4ff;
}
.contact .left .row {
  display: flex;
  padding: 20px;
  gap: 10px;
  align-items: center;
}
.contact .left img {
  width: 50px;
  border-radius: 50%;
} */
.contact {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
  padding-bottom: 30px;
}

.left,
.right {
  padding: 40px;
  flex: 1 1 400px;
}

.left {
  background: #3e12a5;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.row img {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.row h2 {
  font-size: 25px;
  margin-bottom: 5px;
}

.row p {
  font-size: 14px;
  opacity: 0.9;
}

/* Right Side Form */
.right h6 {
  color: #6326f7;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.right h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.contactform form {
  display: flex;
  flex-direction: column;
}

.contactform input,
.contactform textarea {
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 10px;
  background: #f1f1f1;
  resize: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.contactform input:focus,
.contactform textarea:focus {
  outline: none;
  background: #e0e0e0;
}

.contactform input[type="submit"] {
  background: #6326f7;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contactform input[type="submit"]:hover {
  background: #4a1bc2;
}

/**********************************************************************************/

.footer {
  background-color: #1e1e2f;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: "Segoe UI", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
}

.footer h3,
.footer h4 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-about p {
  max-width: 300px;
  line-height: 1.6;
  color: #ccc;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #6326f7;
}

.footer-contact p {
  margin: 8px 0;
  color: #ccc;
}

.footer-contact i {
  margin-right: 10px;
  color: #6326f7;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 15px;
}

/**************************************************/

.content {
  width: 650px;
}

.image img {
  width: 400px;
  padding-bottom: 50px;
  padding-top: 50px;
}

.content p {
  font-weight: 200;
  width: 400px;
  display: flex;
  flex-wrap: wrap;
}
td:hover {
  background-color: #f0f0f0;
}
.tables {
  display: flex;
  flex-wrap: wrap;
}

.td {
  color: hwb(60 100% 0%);
  text-align: center;
  text-transform: uppercase;
  width: 250px;
  padding: 10px;
}
.td span {
  font-size: 10px;
  font-weight: bold;
}
.counter {
  font-size: 25px;
}
.tables .green {
  background-color: rgb(42, 81, 3);
}
.tables .blue {
  background-color: rgb(12, 136, 237);
}
.tables .red {
  background-color: rgb(189, 22, 44);
}
.tables .yellow {
  background-color: rgb(207, 175, 13);
}
.about .p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.about .title {
  font-size: 50px;
}
.about .para {
  font-size: 15px;
}
.counter-container .counter span {
  color: #ccc;
}
.tables {
  padding-top: 50px;
  width: 600px;
  height: 150px;
}

.image-container {
  margin: 40px auto;
}

.image-container img {
  width: 350px;
  height: 300px;
  display: none;
}

.image-container img.active {
  display: block;
}

.team-container {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.team-data {
  min-width: 250px; /* Adjust as needed */
  margin: 0 10px;
  box-sizing: border-box;
  text-align: center;
}

.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: auto;
}

.slider-window {
  width: 780px; /* 3 images x 260px each */
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 260px;
  box-sizing: border-box;
  padding: 10px;
}

.second-page-header {
  color: black;
  text-align: center;
  padding: 20px;
}

/* ------------------------------------------ */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-window {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.card {
  flex: 0 0 33.333%;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.info {
  background-color: #e9f2ff;
  padding: 15px;
  border-radius: 0 0 8px 8px;
  margin-top: -5px;
}

.info h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  font-weight: bold;
}

.info p {
  color: #777;
  margin: 0 0 10px;
}

.social-icons i {
  margin: 0 5px;
  color: #3e12a5;
  cursor: pointer;
  font-size: 16px;
}

/* زر السهم */
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: #3e12a5;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: #4a1bc2;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}
.feed-back {
  background-color: #77777726;
  margin: 50px;
  padding: 30px;
}
.Testimonial {
  width: 600px;
}
.Testimonial p {
  color: #2c3e50;
  font-size: 20px;
  text-align: left;
  direction: rtl;
  background-color: #ecf0f1;

  margin-top: 40px;
  border-radius: 8px;
}
.Testimonial h1 {
  padding-top: 10px;
  font-weight: bold;
  font-size: 50px;
}
.Testimonial h6 {
  font-size: 24px;
  border-bottom: 2px dashed #3e12a5;
  color: #3e12a5;
  padding-bottom: 5px;
  width: fit-content;
}
.feed-back-1 {
  width: 400px;
  height: 400px;
}
.feed-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.student-data {
  display: flex;
  padding-top: 80px;
}
.student-data h5 {
  font-size: 20px;
}

.feed-back-1 img {
  width: 80px;
}
.student-data h5 {
  padding-bottom: 50px;
}
.feed-back-1 p {
  padding-top: 50px;
}

.testimonial-container {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 600px;
  /* height: 400px; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.quote-icon {
  font-size: 40px;
  color: #3e12a5;
}

.testimonial-text {
  font-size: 18px;
  color: #555;
  margin: 20px 0;
  line-height: 1.6;
}

.user-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.user-info img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  margin-right: 15px;
}

.user-info .name {
  font-weight: bold;
  font-size: 18px;
}

.user-info .role {
  color: #777;
}

.buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
}

.buttons button {
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  color: white;
}

.prev-btn {
  background-color: #f04657;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.next-btn {
  background-color: #3e12a5;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Responsive: small screens */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 10px;
  }
  .navbar {
    flex-direction: column;
    width: 100%;
    display: none; /* hide menu by default */
    background-color: #6326f7;
  }
  .show {
    display: flex; /* show when toggled */
    flex-direction: column;
    align-items: center;
  }
  .ul {
    display: flex; /* show when toggled */
    flex-direction: column;
    align-items: center;
  }
  .toggle {
    display: block; /* show toggle */
  }
  .home {
    flex-direction: column;
    padding: 20px !important;
  }
  .home .img {
    padding-top: 50px !important;
  }
  .home .img img {
    /* display: none; */
    width: 350px;
  }
  .home .cont h2 {
    font-size: 20px !important;
  }
  .logo .img {
    width: 75px !important;
  }
  /* .search .inputsarch {
    padding: 10px !important;
  } */
  .search .inputsarch {
    width: 100% !important;
    padding: 10px !important;
    max-width: 100% !important;
  }

  .search .btnseach {
    position: relative;
    right: 0;
    top: 95px;
    margin-top: 10px;
    width: 100%;
  }

  .home .search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .search .btnseach {
    position: absolute;
    right: -2px;
    padding: 10px !important;
  }
  .join {
    padding: 5px;
    font-size: 20px !important;
    border-radius: 10px;
  }
  .chooseUs .img img {
    display: none;
  }
  .chooseUs .text {
    width: 100% !important;
    padding: 10px;
  }
  .chooseUs h1 {
    font-size: 25px;
  }
  .up {
    display: none !important;
  }
  .ourCources .img img {
    width: 300px;
    height: 200px;
  }

  .ourCources h1 {
    font-size: 20px !important;
  }

  .about .p {
    flex-direction: column;
    align-items: center;
  }
  .about .title {
    font-size: 30px;
  }
  .image img {
    width: 100%;
    height: auto;
  }

  .content {
    width: 90%;
    padding: 20px;
  }

  .content p {
    width: 100%;
  }

  .tables {
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
  }

  .td {
    width: 80%;
    margin-bottom: 10px;
  }

  .carousel-container {
    max-width: 100%;
    overflow: hidden;
  }

  .carousel-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .carousel-btn {
    display: none;
  }

  .feed-back {
    flex-direction: column;
    padding: 20px;
    margin: 20px;
    gap: 20px;
  }

  .Testimonial,
  .testimonial-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .Testimonial h1 {
    font-size: 36px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  .user-info {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .user-info img {
    margin-bottom: 10px;
  }

  .buttons {
    top: 35px;
    right: 20%;
    transform: translateX(50%);
    position: absolute;
  }

  .buttons button {
    padding: 8px 10px;
    font-size: 16px;
  }

  .second-page-header h1 {
    font-size: 28px;
  }
}
