/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "machina";
}

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-light);
}

main {
  height: 100%;
  width: 100%;
}

@font-face {
  font-family: "machina";
  src: url("font/NeueMachina-Regular.otf");
}

/* Variables */
:root {
  --primary-color: #443ee1;
  --secondary-color: #0846ff;
  --text-dark: #151515;
  --text-light: #474747;
  --bg-light: #fafafc;
  --white: #ffffff;
  --border-color: #ddd;
}

/* cursor following */
.cursor-dot {
  width: 10px;
  height: 10px;
  background: #000000;
}
.cursor-outline {
  width: 35px;
  height: 35px;
  border: 2px solid var(--secondary-color);
}
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 999;
}

/* Hero Section - Page 1 */
.hero-section {
  min-height: 100vh;
  background-color: var(--bg-light);
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: var(--bg-light);
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.nav-brand i {
  margin-right: 1rem;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-link {
  text-decoration: none;
  color: inherit;
}

.nav-auth {
  display: flex;
  gap: 1rem;
}

.auth-btn {
  padding: 0.6rem 3rem;
  font-size: 17px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "machina";
}

.signin-btn {
  background: transparent;
  color: var(--primary-color);
}

.register-btn {
  background: var(--primary-color);
  color: var(--white);
}

/* Hero Content */
.hero-container {
  display: flex;
  width: 100%;
  height: calc(100vh - 80px);
}

.hero-content {
  width: 50%;
  padding: 7rem 3.5rem;
  background-color: var(--bg-light);
}

.hero-title {
  font-size: 3.6rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary-color);
  font-style: italic;
}

.hero-description {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  margin-top: 2rem;
  gap: 1rem;
}

.hero-btn {
  padding: 0.9rem 3rem;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  font-family: "machina";
}

.primary-btn {
  background: var(--primary-color);
  color: var(--white);
}

.secondary-btn {
  background: #efeef3;
  color: var(--primary-color);
}

/* Hero Image */
.hero-image {
  width: 50%;
  padding: 5rem 3.5rem;
  background-color: var(--bg-light);
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-container {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background-color: var(--primary-color);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  padding: 30px;
  margin-top: 60px;
  object-position: top;
  object-fit: cover;
  position: absolute;
}

.circle-outer {
  height: 450px;
  width: 450px;
  border: 5px solid var(--primary-color);
  position: absolute;
  border-radius: 50%;
  z-index: 111;
}

.circle-inner {
  height: 450px;
  width: 450px;
  border: 2px solid var(--primary-color);
  position: absolute;
  border-radius: 50%;
  left: 10%;
  top: 8%;
}

.circle-dot {
  height: 40px;
  width: 40px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  position: absolute;
  border-radius: 50%;
  top: 0;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
/* Statistics & Categories Section - Page 2 */
.stats-category-section {
  padding: 3rem;
  width: 100%;
  background-color: var(--bg-light);
}

/* Statistics */
.stats-container {
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  display: flex;
  background: #F1F1FB;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 3vw;
  gap: 2rem;
}

.stats-box {
  display: flex;
  gap: 50px;
  align-items: center;
}

.stats-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
}

.stats-icon {
  font-size: 1.5rem;
}

.courses-icon .stats-icon {
  color: blue;
}

.mentors-icon .stats-icon {
  color: #bf7c00;
}

.students-icon .stats-icon {
  color: #e13ec6;
}

.stats-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-color);
}

.stats-label {
  color: var(--text-light);
  font-size: 1.1rem;
}



/* Featured Courses Section - Page 3 */
.featured-section {
  padding: 3rem 5vw;
  background-color: var(--bg-light);
  margin-top: 2rem;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.featured-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-title h1 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: capitalize;
}

.featured-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.featured-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.featured-content {
  padding: 1.5rem;
}

.course-type {
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.course-type i {
  font-size: 1.2rem;
}

.course-title {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.course-stats {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.course-stats span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.course-stats i {
  font-size: 1.1rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.instructor-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.instructor-info img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-info span {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.course-price {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--bg-light);
}

.testimonial-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonial-title h1 {
  font-size: 2.5rem;
  text-transform: capitalize;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.testimonial-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 40px 0;
}

.testimonials-container::before,
.testimonials-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
}

.testimonials-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.testimonials-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 30px;
  animation: scroll 40s linear infinite;
  width: fit-content;
}


.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 5 - 150px)); /* 5 cards * (width + gap) */
  }
}

.testimonial-card {
  flex: 0 0 350px;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-quote {
  margin-bottom: 1.5rem;
}

.testimonial-quote i {
  font-size: 2rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 1rem;
}

.testimonial-quote p {
  margin-top: 10px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.rating {
  margin-top: 5px;
}

.rating i {
  color: #ffd700;
  font-size: 0.9rem;
}

/* Companies Section */
.companies-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.companies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.companies-content {
  text-align: center;
  margin-bottom: 4rem;
}

.companies-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.companies-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.company-card {
  background: var(--bg-light);
  /* border-radius: 15px; */
  width: 160px;
  height: 160px;
  scale: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.company-card:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.company-card img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.company-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .companies-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .company-card {
    width: 120px;
    height: 120px;
  }
  
  .companies-content h2 {
    font-size: 1.8rem;
  }
}

/* Footer Section */
.footer-section {
  background: var(--bg-light);
  padding: 5rem 3rem 2rem;
  color: var(--text-dark);
  border-top: 2px dotted rgba(0, 0, 0, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-col p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
}
