body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #fff;
    margin: 0;
    padding: 0;
}

.teacher-profile {
    padding: 50px 20px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

.profile-container {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #3b82f6;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    min-width: 280px;
}

.profile-stats p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.profile-stats i {
    font-size: 18px;
    color: #3b82f6;
}

.follow-message-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.follow-button,
.message-button {
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.follow-button {
    background: #22c55e;
}

.follow-button.active {
    background: #ef4444;
}

.message-button {
    background: #3b82f6;
}

.follow-button:hover,
.message-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.teacher-courses {
    margin-top: 40px;
    text-align: center;
}

.courses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.course-card {
    background: #1e293b;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 280px;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7);
}

.course-card img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.course-title {
    color: #fff;
    font-size: 18px;
    margin: 10px 0;
}

.course-price {
    font-size: 16px;
    color: #22c55e;
    font-weight: bold;
}

.start-course {
    background: linear-gradient(145deg, #3b82f6, #1e3a8a);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.start-course:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.9);
}


/* ریسپانسیو برای موبایل */

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
    .follow-message-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .course-card {
        width: 100%;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1.2s ease-out forwards;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}