/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.site-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Hero section */
.hero {
    background-image: linear-gradient(to right, #4c1d95, #4338ca);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 10px;
}

.section-header p {
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Content sections */
.content-section {
    padding: 60px 0;
}

.content-section.bg-white {
    background-color: white;
}

.content-section.bg-light {
    background-color: #f3f4f6;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #1f2937;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

/* Card grid layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 20px;
}

/* Testimonials specific styles */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    background-image: url("/static/img/no_avatar.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.testimonial-info h3 {
    font-size: 18px;
    color: #1f2937;
}

.testimonial-info p {
    font-size: 14px;
    color: #6b7280;
}

.stars {
    display: flex;
    margin-bottom: 10px;
}

.star {
    color: #fbbf24;
    margin-right: 2px;
}

.testimonial-quote {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 15px;
}

.testimonial-course {
    font-size: 14px;
    color: #6b7280;
}

/* Instructor specific styles */
.instructor-img {
    width: 100%;
    height: 280px;
    background-color: #e5e7eb;
}

.instructor-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #1f2937;
}

.instructor-title {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 10px;
}

.instructor-bio {
    margin-bottom: 15px;
    color: #4b5563;
}

.instructor-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.expertise-tag {
    background-color: #e0e7ff;
    color: #4338ca;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Project card styles */
.project-img {
    width: 100%;
    height: 200px;
    background-color: #e5e7eb;
}

.project-title {
    font-size: 18px;
    margin: 10px 0;
    color: #1f2937;
}

.project-description {
    color: #4b5563;
    margin-bottom: 15px;
}

.project-student {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.student-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e5e7eb;
    margin-right: 10px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Certification specific styles */
.certification-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: #e5e7eb;
    border-radius: 8px;
}

.certification-steps {
    counter-reset: step-counter;
    max-width: 700px;
    margin: 40px auto;
}

.certification-step {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

.certification-step:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #4f46e5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.certification-step h3 {
    margin-bottom: 10px;
    color: #1f2937;
}

.certification-step p {
    color: #4b5563;
}

/* Filter buttons */
.filter-container {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #f3f4f6;
    border: none;
    padding: 8px 16px;
    margin: 0 5px 10px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #e5e7eb;
}

.filter-btn.active {
    background-color: #4f46e5;
    color: white;
}

/* CTA sections */
.cta-section {
    background-color: #e0e7ff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    color: #9ca3af;
    font-size: 14px;
}

/* Back to home link */
.back-to-home {
    display: inline-block;
    margin: 20px 0;
    color: #4f46e5;
    text-decoration: none;
}

.back-to-home:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 28px;
    }
}





.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #e5e7eb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #FF7200;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-weight: bold;
    color: #FF7200;
    margin-bottom: 10px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #FF7200;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #4b5563;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.member-img {
    width: 100%;
    height: 280px;
    background-color: #e5e7eb;
}

.member-info {
    padding: 20px;
}

.member-name {
    font-size: 20px;
    margin-bottom: 5px;
    color: #1f2937;
}

.member-title {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 10px;
}

.member-bio {
    margin-bottom: 15px;
    color: #4b5563;
}

/* Orange-to-purple gradient for special elements */
.gradient-bg {
    background-color: #e0e7ff;
}

.gradient-text {
    background-image: linear-gradient(to right, #FF7200, #CF3694);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}