:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
}
.account-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Header User Dropdown Styles */
.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 200px;
}

.navbar .dropdown-item {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.navbar .dropdown-item i {
  width: 16px;
  text-align: center;
}

.navbar .dropdown-header {
  padding: 1rem 1.5rem 0.5rem;
  background-color: #f8f9fa;
  border-radius: 0.5rem 0.5rem 0 0;
}

.navbar .dropdown-header .fw-bold {
  font-size: 0.9rem;
  color: #495057;
}

.navbar .dropdown-header small {
  font-size: 0.75rem;
}

.navbar .dropdown-divider {
  margin: 0.5rem 0;
}

.navbar .nav-link.dropdown-toggle {
  color: #495057;
  font-weight: 500;
}

.navbar .nav-link.dropdown-toggle:hover {
  color: #007bff;
}

.navbar .nav-link.dropdown-toggle::after {
  margin-left: 0.5rem;
}

/* Loading states */
.nav-link[style*="pointer-events: none"] {
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }

  .navbar .dropdown-item {
    padding: 0.5rem 1rem;
    color: #495057;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="900" viewBox="0 0 1600 900"><rect width="1600" height="900" fill="%232c3e50"/><polygon fill="%23e67e22" points="957 450 539 900 1396 900"/><polygon fill="%23d35400" points="957 450 872.9 900 1396 900"/><polygon fill="%23e67e22" points="0 0 0 900 1200 900 800 450 0 0"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  margin-bottom: 0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.highlight {
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 30px;
}

.btn-primary:hover {
  background-color: #d35400;
  border-color: #d35400;
}

.feature-box {
  padding: 30px 20px;
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.course-details {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.price {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 2.5rem;
}

.old-price {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 1.5rem;
}

.testimonial {
  background-color: var(--light-color);
  padding: 80px 0;
}

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

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

.module-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.module-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.module-number {
  background-color: var(--secondary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
}

.faq-section {
  padding: 80px 0;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(230, 126, 34, 0.1);
  color: var(--secondary-color);
}

.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
}

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
}

.timer-container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.timer-box {
  display: inline-block;
  width: 70px;
  height: 70px;
  background-color: rgba(230, 126, 34, 0.8);
  margin: 0 5px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.timer-box span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
}

.timer-box span:last-child {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.benefit-icon {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 10px;
  margin-top: 3px;
}

.instructor-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0 auto 20px; */
  color: white;
  font-size: 4rem;
}

.guarantee-box {
  border: 2px dashed var(--secondary-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

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

  .timer-box {
    width: 60px;
    height: 60px;
    margin: 0 3px;
  }

  .timer-box span:first-child {
    font-size: 1.2rem;
  }

  .price {
    font-size: 2rem;
  }

  .old-price {
    font-size: 1.2rem;
  }
}
