:root {
  --primary: #4a6fa5;
  --secondary: #166088;
  --accent: #4fc3f7;
  --light: #ebf2fa;
  --dark: #032b43;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --gray: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
}

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

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 15px 0; */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 120px;
  margin-right: 10px;
}
/* 
.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: var(--secondary);
} */

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 1rem;
}

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

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

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

.btn-outline:hover {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Course Highlight Section */
.course-highlight {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 50px 0;
}

.course-image {
  flex: 1;
  min-height: 400px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
}

.course-details {
  flex: 1;
  padding: 40px;
}

.course-details h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.price {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  margin: 20px 0;
}

.enroll-btn {
  margin-top: 30px;
}

/* Syllabus Section */
.syllabus {
  background-color: var(--white);
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}

.syllabus h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--dark);
}

.week-card {
  margin-bottom: 30px;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

.week-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.topics-list {
  list-style-type: none;
}

.topics-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.topics-list li:before {
  content: "•";
  color: var(--accent);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Webinar Section */
.webinar {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  color: var(--white);
  padding: 60px;
  border-radius: 10px;
  text-align: center;
  margin: 50px 0;
}

.webinar h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.webinar p {
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials-container {
  position: relative;
  margin: 50px 0;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 30px;
  padding: 20px 0;
  margin: 0 -20px;
}

.testimonial-card {
  min-width: 100%;
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
}

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

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

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

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray);
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: var(--primary);
}

/* CTA Section */
.cta {
  background-color: var(--white);
  border-radius: 10px;
  padding: 60px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 50px 0;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo h2 {
  font-size: 1.5rem;
  color: var(--white);
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.social-links a:hover {
  opacity: 1;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--text);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
}

.form-footer p {
  margin-top: 15px;
  color: var(--text-light);
}

.form-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-container {
    padding: 15px;
  }

  nav ul {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .course-highlight {
    flex-direction: column;
  }

  .course-image {
    min-height: 250px;
    width: 100%;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .webinar {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .course-details {
    padding: 30px 20px;
  }

  .syllabus {
    padding: 30px 20px;
  }

  .cta {
    padding: 40px 20px;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 60px 0;
  }

  .course-meta {
    flex-direction: column;
    gap: 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
