/* 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 */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    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;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: #374151;
    border-color: #d1d5db;
}

.btn-outline:hover {
    background-color: #f9fafb;
    text-decoration: none;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #374151;
    transition: color 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.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;
    justify-content: center;
    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;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

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

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.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 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.course-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-content {
    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;
    text-decoration: none;
}

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

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

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

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

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

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

.trust-content {
    text-align: center;
}

.trust h2 {
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trust-item h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.trust-item p {
    color: #6b7280;
    margin: 0;
}

/* 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.125rem;
    opacity: 0.9;
    margin: 0;
}

/* Catalog Filters */
.catalog-filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

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

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

.search-input,
.filter-select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.results-info {
    margin-bottom: 2rem;
    color: #6b7280;
    font-weight: 500;
}

/* Course Detail */
.course-detail {
    padding: 2rem 0;
}

.course-hero {
    background-color: #f9fafb;
    padding: 3rem 0;
}

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

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

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

.course-breadcrumb span {
    margin: 0 0.5rem;
}

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

.course-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
}

.meta-label {
    font-weight: 500;
    color: #6b7280;
}

.course-hero-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.course-card-image {
    height: 200px;
    overflow: hidden;
}

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

.course-card-content {
    padding: 1.5rem;
}

.course-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.course-guarantee {
    text-align: center;
    margin-top: 1rem;
}

.course-guarantee p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.course-details {
    padding: 3rem 0;
}

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

.course-section {
    margin-bottom: 3rem;
}

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

.learning-objectives,
.requirements {
    list-style: none;
    padding: 0;
}

.learning-objectives li,
.requirements li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
}

.learning-objectives li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.requirements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: bold;
}

.curriculum {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
}

.curriculum-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.curriculum-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.curriculum-item p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.faq-list {
    background: #f9fafb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

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

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

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

.faq-question svg {
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    display: none;
}

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

.course-sidebar {
    position: sticky;
    top: 100px;
}

.instructor-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.instructor-info h4 {
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Course Not Found */
.course-not-found {
    padding: 80px 0;
    text-align: center;
}

.not-found-content h1 {
    color: #ef4444;
    margin-bottom: 1rem;
}

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

/* Checkout */
.checkout {
    padding: 2rem 0;
}

.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;
    color: #9ca3af;
}

.step.active {
    color: #2563eb;
}

.step.completed {
    color: #10b981;
}

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

.step-label {
    font-weight: 500;
}

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

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 2rem;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 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);
}

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

.error-message.show {
    display: block;
}

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

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.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;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.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-weight: bold;
    font-size: 0.75rem;
}

.checkbox-text {
    line-height: 1.4;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.checkout-sidebar {
    position: sticky;
    top: 100px;
}

.order-summary,
.billing-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

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

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

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.125rem;
}

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

.summary-course-price {
    font-weight: 600;
    color: #2563eb;
}

/* Payment Security */
.payment-security {
    margin-bottom: 2rem;
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0369a1;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-icons {
    display: flex;
    gap: 0.5rem;
}

/* Order Success */
.order-success {
    padding: 80px 0;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    color: #10b981;
    margin-bottom: 2rem;
}

.success-content h1 {
    color: #10b981;
    margin-bottom: 1rem;
}

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

.order-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    text-align: left;
}

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

.order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.order-number,
.order-date {
    font-size: 0.875rem;
}

.next-steps {
    margin-bottom: 3rem;
}

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

.next-steps ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

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

.demo-notice {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 1rem;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.875rem;
}

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

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

.about-section h2 {
    color: #1f2937;
    margin-bottom: 2rem;
}

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

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

.benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #374151;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.cta-section {
    text-align: center;
    background-color: #f9fafb;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.cta-section h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.contact-info > p {
    color: #6b7280;
    margin-bottom: 3rem;
}

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

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

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

.contact-details h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

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

.contact-note {
    font-size: 0.875rem;
    color: #9ca3af;
}

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

.contact-form h3 {
    color: #1f2937;
    margin-bottom: 2rem;
}

.success-message {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-faq {
    background-color: #f9fafb;
    padding: 3rem;
    border-radius: 12px;
}

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

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

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

.quick-answer {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quick-answer h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.quick-answer p {
    color: #6b7280;
    margin: 0;
}

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

.faq-categories {
    margin-bottom: 4rem;
}

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

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

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

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

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

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

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

.legal-document ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-document li {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.contact-info {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    font-style: italic;
    color: #6b7280;
}

/* 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 h4 {
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .course-hero-content,
    .course-details-content,
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-hero-card,
    .course-sidebar,
    .checkout-sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        grid-template-columns: 1fr;
    }

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

    .checkout-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .success-actions,
    .cta-actions,
    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .order-info {
        grid-template-columns: 1fr;
    }

    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .features-grid,
    .trust-grid,
    .values-list,
    .benefits-list,
    .quick-answers {
        grid-template-columns: 1fr;
    }

    .legal-document {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .course-hero h1 {
        font-size: 2rem;
    }

    .checkout-form,
    .contact-form-section,
    .order-details,
    .legal-document {
        padding: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .btn,
    .checkout-sidebar,
    .course-sidebar {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .legal-document,
    .order-details {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border-color: #000;
    }

    .btn-secondary {
        border-color: #000;
        color: #000;
    }

    .course-card:hover,
    .feature-card:hover {
        box-shadow: 0 0 0 2px #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
.btn:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus,
.faq-question:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}