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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: white;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.nav-logo:hover {
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2563eb;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background-color: #4b5563;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

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

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

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    margin: 0;
}

/* Featured Courses Section */
.featured-courses {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0;
}

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

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.course-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.course-info {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.course-title a {
    color: inherit;
}

.course-title a:hover {
    color: #2563eb;
}

.course-description {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
}

.course-instructor {
    font-size: 0.875rem;
    color: #6b7280;
}

.section-footer {
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
}

/* Courses Catalog */
.courses-catalog {
    padding: 60px 0;
}

.catalog-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.courses-results {
    min-height: 400px;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

/* Course Detail */
.course-detail {
    padding: 60px 0;
}

.course-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.course-main-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.course-meta-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.course-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2rem;
}

.course-sidebar {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.course-image-large {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-price-large {
    font-size: 2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.enroll-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.course-includes {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.course-includes h4 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.course-includes ul {
    list-style: none;
}

.course-includes li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.course-includes li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

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

.course-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.content-section ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.curriculum-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.curriculum-item:hover {
    background-color: #f9fafb;
}

.lesson-title {
    font-weight: 500;
    color: #1f2937;
}

.lesson-duration {
    color: #6b7280;
    font-size: 0.875rem;
}

.instructor-info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.instructor-details h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.instructor-bio {
    color: #4b5563;
    line-height: 1.6;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1f2937;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-answer {
    padding: 0 1rem 1rem;
    color: #4b5563;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.course-not-found {
    padding: 100px 0;
    text-align: center;
}

.not-found-content h1 {
    font-size: 3rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.not-found-content p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Checkout */
.checkout {
    padding: 60px 0;
    background-color: #f9fafb;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step.active {
    background-color: #2563eb;
    color: white;
}

.step.completed {
    background-color: #10b981;
    color: white;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.step.active .step-number,
.step.completed .step-number {
    background-color: rgba(255,255,255,0.2);
    color: inherit;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-main {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc2626;
}

.form-group.error .form-error {
    display: block;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    color: #4b5563;
    font-size: 0.9rem;
}

.checkbox-text a {
    color: #2563eb;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.order-summary h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.course-summary {
    margin-bottom: 1.5rem;
}

.summary-course {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.summary-course-image {
    width: 80px;
    height: 60px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 6px;
    flex-shrink: 0;
}

.summary-course-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.summary-course-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.summary-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.total-amount {
    color: #2563eb;
}

.trust-indicators {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Order Success */
.order-success {
    padding: 100px 0;
    text-align: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-content h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.order-details {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: left;
}

.order-details h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.order-item:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #2563eb;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.next-steps {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.next-steps h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-section.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-section.reverse .about-text {
    order: 2;
}

.about-section.reverse .about-image {
    order: 1;
}

.about-text h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.values-section {
    margin-bottom: 4rem;
}

.values-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.value-icon {
    color: #2563eb;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6b7280;
    margin: 0;
}

.company-info {
    background: #f9fafb;
    padding: 3rem;
    border-radius: 12px;
}

.company-info h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
}

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

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

.info-item h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.info-item p {
    color: #4b5563;
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.method-icon {
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.method-details h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.method-details p {
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.method-details a {
    color: #2563eb;
    font-weight: 500;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-form h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Page */
.faq-content {
    padding: 60px 0;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-category {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.3s ease;
}

.faq-category.active,
.faq-category:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
}

.faq-sections {
    margin-bottom: 3rem;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-footer {
    text-align: center;
    background: #f9fafb;
    padding: 3rem;
    border-radius: 12px;
}

.faq-footer h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.faq-footer p {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.legal-document h2 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.legal-document h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-document h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-document p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-document ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-document li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.disclaimer-notice {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid #2563eb;
}

.disclaimer-notice p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1f2937;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 50;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-hero {
        grid-template-columns: 1fr;
    }
    
    .course-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .about-section.reverse .about-text,
    .about-section.reverse .about-image {
        order: initial;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-filters {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-document {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .course-card {
        margin: 0 -10px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkout-main,
    .order-summary {
        padding: 1.5rem;
    }
    
    .legal-document {
        padding: 1.5rem;
    }
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav,
    .hero-actions,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .course-detail,
    .legal-document {
        page-break-inside: avoid;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

<!--