html {
  scroll-behavior: smooth;
}

* {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to right, #e8f3fe, #fff7ea);
  padding-top: 80px;
}

.manager-section {
  padding: 50px 20px;
  margin-top: 50px;
}

.manager-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  gap: 50px;
}

.manager-image img {
  width: 400px;
  height: 516px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.manager-content {
  max-width: 550px;
}

.manager-content h2 {
  color: #003366;
  font-size: 38px;
  margin-bottom: 12px;
  text-shadow: 1px 1px 1px #919090;
}

.manager-content p {
  color: #444444;
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a img {
  width: 35px;
  margin-right: 15px;
  transition: transform 0.3s ease-in-out;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

.tutors-section {
  padding: 50px 20px;
  text-align: center;
}

.tutors-section h2 {
  color: #003366;
  font-size: 40px;
  margin-bottom: 15px;
}

.tutors-section .about-tutors {
  color: #424242;
  font-size: 20px;
  padding: 0 25%;
  margin-bottom: 40px;
  line-height: 1.7;
}

.tutors-slider-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.tutors-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex: 1;
    justify-content: space-around;
}

.men{
        margin-bottom: 4%;
}

.tutor-card {
  flex: 1;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 300px;
  transition: transform 0.3s ease-in-out;
      margin-right: 2%;
}

.tutor-card:hover {
  transform: translateY(-5px);
}

.tutor-card img {
  width: 100%;
  height: 250px;
  object-fit: fill;
  border-radius: 10px;
}

.tutor-card h3 {
  color: #003366;
  font-size: 22px;
  margin: 2px 0 10px;
}

.tutor-card p {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.tutor-card .btn {
  display: inline-block;
  background: #fbe7c6;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
  margin-bottom: 5%;
  box-shadow: 1px 5px 10px rgb(0 0 0 / 25%);
}

.tutor-card .btn:hover {
  background: #003366;
  color: white;
}

.slider-controls {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.slider-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.slider-btn img {
  width: 50px;
  height: 50px;
  opacity: 0.9;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.prev {
  margin-left: 44%;
}

.next {
  margin-right: 44%;
}

.slider-btn:hover {
  transform: scale(1.1);
}

.info-modal,
.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  width: 35%;
}

.booking-form {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 1100;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.info-content,
.booking-content {
  background: white;
  padding: 20px;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

.info-content hr {
  height: 2px;
  background: #8b1d40;
  width: 69%;
  margin: -2% 0 0 15%;
}

.info-content p {
  margin-top: 4%;
  line-height: 1.4;
}

.info-content p strong {
  color: #9f5801;
  font-size: 20px;
}

.info-content button {
  margin: 3% 0 -3% 0;
  background: #c2710d;
  border: none;
  padding: 10px 22px;
  font-size: 19px;
  border-radius: 25px;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.info-content button:hover {
  background: #2b0b85;
  transform: scale(1.1);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}

form input,
form select {
  display: block;
  width: 90%;
  padding: 10px;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

.feedback-section {
  text-align: center;
  padding: 50px 20px;
}

.feedback-section h2 {
  font-size: 53px;
  font-weight: bold;
  color: #8b1d40;
  margin: 0 22% 2%;
  text-shadow: 1px 1px 4px #0000003d;
}

.feedback-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 200px;
}

.feedback-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
}

.feedback-card.active {
  opacity: 1;
  position: relative;
}

blockquote {
  font-size: 18px;
  color: #333;
  font-style: italic;
}

.student-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-top: 15px;
  border: 3px dashed #8b1d40;
}

.pagination {
  margin-top: 30px;
}

.page-btn {
  background: #fff;
  border: 1px solid #333;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  font-weight: bold;
  margin: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.page-btn.active {
  background: #333;
  color: #fff;
}

@media (max-width: 768px) {
  .tutors-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
  }
  .slider-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .manager-container {
    flex-direction: column;
    text-align: center;
  }
  .manager-image img {
    width: 250px;
    height: 300px;
  }
}

@media (max-width: 425px){
    .footer-contact{
        display: none;
    }
    .footer-links{
        margin-right: 14%;
    }
    .tutors-section .about-tutors{
        font-size: 17px;
        padding: 0 5%;
    }
    .tutors-slider{
        flex-direction: column;
    }
    .info-modal, .booking-modal{
        width: 88%;
        padding: 0px;
    }
    .info-content, .booking-content{
        font-size: 12px;
    }
    .feedback-section h2{
        font-size: 33px;
        margin: 0 0% 18%;
    }
    .pagination{
        margin-top: 20%;
    }
}
