/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Custom Font */
@font-face {
  font-family: 'EuclidCircularA';
  src: url('https://ext.same-assets.com/2765314131/3592562466.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'EuclidCircularA';
  src: url('https://ext.same-assets.com/2765314131/2131213089.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'EuclidCircularA';
  src: url('https://ext.same-assets.com/2765314131/1676599407.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'EuclidCircularA', 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #faf9fb;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Common Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #14919B;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #14919B;
}

.btn-outline {
  background-color: transparent;
  color: #3b51d1;
  border: 1px solid #3b51d1;
}

.btn-outline:hover {
  background-color: #3b51d1;
  color: white;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #965bc1;
  background-color: rgba(150, 91, 193, 0.1);
  border-radius: 4px;
  margin-bottom: 10px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 35px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 100;
}

.nav-item {
  font-weight: 500;
}

.nav-item:hover {
  color: #14919B;
}

.cta-button {
  margin-left: 20px;
}

/* Mobile Nav */
.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #faf9fb;
  overflow: hidden;
  padding: 80px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 30px;
  color: #666;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  z-index: 1;
  position: relative;
}

.hero-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-color: #e7a8bc;
  opacity: 0.2;
  border-radius: 30% 0 0 60%;
  z-index: 0;
}

/* Featured Course Card */
.course-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-image {
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-info {
  padding: 20px;
}

.course-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.course-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.course-desc {
  font-size: 14px;
  margin-bottom: 15px;
  color: #666;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.course-price {
  font-weight: 600;
  color: #3b51d1;
}

.course-rating {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ffa41b;
}

/* Partners Section */
.partners {
  background-color: white;
  padding: 40px 0;
}

.partners-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logo {
  opacity: 0.7;
  transition: opacity 0.3s ease;
  height: 40px;
}

.partner-logo:hover {
  opacity: 1;
}

/* Course Categories */
.course-categories {
  padding: 80px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

.category-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.category-count {
  color: #666;
  font-size: 14px;
}

/* App Feature Section */
.app-feature {
  background-color: #f5f7ff;
  padding: 80px 0;
}

.app-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.app-image {
  flex: 1;
}

.app-text {
  flex: 1;
}

.app-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.app-description {
  margin-bottom: 25px;
}

.feature-list {
  margin-bottom: 30px;
}

.feature-item {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.feature-item:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3b51d1;
  font-weight: bold;
}

/* Trending Courses */
.trending-courses {
  padding: 80px 0;
}

.courses-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Stats Section */
.stats {
  background-color: white;
  padding: 60px 0;
}

.stats-heading {
  text-align: center;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  margin-bottom: 15px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #3b51d1;
  margin-bottom: 5px;
}

.stat-title {
  color: #666;
}

/* Testimonials */
.testimonials {
  background-color: #f5f7ff;
  padding: 80px 0;
}

.testimonial-heading {
  text-align: center;
  margin-bottom: 40px;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

.testimonial-text:before,
.testimonial-text:after {
  content: "";
  font-size: 60px;
  color: #e7a8bc;
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

.testimonial-text:after {
  content: "";
  left: auto;
  right: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 15px;
}

.author-name {
  font-weight: 600;
}

.author-position {
  font-size: 14px;
  color: #666;
}

/* Upcoming Batches */
.upcoming-batches {
  padding: 80px 0;
  background-color: #f0f0ff;
}

.batch-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.batch-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.batch-image {
  height: 180px;
  overflow: hidden;
}

.batch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.batch-info {
  padding: 20px;
}

.batch-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.batch-button {
  margin-top: 15px;
}

/* Newsletter */
.newsletter {
  background-color: #3b51d1;
  padding: 60px 0;
  color: white;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.newsletter-text {
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
}

.newsletter-button {
  background-color: #965bc1;
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.newsletter-button:hover {
  background-color: #8349b0;
}

.newsletter-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
}

.newsletter-stat {
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid #eee;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-text {
  color: #666;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f0f2fd;
  color: #3b51d1;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #3b51d1;
  color: white;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: #3b51d1;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 10px;
  color: #3b51d1;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #666;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .app-content {
    flex-direction: column;
    text-align: center;
  }

  .feature-item {
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-container {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .newsletter-button {
    border-radius: 5px;
    padding: 12px;
  }

  .newsletter-stats {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}