* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    direction: rtl;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background: var(--text-light);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--text-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Courses Section */
.courses {
    padding: 4rem 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

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


.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.course-instructor {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Course Detail */
.course-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 3rem 0;
}

.course-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.course-main {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.course-sidebar {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sessions-list {
    list-style: none;
}

.session-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.session-item:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.session-number {
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .logo {
        text-align: center;
    }

    .nav-links {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .course-detail-content {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Course Detail Layout */
.course-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 50px;
}

.course-video-container {
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.course-video-container video {
    width: 100%;
    display: block;
}

/* Course Tabs */
.course-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-bottom: 20px;
}

.tab-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content ul li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
}

.tab-content ul li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Sessions List */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.session-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.session-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.session-info {
    flex: 1;
}

.session-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.session-info p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

.session-duration {
    color: #999;
    font-size: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Comments Section */
.comment-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.comment-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.rating-input {
    display: flex;
    gap: 5px;
    font-size: 28px;
    margin-bottom: 15px;
}

.rating-input .star {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #ffc107;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.comment-author h4 {
    margin: 0;
    font-size: 16px;
}

.comment-date {
    font-size: 13px;
    color: #999;
}

.comment-rating {
    color: #ffc107;
    font-size: 16px;
}

.comment-text {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Course Sidebar */
.course-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.course-info-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.course-price-box {
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.course-price-box .price {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.course-price-box .btn {
    background: white;
    color: var(--primary-color);
}

.course-price-box .btn:hover {
    background: #f8f9fa;
}

.course-meta-list {
    padding: 25px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-icon {
    font-size: 24px;
}

.meta-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}

.meta-item span {
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
    .course-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
    }
    
    .session-item {
        flex-direction: column;
        text-align: center;
    }
    
    .course-tabs {
        overflow-x: auto;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
}

/* Session Detail Layout */
.session-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-bottom: 50px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

.session-video-container {
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.session-video-container video {
    width: 100%;
    display: block;
}

.session-header h1 {
    margin-bottom: 15px;
    font-size: 28px;
}

.session-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.info-box {
    background: #e3f2fd;
    border-right: 4px solid #2196f3;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.info-box p {
    margin: 0;
    color: #1565c0;
}

.assignment-box {
    background: #fff3e0;
    border: 2px solid #ff9800;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.assignment-box h4 {
    color: #e65100;
    margin-top: 0;
    margin-bottom: 10px;
}

.assignment-box p {
    color: #666;
    margin-bottom: 15px;
}

/* Attachments */
.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.attachment-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.attachment-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.attachment-info {
    flex: 1;
}

.attachment-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.attachment-info span {
    color: #999;
    font-size: 13px;
}

/* Session Sidebar */
.session-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-sessions-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.course-sessions-card h3 {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 18px;
}

.sessions-playlist {
    max-height: 500px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
}

.playlist-item:hover {
    background: #f8f9fa;
}

.playlist-item.active {
    background: #e3f2fd;
}

.playlist-item:last-child {
    border-bottom: none;
}

.playlist-number {
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
}

.playlist-item.active .playlist-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.playlist-info {
    flex: 1;
    min-width: 0;
}

.playlist-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-info span {
    font-size: 12px;
    color: #999;
}

.playlist-status {
    font-size: 18px;
    flex-shrink: 0;
}

.session-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.session-navigation button {
    width: 100%;
}

.session-navigation button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 968px) {
    .session-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .session-sidebar {
        position: static;
    }
    
    .session-header h1 {
        font-size: 22px;
    }
    
    .session-meta-info {
        font-size: 13px;
        gap: 15px;
    }
    
    .attachment-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-btn, .pagination-number {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn span {
    font-size: 16px;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-number:hover {
    background: #f5f5f5;
    border-color: var(--primary-color);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    
    .pagi{
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .pagination-numbers {
        display: none;
    }
    
    .pagination {
        justify-content: space-between;
        width: 100%;
    }
    
    .pagination-btn {
        flex: 1;
        justify-content: center;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    padding: 80px 0;
}

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

.about-section.reverse {
    direction: ltr;
}

.about-section.reverse .about-text {
    direction: rtl;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Team Section */
.team-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.team-card h3 {
    font-size: 1.3rem;
    margin: 20px 15px 10px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 15px 10px;
}

.team-bio {
    color: #666;
    font-size: 0.95rem;
    padding: 0 15px 20px;
    line-height: 1.5;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: transparent;
    color: white;
}

/* Responsive About Page */
@media (max-width: 968px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-section.reverse {
        direction: rtl;
    }
    
    .stats-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
}

.register-complete-container {
            max-width: 900px;
            margin: 3rem auto;
            padding: 2rem;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.register-complete-form {
    width: 70%;
    margin: 15px auto;
}

.register-complete-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.home-message {
    background-color: #10b981;
    border-radius: 15px;
    padding: 15px;
}

.register-complete-message {
    width: 70%;
    background-color: #10b981;
    margin: 15px auto;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.course-signup-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.course-signup-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.confirm-course-signup-button {
    text-align: center;
    margin-top: 15px;
}

.password-reminder {
    background: #fff8e6;
    border-bottom: 1px solid #f0d98c;
    padding: 18px 0;
}

.password-reminder-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.password-reminder-content h3 {
    margin: 0 0 6px;
    color: #7a5a00;
    font-size: 1.1rem;
}

.password-reminder-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .password-reminder-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .password-reminder-content .btn {
        width: 100%;
        text-align: center;
    }
}