/* Courses Page Specific Styles */

.space,
.space-bottom {
    padding-bottom: 60px;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.phd-course {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.mtech-course {
    border-left-color: #007bff;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
}

/* Course Image */
.course-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-level-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Course Content */
.course-content {
    padding-left: 30px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.course-meta i {
    color: #007bff;
}

.course-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.2;
}

.course-subtitle {
    font-size: 16px;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
}

.course-description {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 30px;
}

/* Course Highlights */
.course-highlights {
    margin-bottom: 30px;
}

.course-highlights h5 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #495057;
}

.course-list i {
    color: #28a745;
    font-size: 12px;
}

/* Course Actions */
.course-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Why Choose Section */
.why-choose-area {
    position: relative;
    background-attachment: fixed;
}

.why-choose-area::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: -60px;
    background: rgba(0, 0, 0, 0.7);
}

.why-choose-area .container {
    position: relative;
    z-index: 2;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Flexible columns */
    gap: 30px;
    max-width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    height: 100%;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.feature-content h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Optional: responsive behavior */
@media (max-width: 767px) {
    .feature-list {
        grid-template-columns: 1fr;
        /* Stack items on small screens */
    }
}

/* Admission Process */
.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-icon {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

.process-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.process-step p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Apply CTA */
.apply-cta {
    position: relative;
    background-attachment: fixed;
}

.apply-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.apply-cta .container {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 992px) {
    .course-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .course-title {
        font-size: 24px;
    }
    
    .feature-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .course-card {
        padding: 30px 20px;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}