/* =============================Part 1 ========================= */
.about-hero {
  background: linear-gradient(to right, #f9f9f9, #ffffff);
  padding: 80px 30px;
}

.about-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  font-family: 'Poppins', sans-serif;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.about-text p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 25px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.about-buttons .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.primary-btn {
  background: linear-gradient(to right, #06b6d4, #3b82f6);
  font-family: 'Poppins', sans-serif;
}

.primary-btn:hover {
  background: #338099;
}

.secondary-btn {
  background: #2563eb;
}

.secondary-btn:hover {
  background: #338099;
}



.about-metrics {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.metric-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  min-width: 120px;
  flex: 1;
}

.metric-box h3 {
  font-size: 1.6rem;
  color: #111827;
  font-family: 'Poppins', sans-serif;
}

.metric-box p {
  font-size: 0.95rem;
  color: #4b5563;
  font-family: 'Poppins', sans-serif;
}

.about-image {
  flex: 1;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ========================== part2 ======================================== */

.recent-highlights {
  padding: 60px 20px;
  display: flex;
  justify-content: flex-start;
  background-color: #f9f9f9;
}

.highlight-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  max-width: 700px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
}

.highlight-card h2 {
  font-size: 1.8rem;
  color: #111827;
  margin-bottom: 20px;
}

.highlight-card ul {
  list-style: none;
  padding-left: 0;
}

.highlight-card li {
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #111827;
}

.highlight-card strong {
  /* color:#0947aa; */
  color: #111827;
}


/* ==========================part 3 ======================== */
.summary-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 0;
}

.highlight-card,
.expertise-card {
  flex: 1;
  min-width: 200px;
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
}

.highlight-card h2,
.expertise-card h2 {
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 16px;
  border-left: 4px solid #338099;
  padding-left: 10px;
  font-family: 'Poppins', sans-serif;
}

.highlight-card ul,
.expertise-list {
  list-style: none;
  padding-left: 0;
}

.highlight-card li,
.expertise-list li {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #111827;
}

.expertise-list li::before {
  content: "✓";
  margin-right: 8px;
  color: #0947aa;
  font-family: 'Poppins', sans-serif;
}
/* ============================= Teaching ============================= */
.teaching-section {
  padding: 60px 30px;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.teaching-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.teaching-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.teaching-card {
  background-color: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  
}

.teaching-card h3 {
  font-size: 1.3rem;
  color: #111827;
  margin-bottom: 12px;
}

.teaching-card p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
}

.teaching-list {
  margin: 10px 0 10px 20px;
  list-style-type: disc;
  color: #111827;
}

.teaching-list li {
  font-size: 1rem;
  margin-bottom: 8px;
}

.teaching-slider {
  flex: 1;
  max-width: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.slider-container {
  overflow: hidden;
  position: relative;

  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  
  /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
}

.slider-track {
  display: flex;
  width: calc(100% * 22);   /*bnktb 3dded el sour times  2*/
  animation: loop-scroll 15s linear infinite;
}


.slider-track img {
  width: 100%;
  max-width: 500px;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 16px;
}



/* Loop animation */
@keyframes loop-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); 
  }
}


.teaching-full {
  flex-basis: 100%;
  /* margin-top: 20px; */
  /* margin-right: 200px; */
}


/* @media (max-width: 768px) {
  .teaching-content {
    flex-direction: column;
    align-items: center;
  }

  .teaching-slider {
    max-width: 100%;
  }

  .slider-track img {
    max-width: 100%;
  }
} */




/* ======================= Projects ============================ */
.projects-showcase {
  padding: 60px 30px;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.projects-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.projects-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.projects-cards {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* justify-content: center;
  align-items: center; */
}

.project-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #111827;
}

.project-card p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
}

.project-card strong {
  color: #111827;
}

.learn-more-link {
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
  color: #06b6d4;
  text-decoration: none;
}

.learn-more-link:hover {
  text-decoration: underline;
}

.project-video {
  flex: 1;
  /* min-width: 280px;
  max-width: 400px; */
  margin-top: 260px;
  margin-left: 50px;
  align-items: center;
  justify-content: center;
  display: flex;
  /* width: 100%; */
}

.project-video video {
  width: 100%;
  max-width: 640px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* =============================== Selected Publications ======================================== */
.publications-section {
  padding: 60px 30px;
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.publications-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* .publication-card {
  background-color: #f9f9f9;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.03);
  font-family: 'Poppins', sans-serif;

} */
 .publication-card  {

  background: #0947aa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 1rem;
  font-weight: 500;
  color: white;
  transition: transform 0.2s;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s ease, background-color 0.2s ease;


  display: block;
  text-decoration: none;
}

.publication-card:hover {
  transform: translateY(-4px);
  background-color: #0b52c4;
}

.publication-card p {
  font-size: 1.05rem;
  /* color: #111827; */
  color: white;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;

}

.publication-card em {
  /* color: #4b5563; */
  color: #f5f5f0;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;

}

/* =========================Contact ========================== */
.contact-section {
  padding: 60px 30px;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.contact-wrapper {
  max-width: 800px;
  margin: auto;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111827;
}

.contact-section p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 20px;
}

.contact-section a {
  color: #2563eb;
  text-decoration: none;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.contact-buttons .btn {
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: background 0.3s ease;
}

.host-credit {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-top: 30px;
}


/* =============== divoder ========================= */

.wave-divider {
  width: 100%;
  height: 120px;
  overflow: hidden;
  line-height: 0;
  background: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* ============== Media ======================= */
/* ================= Responsive Enhancements ===================== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-buttons {
    justify-content: center;
  }

  .about-image {
    max-width: 90%;
  }

  .recent-highlights {
    flex-direction: column;
    align-items: center;
  }

  .highlight-card {
    max-width: 100%;
  }

  .projects-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .project-video {
    margin-top: 0;
    margin-left: 0;
  }

  .slider-container {
    max-width: 100%;
  }
}

/* Mobiles (<= 768px) */
@media (max-width: 768px) {
  .about-hero,
  .teaching-section,
  .projects-showcase,
  .publications-section,
  .contact-section {
    padding: 40px 16px;
  }

  .about-text h2 {
    font-size: 1.4rem;
  }

  .about-text p,
  .metric-box p,
  .highlight-card li,
  .project-card p,
  .publication-card p,
  .faq-item p {
    font-size: 0.95rem;
  }

  .metric-box h3,
  .highlight-card h2,
  .project-card h3,
  .enroll-info h2,
  .contact-section h2 {
    font-size: 1.5rem;
  }

  .about-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .summary-container {
    flex-direction: column;
    align-items: center;
  }

  .teaching-content,
  .projects-wrapper {
    flex-direction: column;
  }

  .project-video video {
    max-width: 100%;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 10px;
  }
}


