* {
  margin: 0;
  padding: 0; 
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo span {
  background: #000;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
}

.cart-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

.signup-btn {
  background: #000;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.signup-btn:hover {
  background: #333;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: #f8f9fa;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-button-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.explore-btn {
  background: transparent;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 200px;
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* Feature Courses Section */
.feature-courses {
  padding: 4rem 0;
}

.feature-courses h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-card h3 {
  padding: 1rem;
  font-size: 1.2rem;
}

.course-card p {
  padding: 0 1rem 1rem;
  color: #666;
}

.view-more-btn {
  margin: 0 auto;
  background: #000;
  color: white;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  display: flex;
  width: 181px;
}
a
{
    text-decoration: none;
    color: white;
}


.view-more-btn:hover {
  background: #333;
}

/* Newsletter Section */
.newsletter {
  background: #e9ecef;
  padding: 4rem 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  color: #666;
  margin-bottom: 2rem;
}

.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkmark {
  color: green;
  font-weight: bold;
}

.signup-free-btn {
  background: #000;
  color: white;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  margin-right: 20px;
}

.signup-free-btn:hover {
  background: #333;
}

/* Courses.html Styling */
.all-courses {
  padding: 4rem 0;
}

.all-courses h1 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.course-card-full {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.course-card-full:hover {
  transform: translateY(-5px);
}

.course-card-full img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-info {
  padding: 1.5rem;
}

.course-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.course-info p {
  color: #666;
  margin-bottom: 1rem;
}

.buy-btn {
  background: #000;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.buy-btn:hover {
  background: #333;
}

/* Course Detail Page */
.course-detail {
  padding: 4rem 0;
}

.course-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.course-detail-left h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.course-image-large img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.course-detail-right h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #000;
}

.course-description {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.certification-note {
  font-style: italic;
  margin-bottom: 2rem;
  color: #555;
}

.quantity-section {
  margin-bottom: 2rem;
}

.quantity-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-btn {
  background: #f8f9fa;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.quantity-btn:hover {
  background: #e9ecef;
}

#quantity {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.add-to-cart-btn {
  background: #000;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.add-to-cart-btn:hover {
  background: #333;
}
.buy-now-btn a {
  text-decoration: none;
  color: #fff;
}

.buy-now-btn {
  background: #000;
  color: white;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background 0.3s;
}

.buy-now-btn:hover {
  background: #333;
}

/* Footer */
.footer {
  background: #000;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  background: white;
  color: black;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer-brand p {
  color: #ccc;
  line-height: 1.6;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  text-align: center;
  color: #ccc;
}

.view-more-btn a {
  color: white;
  text-decoration: none;
}

.buy-btn a {
  color: white;
  text-decoration: none;
}

/* Order Success Page */
.new {
  height: 500px;
  width: 700px;
  margin: auto;
  border: 1px solid;
  place-content: center;
  place-items: center;
  box-shadow: 5px 5px 15px 5px #000000;
  border-radius: 10px;
}
.new a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}