

.navbar {
    padding: 0;
}
/* Section    */
.hero {
    background-image: url('img/lessons.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
  }
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero a {
    text-decoration: none;
    color: white;
}
.hero a:hover {
    opacity: 0.5;
}


.lesson-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image Container */
.lesson-img {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
}

/* Save Button */
.save-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333;
    padding: 5px 8px;
    cursor: pointer;
}
.save-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* Lesson Title */
.lesson-title a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    text-align: center;
}
.lesson-title a:hover {
    text-decoration: underline;
}

/* Stats and Description */
.lesson-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: auto;
}
.lesson-desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

.stats-icons i {
    margin-right: 5px;
}


/* packages */

.package-card {
    padding: 20px;
    text-align: center;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.package-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
    margin-top: 15px;
}

.price-box {
    font-size: 28px;
    margin-top: 20px;
    position: relative;
}

/* Button initially hidden */
.btn-join {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

/* Show button on hover over the entire card */
.package-card:hover .btn-join {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.icon-circle {
    background-color: #0F5F18;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.course-section {
    padding: 60px 0;
}

.course-title {
    font-size: 34px;
    font-weight: bold;
}

.course-description {
    margin-bottom: 40px;
    font-size: 16px;
    color: #6c757d;
}



.fa-graduation-cap,
.fa-gem {
    color: white;
}

.btn-primary {
    background-color: #0F5F18;
    color: white;
    padding: 12px 20px;
}
.btn-primary:hover {
    background-color: #0F5F18;
    color: white;
}
