/* ========================================
   SCORM Multi-Language Wrapper - Styles
   ======================================== */

/* ========== Global Styles ========== */
:root {
    --primary-color: #E57E25;
    --primary-dark: #C66A1F;
    --primary-light: #F29850;
    --secondary-color: #6C757D;
    --success-color: #28A745;
    --danger-color: #DC3545;
    --warning-color: #FFC107;
    --info-color: #17A2B8;
    --light-bg: #F8F9FA;
    --dark-bg: #212529;
    --border-color: #E0E0E0;
    --text-color: #333333;
    --text-muted: #666666;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    
    /* Bootstrap Color Overrides */
    --bs-primary: #E57E25;
    --bs-primary-rgb: 229, 126, 37;
    --bs-primary-text-emphasis: #C66A1F;
    --bs-primary-bg-subtle: #fef3eb;
    --bs-primary-border-subtle: #fde7d1;
    --bs-link-color: #E57E25;
    --bs-link-color-rgb: 229, 126, 37;
    --bs-link-hover-color: #C66A1F;
    --bs-link-hover-color-rgb: 198, 106, 31;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-3, .display-4, .display-5 {
    font-weight: 800;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ========== Navigation ========== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: white !important;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
}

/* ========== Buttons ========== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background-color: white;
    color: #2c2c2c;
}

.btn-light:hover {
    background-color: #f0f0f0;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-section .btn-light {
    color: #2c2c2c;
    font-weight: 600;
}

.cta-section .btn-light:hover {
    color: #000000;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========== Hero Section ========== */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(229,126,37,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 12px;
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ========== Features Section ========== */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========== How It Works Section ========== */
.how-it-works-section {
    padding: 80px 0;
}

.step-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========== Use Cases Section ========== */
.use-cases-section {
    padding: 80px 0;
}

.use-case-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.use-case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.use-case-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========== Screenshots Section ========== */
.screenshots-section {
    padding: 80px 0;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.screenshot-item img {
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    width: 100%;
    display: block;
}

.screenshot-item a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(229, 126, 37, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: 12px;
}

.screenshot-overlay i {
    font-size: 3rem;
    color: white;
}

.screenshot-item a:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-item h4 {
    margin-top: 1.5rem;
    font-weight: 700;
}

/* ========== Download Section ========== */
.download-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.download-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.info-item i {
    font-size: 2.5rem;
}

.download-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 5rem;
    color: var(--primary-color);
}

/* ========== FAQ Section ========== */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.25rem 1.5rem;
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.cta-box {
    color: white;
    padding: 3rem;
}

.cta-box h2,
.cta-box .lead {
    color: white;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--dark-bg);
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-light) !important;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-4px);
}

/* ========== Documentation Styles ========== */
.doc-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 76px;
}

.doc-sidebar {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    top: 100px;
}

.doc-sidebar .nav-link {
    color: var(--text-color) !important;
    padding: 0.75rem 1rem !important;
    border-left: 3px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
}

.doc-sidebar .nav-link:hover,
.doc-sidebar .nav-link.active {
    color: var(--primary-color) !important;
    border-left-color: var(--primary-color);
    background-color: rgba(229, 126, 37, 0.05);
}

.doc-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.doc-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.doc-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.doc-content code {
    background-color: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e83e8c;
}

.doc-content pre {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border-left: 4px solid var(--primary-color);
}

.screenshot-box {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.screenshot-box img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.step-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.step-number-inline {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-box h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-box p {
    margin-bottom: 0;
}

.best-practice-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.best-practice-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.best-practice-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.best-practice-item p {
    margin-bottom: 0;
}

.faq-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.faq-item h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

.support-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.support-box h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========== Alert Overrides ========== */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-info {
    background-color: #e7f3ff;
    color: #004085;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* ========== Responsive Styles ========== */
@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .features-section,
    .how-it-works-section,
    .use-cases-section,
    .screenshots-section,
    .download-section,
    .faq-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .doc-sidebar {
        position: relative !important;
        top: 0 !important;
    }
    
    .doc-content {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .display-3,
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card,
    .use-case-card {
        padding: 2rem;
    }
    
    .step-card {
        padding: 2rem 1rem;
    }
    
    .cta-box {
        padding: 2rem 1rem;
    }
    
    .doc-content {
        padding: 1.5rem;
    }
    
    .doc-content h2 {
        font-size: 1.75rem;
    }
    
    .support-box {
        padding: 2rem;
    }
}

/* ========== Utility Classes ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.rounded-custom {
    border-radius: 12px;
}

/* ========== Animation ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== Scrollbar Styling ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== About Page Styles ========== */
.about-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 76px;
}

.about-image img {
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    margin: 1.5rem 0;
}

.stat-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.story-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.story-content .lead {
    font-size: 1.375rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Education Cards */
.education-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.education-year {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Specialization Cards */
.specialization-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.specialization-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.specialization-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

/* Skill Badges */
.skill-badge {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 100%;
}

.skill-badge:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Project Cards */
.project-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive About Page */
@media (max-width: 991px) {
    .about-header {
        padding: 120px 0 60px;
        margin-top: 70px;
    }
    
    .doc-header {
        padding: 120px 0 60px;
        margin-top: 70px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 5px;
    }
    
    .about-image img {
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .about-header {
        padding: 100px 0 40px;
        margin-top: 60px;
    }
    
    .doc-header {
        padding: 100px 0 40px;
        margin-top: 60px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .story-content {
        font-size: 1rem;
    }
    
    .story-content .lead {
        font-size: 1.125rem;
    }
    
    .specialization-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .about-image img {
        max-width: 250px;
    }
}
