/* ========================================
   COURSES PAGE STYLES (ORIGINAL)
   For upcoming-classes.php page
   ======================================== */

/* Hero Section */
.courses-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
}

.floating-shape {
    position: absolute;
    background: white;
    border-radius: 50%;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation: float 8s ease-in-out infinite 1s;
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation: float 7s ease-in-out infinite 2s;
}

/* Hero Content */
.courses-hero-section .hero-content .badge {
    background: white;
    color: #f76e11;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    padding: 8px 16px;
}

.courses-hero-section .hero-content .badge i {
    color: #f76e11;
}

.courses-hero-section h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.courses-hero-section h1 span {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.courses-hero-section .hero-content p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 500px;
}

/* CTA Buttons */
.courses-hero-section .btn-light {
    border-radius: 12px;
    font-weight: 600;
}

.courses-hero-section .btn-outline-light {
    border-radius: 12px;
    border-width: 2px;
    font-weight: 600;
}

/* Stat Cards */
.courses-hero-section .stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.courses-hero-section .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.courses-hero-section .stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    color: #f76e11;
    margin-bottom: 0.25rem;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.1;
    border-radius: 20px;
    transform: rotate(-6deg);
}

.hero-image-wrapper img {
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Courses Listing Section */
.courses-listing {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

/* Search and Filter */
.courses-listing .input-group-text {
    background: white;
    border-right: 0;
}

.courses-listing .form-control {
    border-left: 0;
}

.courses-listing .form-control:focus,
.courses-listing .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Course Cards */
.courses-listing .course-box {
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses-listing .course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.courses-listing .course-img {
    display: block;
    overflow: hidden;
    position: relative;
}

.courses-listing .course-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.courses-listing .course-box:hover .course-img img {
    transform: scale(1.05);
}

.courses-listing .course-description {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.courses-listing .course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.courses-listing .course-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.courses-listing .course-meta {
    margin-bottom: 1rem;
}

.courses-listing .course-meta span {
    font-size: 14px;
}

.courses-listing .course-btn {
    margin-top: auto;
}

.courses-listing .course-btn .btn {
    width: 100%;
}

/* Button Transitions */
.courses-hero-section .btn,
.courses-listing .btn {
    transition: all 0.3s ease;
}

.courses-hero-section .btn:hover,
.courses-listing .btn:hover {
    transform: translateY(-2px);
}

/* Pagination Styling */
.courses-listing .pagination {
    gap: 8px;
}

.courses-listing .pagination .page-item .page-link {
    border: 1px solid #dee2e6;
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.courses-listing .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    border-color: #f3950d;
    color: white;
}

.courses-listing .pagination .page-item:not(.active) .page-link:hover {
    background: #f8f9fa;
    border-color: #f3950d;
    color: #f3950d;
}

.courses-listing .pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* Responsive Pagination */
@media (max-width: 767px) {
    .courses-listing .pagination .page-item .page-link {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* ========================================
   MODERN COURSES PAGE STYLES (NEW)
   For courses.php page
   All styles wrapped with .modern-course prefix
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.modern-course-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #f76e11 100%);
    padding: 0;
    overflow: hidden;
    padding-top: 120px;
}

.modern-course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(247, 110, 17, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 149, 13, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.modern-course-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Animated Particles */
.modern-course-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.modern-course-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* Generate random particles with different sizes, positions, and animations */
.modern-course-particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation: modern-course-float-particle 15s infinite ease-in-out;
}

.modern-course-particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 20%;
    animation: modern-course-float-particle 18s infinite ease-in-out 2s;
}

.modern-course-particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 60%;
    left: 30%;
    animation: modern-course-float-particle 12s infinite ease-in-out 1s;
}

.modern-course-particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 15%;
    animation: modern-course-float-particle 20s infinite ease-in-out 3s;
}

.modern-course-particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 50%;
    animation: modern-course-float-particle 16s infinite ease-in-out 1.5s;
}

.modern-course-particle:nth-child(6) {
    width: 7px;
    height: 7px;
    top: 50%;
    left: 60%;
    animation: modern-course-float-particle 14s infinite ease-in-out 2.5s;
}

.modern-course-particle:nth-child(7) {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 70%;
    animation: modern-course-float-particle 17s infinite ease-in-out 0.5s;
}

.modern-course-particle:nth-child(8) {
    width: 5px;
    height: 5px;
    top: 25%;
    left: 80%;
    animation: modern-course-float-particle 19s infinite ease-in-out 3.5s;
}

.modern-course-particle:nth-child(9) {
    width: 4px;
    height: 4px;
    top: 45%;
    left: 90%;
    animation: modern-course-float-particle 13s infinite ease-in-out 1s;
}

.modern-course-particle:nth-child(10) {
    width: 6px;
    height: 6px;
    top: 65%;
    left: 85%;
    animation: modern-course-float-particle 21s infinite ease-in-out 2s;
}

.modern-course-particle:nth-child(11) {
    width: 3px;
    height: 3px;
    top: 15%;
    left: 40%;
    animation: modern-course-float-particle 15s infinite ease-in-out 4s;
}

.modern-course-particle:nth-child(12) {
    width: 5px;
    height: 5px;
    top: 35%;
    left: 55%;
    animation: modern-course-float-particle 18s infinite ease-in-out 0.8s;
}

.modern-course-particle:nth-child(13) {
    width: 4px;
    height: 4px;
    top: 55%;
    left: 45%;
    animation: modern-course-float-particle 16s infinite ease-in-out 2.2s;
}

.modern-course-particle:nth-child(14) {
    width: 6px;
    height: 6px;
    top: 75%;
    left: 25%;
    animation: modern-course-float-particle 14s infinite ease-in-out 3.8s;
}

.modern-course-particle:nth-child(15) {
    width: 3px;
    height: 3px;
    top: 10%;
    left: 65%;
    animation: modern-course-float-particle 20s infinite ease-in-out 1.2s;
}

.modern-course-particle:nth-child(16) {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 35%;
    animation: modern-course-float-particle 17s infinite ease-in-out 2.8s;
}

.modern-course-particle:nth-child(17) {
    width: 4px;
    height: 4px;
    top: 22%;
    left: 75%;
    animation: modern-course-float-particle 19s infinite ease-in-out 0.3s;
}

.modern-course-particle:nth-child(18) {
    width: 7px;
    height: 7px;
    top: 48%;
    left: 12%;
    animation: modern-course-float-particle 13s infinite ease-in-out 3.2s;
}

.modern-course-particle:nth-child(19) {
    width: 3px;
    height: 3px;
    top: 68%;
    left: 92%;
    animation: modern-course-float-particle 21s infinite ease-in-out 1.8s;
}

.modern-course-particle:nth-child(20) {
    width: 5px;
    height: 5px;
    top: 85%;
    left: 58%;
    animation: modern-course-float-particle 15s infinite ease-in-out 2.5s;
}

/* Particle floating animation */
@keyframes modern-course-float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.5;
    }

    50% {
        transform: translate(-15px, -60px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.6;
    }
}


.modern-course-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #f76e11;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: modern-course-fadeInDown 0.8s ease-out;
}

.modern-course-hero-badge i {
    margin-right: 6px;
    font-size: 16px;
}

.modern-course-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: modern-course-fadeInUp 0.8s ease-out 0.2s both;
}

.modern-course-hero-gradient {
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.modern-course-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 0 30px 0;
    animation: modern-course-fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Content Wrapper */
.modern-course-hero-content {
    animation: modern-course-fadeInLeft 0.8s ease-out;
}

/* Hero Image */
.modern-course-hero-image {
    position: relative;
    animation: modern-course-fadeInRight 0.8s ease-out;
}

.modern-course-student-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    max-height: 600px;
}

/* Floating animation for student image */
@keyframes modern-course-float-student {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Fade in from left */
@keyframes modern-course-fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in from right */
@keyframes modern-course-fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Stats */
.modern-course-hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    animation: modern-course-fadeInUp 0.8s ease-out 0.6s both;
}

.modern-course-stat-item {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.modern-course-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.modern-course-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
    margin-bottom: 5px;
}

.modern-course-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   COURSES SECTION
   ======================================== */

.modern-course-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.modern-course-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.modern-course-section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.modern-course-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f3950d 0%, #f76e11 100%);
    border-radius: 2px;
}

.modern-course-section-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-top: 20px;
}

/* ========================================
   COURSE CARDS
   ======================================== */

.modern-course-card-wrapper {
    margin-bottom: 30px;
}

.modern-course-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Course Image */
.modern-course-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.modern-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-course-card:hover .modern-course-image img {
    transform: scale(1.1);
}

/* Category Badge on Image */
.modern-course-category-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(230, 81, 0, 0.9);
    /* Dark Orange */
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 0 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

/* Course Content */
.modern-course-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-course-content>* {
    align-self: flex-start;
}

/* Header with Rating and Duration */
.modern-course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

/* Rating */
.modern-course-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.modern-course-rating i {
    color: #ffc107;
    font-size: 13px;
}

.modern-course-rating span {
    margin-left: 4px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
}

/* Duration */
.modern-course-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.modern-course-duration i {
    color: #f76e11;
    font-size: 13px;
}

/* Course Title */
.modern-course-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
    width: 100%;
}

/* Course Description */
.modern-course-description {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    width: 100%;
}

/* Course Footer */
.modern-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    width: 100%;
    margin-top: auto;
}

.modern-course-meta-info {
    display: flex;
    gap: 16px;
}

.modern-course-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.modern-course-meta-item i {
    color: #f76e11;
    font-size: 13px;
}

/* Price Text */
.modern-course-price-tag {
    color: #f76e11;
    font-size: 20px;
    font-weight: 800;
}

/* View More Button */
.modern-course-view-more {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(247, 110, 17, 0.3);
}

.modern-course-view-more:hover {
    background: linear-gradient(135deg, #f76e11 0%, #f3950d 100%);
    box-shadow: 0 6px 16px rgba(247, 110, 17, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.modern-course-view-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.modern-course-view-more:hover i {
    transform: translateX(3px);
}

.modern-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-course-card:hover .modern-course-image img {
    transform: scale(1.1);
}

.modern-course-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-course-card:hover .modern-course-image-overlay {
    opacity: 1;
}

.modern-course-view-btn {
    background: #ffffff;
    color: #2c3e50;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.modern-course-card:hover .modern-course-view-btn {
    transform: translateY(0);
}

.modern-course-view-btn:hover {
    background: #f76e11;
    color: #ffffff;
    transform: scale(1.05);
}

.modern-course-view-btn i {
    margin-right: 6px;
}

/* Modern Gradient Backgrounds */
.modern-course-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
    transition: all 0.3s ease;
}

.modern-course-card:hover .modern-course-gradient-bg {
    transform: scale(1.05);
}

/* Gradient Color Variations */
.modern-course-gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modern-course-gradient-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.modern-course-gradient-purple {
    background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
}

.modern-course-gradient-orange {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
}

.modern-course-gradient-red {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

.modern-course-gradient-teal {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
}

.modern-course-gradient-indigo {
    background: linear-gradient(135deg, #4568dc 0%, #b06ab3 100%);
}

.modern-course-gradient-yellow {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.modern-course-gradient-pink {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Icon Wrapper */
.modern-course-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 2;
}

.modern-course-card:hover .modern-course-icon-wrapper {
    transform: translate(-50%, -50%) scale(1.15) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.modern-course-icon-wrapper i {
    font-size: 48px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.modern-course-card:hover .modern-course-icon-wrapper i {
    font-size: 52px;
}

/* Course Content */
.modern-course-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.modern-course-content>* {
    align-self: flex-start;
}

.modern-course-content .modern-course-btn-group {
    align-self: center;
    width: 100%;
}

.modern-course-category-badge i {
    margin-right: 5px;
    font-size: 10px;
}

.modern-course-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-course-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Course Meta */
.modern-course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.modern-course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #495057;
    font-weight: 500;
}

.modern-course-meta-item i {
    color: #f76e11;
    font-size: 14px;
}

/* Pricing */
.modern-course-pricing {
    margin-bottom: 20px;
}

.modern-course-price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.modern-course-price-current {
    font-size: 28px;
    font-weight: 800;
    color: #f76e11;
    line-height: 1;
}

.modern-course-price-original {
    font-size: 16px;
    color: #adb5bd;
    text-decoration: line-through;
    font-weight: 500;
}

.modern-course-savings {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
}

/* Enroll Button */
.modern-course-enroll-btn {
    display: inline-block;
    width: auto;
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 110, 17, 0.3);
    margin: 0 auto;
}

.modern-course-enroll-btn:hover {
    background: linear-gradient(135deg, #f76e11 0%, #f3950d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 110, 17, 0.4);
    color: #ffffff;
}

.modern-course-enroll-btn i {
    margin-right: 6px;
    font-size: 14px;
}

/* Button Group */
.modern-course-btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

/* View Details Button */
.modern-course-details-btn {
    display: inline-block;
    width: auto;
    background: transparent;
    color: #f76e11;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #f76e11;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-course-details-btn:hover {
    background: #f76e11;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 110, 17, 0.3);
}

.modern-course-details-btn i {
    margin-right: 6px;
    font-size: 14px;
}

/* ========================================
   PAGINATION
   ======================================== */

.modern-course-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-course-page-item {
    display: inline-block;
}

.modern-course-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-course-page-link:hover {
    background: #f76e11;
    color: #ffffff;
    border-color: #f76e11;
    transform: translateY(-2px);
}

.modern-course-page-item.active .modern-course-page-link {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(247, 110, 17, 0.3);
}

.modern-course-page-item.disabled .modern-course-page-link {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   CERTIFICATION & CAREER BENEFITS SECTION
   ======================================== */

.modern-course-certification-section {
    padding: 100px 0;
    background: #ffffff;
}

.modern-course-title-with-border {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px !important;
}

.modern-course-title-with-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    border-radius: 2px;
}

.modern-course-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.modern-course-benefit-item:hover {
    background: #fff5eb;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(247, 110, 17, 0.1);
}

.modern-course-benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(247, 110, 17, 0.3);
}

.modern-course-benefit-icon i {
    font-size: 26px;
    color: #ffffff;
}

.modern-course-benefit-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.modern-course-benefit-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.modern-course-why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff8f3 0%, #ffffff 50%, #fff5eb 100%);
    position: relative;
    overflow: hidden;
}

.modern-course-why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(247, 110, 17, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(247, 110, 17, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(243, 149, 13, 0.03) 0%, transparent 50%);
    background-size: 20px 20px, 100% 100%, 100% 100%;
    background-position: 0 0, 0 0, 0 0;
    z-index: 0;
}

.modern-course-why-section .container {
    position: relative;
    z-index: 1;
}

/* Images Grid */
.modern-why-images-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    height: 600px;
}

.modern-why-image {
    position: relative;
    border-radius: 200px;
    border: 3px dashed #f76e11;
    padding: 10px;
}

.modern-why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 190px;
}

.modern-why-image-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.modern-why-image-2 {
    grid-column: 2;
    grid-row: 1;
    position: relative;
}

.modern-why-image-3 {
    grid-column: 2;
    grid-row: 2;
}

/* Badge on Image */
.modern-why-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    padding: 0px 0px 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(247, 110, 17, 0.3);
    z-index: 10;
    min-width: 160px;
}

.modern-why-badge i {
    font-size: 32px;
}

.modern-why-badge div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.modern-why-badge strong {
    font-size: 16px;
    font-weight: 700;
}

.modern-why-badge span {
    font-size: 14px;
    opacity: 0.9;
}

/* Content Styles */
.modern-why-content {
    padding-left: 30px;
}

.modern-why-subtitle {
    color: #f76e11;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-why-subtitle i {
    font-size: 18px;
}

.modern-why-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-orange {
    color: #f76e11;
}

.modern-why-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Features List */
.modern-why-features {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
}

.modern-why-feature-item {
    display: flex;
    gap: 20px;
}

.modern-why-feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, rgba(243, 149, 13, 0.1) 0%, rgba(247, 110, 17, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f76e11;
    font-size: 24px;
}

.modern-why-feature-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.modern-why-feature-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Quote Box */
.modern-why-quote {
    background: #f8f9fa;
    padding: 25px 30px;
    border-left: 4px solid #f76e11;
    margin-bottom: 30px;
    position: relative;
}

.modern-why-quote-mark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    color: #e9ecef;
    font-family: Georgia, serif;
    line-height: 1;
}

.modern-why-quote p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.modern-why-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.modern-why-btn {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(247, 110, 17, 0.3);
}

.modern-why-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 110, 17, 0.4);
    color: #ffffff;
}

.modern-why-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modern-why-contact-icon {
    width: 50px;
    height: 50px;
    background: #f76e11;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.modern-why-contact div {
    display: flex;
    flex-direction: column;
}

.modern-why-contact small {
    font-size: 12px;
    color: #6c757d;
}

.modern-why-contact strong {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .modern-why-images-grid {
        height: 500px;
        margin-bottom: 40px;
    }

    .modern-why-content {
        padding-left: 0;
    }

    .modern-why-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .modern-why-images-grid {
        height: 400px;
        gap: 15px;
    }

    .modern-why-badge {
        padding: 15px 20px;
        bottom: -15px;
    }

    .modern-why-badge i {
        font-size: 24px;
    }

    .modern-why-title {
        font-size: 28px;
    }

    .modern-why-features {
        grid-template-columns: 1fr;
    }

    .modern-why-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */

.modern-course-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modern-course-cta-box {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 60px 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.modern-course-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 110, 17, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.modern-course-cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.modern-course-cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.modern-course-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(247, 110, 17, 0.4);
}

.modern-course-cta-btn:hover {
    background: linear-gradient(135deg, #f76e11 0%, #f3950d 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 110, 17, 0.5);
    color: #ffffff;
}

.modern-course-cta-btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* ========================================
   WHAT YOU'LL LEARN / SKILLS SECTION
   ======================================== */

.modern-course-skills-section {
    padding: 80px 0;
    background: #ffffff;
}

.modern-course-skill-card {
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.modern-course-skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(247, 110, 17, 0.3);
}

.modern-course-skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(243, 149, 13, 0.1) 0%, rgba(247, 110, 17, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-course-skill-card:hover .modern-course-skill-icon {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    transform: scale(1.1) rotate(5deg);
}

.modern-course-skill-icon i {
    font-size: 36px;
    color: #f76e11;
    transition: color 0.3s ease;
}

.modern-course-skill-card:hover .modern-course-skill-icon i {
    color: #ffffff;
}

.modern-course-skill-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.modern-course-skill-text {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   LEARNING FORMAT & SUPPORT SECTION
   ======================================== */

.modern-course-learning-format-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.modern-course-format-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.modern-course-format-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.modern-course-format-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f76e11;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-course-format-box-title i {
    color: #f76e11;
    font-size: 28px;
}

.modern-course-format-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modern-course-format-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.modern-course-format-item>i {
    color: #28a745;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.modern-course-format-item strong {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.modern-course-format-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   CERTIFICATION & CAREER BENEFITS SECTION
   ======================================== */

.modern-course-certification-section {
    padding: 80px 0;
    background: #ffffff;
}

.modern-course-certification-image {
    position: relative;
    animation: modern-course-fadeInLeft 0.8s ease-out;
}

.modern-course-certification-image img {
    max-width: 100%;
    height: auto;
}

.modern-course-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.modern-course-benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.modern-course-benefit-item:hover {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.modern-course-benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modern-course-benefit-icon i {
    font-size: 24px;
    color: #ffffff;
}

.modern-course-benefit-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.modern-course-benefit-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   STUDENT TESTIMONIALS SECTION
   ======================================== */

.modern-course-testimonials-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.modern-course-faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.modern-course-faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modern-course-faq-accordion .accordion-header {
    margin: 0;
}

.modern-course-faq-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: #ffffff;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.modern-course-faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f3950d 0%, #f76e11 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(247, 110, 17, 0.3);
}

.modern-course-faq-accordion .accordion-button:hover {
    background: rgba(247, 110, 17, 0.1);
}

.modern-course-faq-accordion .accordion-button:not(.collapsed):hover {
    background: linear-gradient(135deg, #f76e11 0%, #f3950d 100%);
}

.modern-course-faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c3e50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.modern-course-faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.modern-course-faq-accordion .accordion-body {
    padding: 20px 25px;
    font-size: 15px;
    color: #6c757d;
    line-height: 1.8;
    background: #ffffff;
}

.modern-course-faq-accordion .accordion-collapse {
    border: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes modern-course-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modern-course-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modern-course-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .modern-course-hero-title {
        font-size: 36px;
    }

    .modern-course-hero-subtitle {
        font-size: 16px;
    }

    .modern-course-section-title {
        font-size: 32px;
    }

    .modern-course-cta-title {
        font-size: 28px;
    }

    .modern-course-cta-box {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .modern-course-hero {
        padding: 80px 0 60px;
    }

    .modern-course-hero-title {
        font-size: 28px;
    }

    .modern-course-hero-stats {
        gap: 20px;
    }

    .modern-course-stat-item {
        padding: 15px 20px;
    }

    .modern-course-stat-number {
        font-size: 28px;
    }

    .modern-course-section {
        padding: 50px 0;
    }

    .modern-course-section-title {
        font-size: 26px;
    }

    .modern-course-why-section {
        padding: 50px 0;
    }

    .modern-course-cta-section {
        padding: 50px 0;
    }

    .modern-course-cta-title {
        font-size: 24px;
    }

    .modern-course-cta-text {
        font-size: 16px;
    }

    .modern-course-pagination {
        gap: 5px;
    }

    .modern-course-page-link {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .modern-course-card-wrapper {
        margin-bottom: 20px;
    }

    .modern-course-content {
        padding: 20px;
    }

    .modern-course-title {
        font-size: 16px;
        min-height: auto;
    }

    .modern-course-price-current {
        font-size: 24px;
    }

    .modern-course-feature-card {
        padding: 30px 20px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes modern-course-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   FAQ SECTION WITH CTA
   ======================================== */

.modern-course-faq-section {
    padding: 40px 0;
    background: #f8f9fa;
}

/* CTA Card */
.modern-faq-cta-card {
    background: linear-gradient(135deg, #f76e11 0%, #f3950d 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(247, 110, 17, 0.2);
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-faq-cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.modern-faq-cta-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.modern-faq-contact-info {
    margin-bottom: 30px;
    flex-grow: 1;
}

.modern-faq-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    flex-wrap: nowrap;
}

.modern-faq-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.modern-faq-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modern-faq-contact-icon i {
    font-size: 20px;
    color: #ffffff;
}

.modern-faq-contact-item small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3px;
}

.modern-faq-contact-item strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
}

.modern-faq-contact-item>div:last-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.modern-faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #f76e11;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    align-self: center;
}

.modern-faq-cta-btn:hover {
    background: #2c3e50;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modern-faq-cta-btn i {
    font-size: 18px;
}

/* FAQ Accordion Styling */
.modern-course-faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modern-course-faq-accordion .accordion-button {
    background: #ffffff;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.modern-course-faq-accordion .accordion-button:hover {
    background: #f8f9fa;
}

.modern-course-faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    color: #f76e11;
}

.modern-course-faq-accordion .accordion-button:not(.collapsed):hover {
    background: linear-gradient(135deg, #ffe8d1 0%, #fff5eb 100%);
}

.modern-course-faq-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.modern-course-faq-accordion .accordion-button::after {
    background-image: none;
    content: '\f282';
    font-family: 'bootstrap-icons';
    font-size: 20px;
    color: #f76e11;
}

.modern-course-faq-accordion .accordion-button:not(.collapsed)::after {
    content: '\f286';
}

.modern-course-faq-accordion .accordion-body {
    padding: 20px 25px;
    background: #ffffff;
    color: #6c757d;
    line-height: 1.8;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    .modern-faq-cta-card {
        margin-bottom: 30px;
    }

    .modern-faq-cta-title {
        font-size: 24px;
    }
}