* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f1f9fb;
}

/* Main Courses Section */
.courses-section {
    background: linear-gradient(135deg, #eaf8fb 0%, #f1f9fb 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.08) 0%, rgba(2, 44, 59, 0.05) 100%);
    border-radius: 50%;
    z-index: 1;
}

.courses-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.courses-title {
    font-size: 48px;
    font-weight: 700;
    color: #022c3b;
    margin-bottom: 15px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #022c3b, #034a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.courses-subtitle {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Navigation Tabs */
.courses-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.nav-button {
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.7);
    color: #4a5568;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-button.active {
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    color: white;
    border-color: #ff7a00;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.nav-button:not(.active):hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ff7a00;
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
    z-index: 2;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Learning Paths Styles */
.learning-paths-intro {
    text-align: center;
    margin-bottom: 50px;
}

.learning-paths-intro h3 {
    font-size: 32px;
    color: #022c3b;
    margin-bottom: 15px;
    font-weight: 600;
}

.learning-paths-intro p {
    font-size: 16px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mentor-card {
    background: linear-gradient(145deg, #ffffff, #fafbfc);
    border-radius: 30px;
    box-shadow: 
    0 10px 30px rgba(2, 44, 59, 0.08),
    0 4px 20px rgba(2, 44, 59, 0.04);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mentor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    z-index: 3;
}

.mentor-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
    0 25px 50px rgba(2, 44, 59, 0.15),
    0 10px 30px rgba(255, 122, 0, 0.1);
}

.mentor-card:nth-child(1):hover::before {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.mentor-card:nth-child(2):hover::before {
    background: linear-gradient(135deg, #059669, #10b981);
}

.mentor-card:nth-child(3):hover::before {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.mentor-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.mentor-card:hover img {
    transform: scale(1.05);
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mentor-card h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #022c3b;
    line-height: 1.3;
    position: relative;
}

.mentor-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    border-radius: 2px;
}

.mentor-card ul {
    padding: 0;
    margin: 0 0 30px 0;
    list-style: none;
}

.mentor-card ul li {
    font-size: 15px;
    margin-bottom: 12px;
    color: #4a5568;
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
}

.mentor-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff7a00;
    font-weight: bold;
    font-size: 16px;
}

.learn-more-btn {
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    width: 100%;
    text-align: center;
    text-decoration: none; 
    display: inline-block;
    margin-top: auto;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

/* Individual Courses Styles */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.course-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(2, 44, 59, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(2, 44, 59, 0.15);
    border-color: #ff7a00;
}

.course-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.course-card:nth-child(1) .course-image { background: linear-gradient(135deg, #4338ca, #6366f1); }
.course-card:nth-child(2) .course-image { background: linear-gradient(135deg, #059669, #10b981); }
.course-card:nth-child(3) .course-image { background: linear-gradient(135deg, #dc2626, #ef4444); }
.course-card:nth-child(4) .course-image { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.course-card:nth-child(5) .course-image { background: linear-gradient(135deg, #ea580c, #f97316); }
.course-card:nth-child(6) .course-image { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.course-card:nth-child(7) .course-image { background: linear-gradient(135deg, #be185d, #ec4899); }
.course-card:nth-child(8) .course-image { background: linear-gradient(135deg, #65a30d, #84cc16); }
.course-card:nth-child(9) .course-image { background: linear-gradient(135deg, #b45309, #d97706); }
.course-card:nth-child(10) .course-image { background: linear-gradient(135deg, #1e40af, #3b82f6); }

.course-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.course-name {
    font-size: 22px;
    font-weight: 700;
    color: #022c3b;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}

.course-description {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    min-height: 72px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.course-duration {
    font-size: 14px;
    color: #ff7a00;
    font-weight: 600;
    background: rgba(255, 122, 0, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.course-level {
    font-size: 12px;
    color: #022c3b;
    background: rgba(2, 44, 59, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Transition between sections */
.section-transition {
    text-align: center;
    margin: 50px 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-transition h3 {
    font-size: 28px;
    color: #022c3b;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-transition p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 25px;
}

.explore-btn {
    background: linear-gradient(135deg, #022c3b, #034a5a);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 44, 59, 0.3);
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 44, 59, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-title {
    font-size: 36px;
    }
    
    .courses-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    }
    
    .nav-button {
    width: 200px;
    text-align: center;
    }
    
    .card-container {
    grid-template-columns: 1fr;
    gap: 30px;
    }
    
    .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    }
}