/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background-color: #f1f3f4;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.user-profile {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid #4d0a36d7;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

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

.user-profile h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.user-profile p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.profile-btn {
    background: linear-gradient(135deg, #b4b235, #a855f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(153, 40, 83, 0.3);
}

/* Navigation Styles */
.navigation ul {
    list-style: none;
}

.navigation li {
    margin-bottom: 8px;
}

.navigation a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.navigation a:hover,
.navigation li.active a {
    background: linear-gradient(135deg, #962932, #a855f7);
    color: white;
    transform: translateX(5px);
}

.navigation i {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.699);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #e0137a;
}

.header-center {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #a5b60b;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-bar i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #f6ae5c;
    font-size: 18px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right i {
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-right i:hover {
    color: #8b5cf6;
}

/* Settings Dropdown */
.settings-dropdown {
    position: relative;
    display: inline-block;
}

.settings-icon {
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-icon:hover {
    color: #419eeb;
    transform: rotate(90deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-label {
    background-color: #8b5cf6;
}

.toggle-input:checked + .toggle-label:before {
    transform: translateX(26px);
}

.theme-info {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.current-theme {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #1a1a1a;
    color: #e5e7eb;
}

.dark-mode .sidebar {
    background-color: #2d2d2d;
}

.dark-mode .user-profile h3,
.dark-mode .navigation a {
    color: #e5e7eb;
}

.dark-mode .navigation a:hover,
.dark-mode .navigation li.active a {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
}

.dark-mode .header {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


/* Content Area Styles */
.content-area {
    flex: 1;
    padding: 40px;
    background: white;
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.why-choose-us {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.content-left {
    flex: 1;
}

.content-left h2 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.content-left p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.courses-btn {
    background: linear-gradient(135deg, #29d46b, #a855f7);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.courses-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.content-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
}

.laptop {
    position: absolute;
    bottom: 60px;
    font-size: 40px;
    color: #8b5cf6;
}

.floating-screen {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.screen1 {
    top: 30px;
    right: 50px;
    animation: float 3s ease-in-out infinite;
}

.screen2 {
    top: 80px;
    right: 20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Statistics Section */
.stats-section {
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.stat-icon {
    font-size: 48px;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: #666;
    text-transform: capitalize;
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.footer p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        margin-left: 250px;
    }
    
    .why-choose-us {
        gap: 40px;
    }
    
    .content-left h2 {
        font-size: 36px;
    }
    
    .illustration {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle,
    .profile-toggle {
        display: block !important;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover,
    .profile-toggle:hover {
        color: #8b5cf6;
        transform: scale(1.1);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .header-center {
        margin: 0 20px;
    }
    
    .content-area {
        padding: 20px;
        margin: 10px;
    }
    
    .why-choose-us {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .content-left h2 {
        font-size: 28px;
    }
    
    .content-left p {
        font-size: 16px;
    }
    
    .illustration {
        width: 200px;
        height: 200px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-icon {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .header-center {
        margin: 0 15px;
    }
    
    .search-bar input {
        padding: 12px 40px 12px 15px;
        font-size: 14px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .content-area {
        padding: 15px;
        margin: 5px;
    }
    
    .content-left h2 {
        font-size: 24px;
    }
    
    .content-left p {
        font-size: 14px;
    }
    
    .courses-btn {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .illustration {
        width: 150px;
        height: 150px;
    }
    
    .person {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .laptop {
        font-size: 30px;
    }
    
    .floating-screen {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-text {
        font-size: 14px;
    }
    
    .footer {
        padding: 15px;
    }
    
    .footer p {
        font-size: 12px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle,
.profile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle,
    .profile-toggle {
        display: block;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f3f4;
}

.page-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Course Categories */
.course-categories,
.teacher-categories {
    margin-bottom: 40px;
}

.category-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border-color: #8b5cf6;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: #7a0c59;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.course-image {
    height: 150px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.course-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-price {
    font-size: 24px;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.enroll-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Teachers Grid */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.teacher-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.teacher-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #8b5cf6;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.1);
}

.teacher-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.teacher-title {
    color: #8b5cf6;
    font-weight: 500;
    margin-bottom: 15px;
}

.teacher-bio {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.teacher-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.teacher-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.teacher-rating {
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    margin-bottom: 5px;
}

.rating-text {
    font-size: 14px;
    color: #666;
}

.view-profile-btn {
    background: linear-gradient(135deg, #25a766, #a855f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Contact Form Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form-section h3,
.contact-info-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #07c43f, #a855f7);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

/* Contact Info Styles */
.contact-info-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dab61a, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.social-media h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #23036e, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f3f4;
}

.faq-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #11cfa0;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* About Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.mission-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-illustration {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    margin: 0 auto;
}

.values-section {
    margin-bottom: 60px;
}

.values-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.value-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.story-section {
    margin-bottom: 60px;
}

.story-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.story-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.team-section {
    margin-bottom: 60px;
}

.team-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.member-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: white;
}

.team-member h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.member-role {
    color: #8b5cf6;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.about-stats-section {
    margin-bottom: 40px;
}

.about-stats-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.about-stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.about-stat-card .stat-icon {
    font-size: 48px;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.about-stat-card .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.about-stat-card .stat-text {
    font-size: 16px;
    color: #666;
    text-transform: capitalize;
}

/* Load More Button */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

/* Courses Button as Link */
.courses-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.courses-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

/* Teacher Profile Page Styles */
.back-section {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #7c3aed;
    transform: translateX(-5px);
}

.teacher-profile {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e5e7eb);
    border-radius: 20px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

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

.profile-info h1 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 20px;
    color: #8b5cf6;
    font-weight: 500;
    margin-bottom: 20px;
}

.profile-rating {
    margin-bottom: 30px;
}

.profile-rating .stars {
    color: #ffc107;
    margin-bottom: 8px;
    font-size: 18px;
}

.profile-rating .rating-text {
    font-size: 16px;
    color: #666;
}

.profile-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-section {
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    border-bottom: 3px solid #8b5cf6;
    padding-bottom: 10px;
}

.profile-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.specialization-tag {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.specialization-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.experience-timeline {
    position: relative;
    padding-left: 30px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.experience-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #8b5cf6;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #8b5cf6;
}

.experience-period {
    font-size: 14px;
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 8px;
}

.experience-details h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.company {
    color: #8b5cf6;
    font-weight: 500;
    margin-bottom: 10px;
}

.experience-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.teacher-courses {
    display: grid;
    gap: 25px;
}

.course-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.course-item:hover {
    border-color: #8b5cf6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
}

.course-item .course-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.course-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.course-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.course-item .course-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #666;
}

.course-item .course-price {
    font-size: 20px;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 15px;
}

.course-item .enroll-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.course-item .enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #8b5cf6;
}

.review-header {
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.reviewer-info .stars {
    color: #ffc107;
    font-size: 14px;
}

.review-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0;
}

/* Website Information Styles */
.website-info {
    margin-top: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa, #e5e7eb);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.platform-features {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #8b5cf6;
}

.platform-features h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    transform: translateX(5px);
}

.feature-item i {
    color: #8b5cf6;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item:hover i {
    color: white;
}

.feature-item span {
    font-size: 16px;
    font-weight: 500;
}

/* Responsive Design for Teacher Profile */
@media (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .course-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .course-item .enroll-btn {
        width: 100%;
    }
    
    .experience-timeline {
        padding-left: 20px;
    }
    
    .experience-item {
        padding-left: 20px;
    }
    
    .experience-item::before {
        left: -12px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item {
        padding: 12px;
    }
}

/* avo */
/* educa_about.css */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Nunito', sans-serif;
background: linear-gradient(180deg, #e3e8f5 0%, #081426 60%);
color: #e6eef8;
padding: 40px;
line-height: 1.5;
}
.about-wrap {
max-width: 1200px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.02);
border-radius: 18px;
padding: 32px;
box-shadow: 0 10px 30px rgba(226, 231, 250, 0.6);
display: grid;
grid-template-columns: 1fr 420px;
gap: 28px;
align-items: center;
}
.pill {
display: inline-block;
background: linear-gradient(90deg, #6c5ce7, #8f7cf5);
color: #fff;
padding: 6px 10px;
border-radius: 999px;
font-weight: 700;
font-size: 12px;
margin-bottom: 14px;
}
.about-content h2 {
font-size: 28px;
margin-bottom: 6px;
}
.lead {
color: #94a3b8;
margin-bottom: 18px;
font-size: 15px;
}
.features {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px 18px;
}
.feature {
background: rgba(255, 255, 255, 0.03);
padding: 12px;
border-radius: 12px;
display: flex;
gap: 10px;
align-items: flex-start;
}
.feature svg {
width: 36px;
height: 36px;
}
.feature h4 {
margin: 0;
font-size: 14px;
}
.feature p {
margin: 4px 0 0 0;
}
.about-hero {
width: 100%;
height: 180px;
background: linear-gradient(120deg, rgba(108, 92, 231, 0.15), rgba(93, 173, 236, 0.06));
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
color: white;
font-size: 22px;
margin-bottom: 12px;
}
.stats-text {
color: #94a3b8;
margin-bottom: 12px;
font-size: 14px;
}
.stats {
display: flex;
gap: 12px;
justify-content: space-between;
}
.stat {
flex: 1;
text-align: center;
}
.stat strong {
display: block;
font-size: 18px;
}
.stat span {
display: block;
color: #94a3b8;
font-size: 13px;
}
@media (max-width: 880px) {
body {
padding: 20px;
}
.about-wrap {
grid-template-columns: 1fr;
padding: 20px;
}
.features {
grid-template-columns: 1fr;
}
.about-hero {
height: 160px;
}
}
