@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  --primary-color: #3b82f6;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  background: whitesmoke;
}

a {
  text-decoration: none;
}
.banner-section {
  position: relative;
  background: url("/images/hero-students.webp") no-repeat center center / cover;
  color: white;
}

.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.7) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  z-index: 1;
}

.banner-section .container {
  position: relative;
  z-index: 2;
}

.banner-section .title {
  font-size: 2.5rem;
  color: #fff;
  line-height: 1.2;
  text-align: start;
  margin: 0;
}
.banner-section .search-btn {
  font-weight: 700;
  background-color: var(--primary-color);
  color: white;
}

.banner-section .category {
  gap: 1rem;
}
.banner-section .input-group {
  max-width: 600px;
  margin: 2.5rem 0;
}
.banner-section .category a {
  font-weight: 700;
}

@media screen and (width <= 900px) {
  .banner-section .title {
    font-size: 1.9rem;
  }
  .banner-section .search-btn {
    font-weight: 500;
  }
  .banner-section .input-group {
    max-width: fit-content;
  }
}

.top-teachers {
  padding: 4rem 0;
}

.top-teachers .teachers-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
}
.top-teachers .teachers-description {
  font-size: 1.25rem;
  color: #6b7280;
}

.top-teachers .teacher-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  height: 100%;
}

.top-teachers .teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.top-teachers .teacher-card .photo {
  position: relative;
  max-height: 150px;
  overflow: hidden;
  padding-top: 100%;

  border-radius: 8px 8px 0 0;
}
.top-teachers .teacher-card .photo img {
  width: 100%;
  height: 100%;
}
.top-teachers .teacher-card .photo .teacher-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgb(255, 196, 0);
  color: black;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.top-teachers .teacher-card .photo .teacher-rating img {
  width: 15px;
  height: 15px;
}
.top-teachers .teacher-card .photo .teacher-name {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.top-teachers .teacher-card .photo .teacher-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-card:hover {
  transform: translateY(-5px);
}

.top-teachers .teacher-card .teacher-content {
  padding: 0.8rem 1.5rem 1rem 1.5rem;
}
.top-teachers .teacher-card .teacher-content .teacher-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.top-teachers .teacher-card .teacher-content .teacher-subjects {
  margin-bottom: 12px;
}
.top-teachers .teacher-card .teacher-content .teacher-subjects .item {
  background: var(--primary-color);
  padding: 4px 8px;
  border-radius: 12px;
  color: white;
  font-size: 12px;
}
.top-teachers .teacher-card .teacher-description {
  margin-top: 4px;
  font-size: 12px;
  margin-bottom: 4px;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}
.actions {
  padding: 0.75rem 1.5rem;
}

/* cta */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  text-align: center;
}
.cta-section .title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-section .description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  background-color: #3b82f6;
  color: white;
  font-weight: 700;
}

/* Blog - Section */

/* .blog-section {
  padding: 4rem 0;
  background-color: #f9fafb;
  text-align: center;
}
.blog-section .header .title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.blog-section .header {
  margin-bottom: 3rem;
}

.blog-section .header .description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.blog-section .actions .btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
}
  */

footer .footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .footer-link:hover {
  color: #ffffff;
}
