/* --- CSS VARIABLES (The Violet Theme) --- */
        :root {
            --primary-violet: #7c73e6; /* Matches the top banner/icons */
            --dark-violet: #5f54c9;
            --light-violet-bg: #f2f0ff; /* The card background color */
            --accent-blue: #4faaf0;    /* The 'Register Now' button color */
            --text-dark: #333333;
            --text-grey: #666666;
            --white: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--white);
            color: var(--text-dark);
        }

        /* --- HEADER SECTION (Matches your Screenshot) --- */
        header {
            background-color: var(--primary-violet);
            padding: 15px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
            box-shadow: 0 4px 15px rgba(124, 115, 230, 0.3);
        }
        .title{
          font-size: 25px;
          font-weight: bold;
        }
        .logo {
            color: var(--white);
            font-weight: 700;
            font-size: 24px;
            text-transform: uppercase;
            line-height: 1.2;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--white);
            font-size: 16px;
            font-weight: 400;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.8;
        }

        .btn-register {
            background-color: var(--accent-blue);
            color: var(--white);
            padding: 10px 25px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: transform 0.2s;
        }

        .btn-register:hover {
            transform: translateY(-2px);
        }

        /* --- MAIN CONTAINER --- */
        .container {
            max-width: 1200px;
            margin: 50px auto;
            padding: 0 20px;
        }

        /* --- COURSE TITLE AREA --- */
        .course-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .course-header h1 {
            color: var(--dark-violet);
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .course-tag {
            background-color: var(--light-violet-bg);
            color: var(--primary-violet);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
        }

        /* --- DETAILS GRID LAYOUT --- */
        .details-grid {
            display: grid;
            grid-template-columns: 2fr 1fr; /* Content takes 2/3, Sidebar takes 1/3 */
            gap: 40px;
        }

        /* Left Side: Content */
        .course-content {
            background-color: var(--light-violet-bg);
            padding: 40px;
            border-radius: 30px; /* Matches your screenshot card roundness */
        }

        .section-title {
            color: var(--dark-violet);
            font-size: 22px;
            margin-bottom: 20px;
            border-bottom: 2px solid rgba(124, 115, 230, 0.1);
            padding-bottom: 10px;
        }

        .course-description {
            color: var(--text-grey);
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .curriculum-list {
            list-style: none;
        }

        .curriculum-list li {
            background: var(--white);
            margin-bottom: 15px;
            padding: 15px 20px;
            border-radius: 15px;
            color: var(--text-dark);
            font-weight: 500;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .curriculum-list li::before {
            content: "✔";
            color: var(--primary-violet);
            margin-right: 15px;
            font-size: 18px;
        }

        /* Right Side: Sidebar Info Card */
        .course-sidebar {
            position: sticky;
            top: 20px;
        }

        .info-card {
            background: var(--white);
            border: 2px solid var(--light-violet-bg);
            padding: 30px;
            border-radius: 30px;
            box-shadow: 0 10px 30px rgba(124, 115, 230, 0.1);
            text-align: center;
        }

        .price-tag {
            font-size: 32px;
            color: var(--primary-violet);
            font-weight: 700;
            margin-bottom: 20px;
            display: block;
        }

        .info-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            color: var(--text-grey);
            font-size: 14px;
            border-bottom: 1px dashed #eee;
            padding-bottom: 10px;
        }

        .info-item span {
            font-weight: 600;
            color: var(--text-dark);
        }

        .enroll-btn {
            display: block;
            width: 100%;
            background-color: var(--primary-violet);
            color: var(--white);
            text-align: center;
            padding: 15px;
            border-radius: 15px;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            margin-top: 25px;
            transition: background 0.3s;
        }

        .enroll-btn:hover {
            background-color: var(--dark-violet);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .details-grid {
                grid-template-columns: 1fr;
            }
            header {
                padding: 15px 20px;
                flex-direction: column;
                gap: 15px;
            }
            .nav-links {
                gap: 15px;
                font-size: 14px;
            }
        }
        /* Price Section Enhancement */
.price-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* Old crossed price */
.old-price {
  font-size: 16px;
  color: var(--text-grey);
  text-decoration: line-through;
  opacity: 0.7;
}

/* 50% OFF small badge */
.discount-badge {
  background: linear-gradient(
    135deg,
    var(--primary-violet),
    var(--dark-violet)
  );
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}

/* New offer price */
.offer-price {
  font-size: 36px;        /* Bigger = more focus */
  color: var(--dark-violet);
  font-weight: 800;
  margin-bottom: 5px;
}

/* Offer note */
.price-note {
  font-size: 13px;
  color: var(--primary-violet);
  font-weight: 600;
  margin-bottom: 15px;
}
