/* Base Styles */
:root {
    --primary-color: #887fff;
    --primary-dark: #887fff;
    --secondary-color: #f5f7fa;
    --text-color: #333;
    --light-text: #666;
    --border-color: #e1e5eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
    font-size: 16px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 180px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-text);
}

/* Ad Containers */
.ad-container {
    margin: 30px 0;
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.ad-placeholder {
    background-color: var(--secondary-color);
    padding: 40px 20px;
    border-radius: var(--radius);
    color: var(--light-text);
}

/* Image Compressor */
.compressor-container {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 40px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 30px;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(18, 163, 184, 0.05);
}

.upload-area.active {
    border-color: var(--primary-color);
    background-color: rgba(18, 163, 184, 0.05);
}

/* Base icon styles */
i {
    /* Match icon color to your theme */
    color: var(--primary-color);
    
    /* Standard size */
    font-size: 1em;
    
    /* Prevent weird alignment issues */
    display: inline-block;
    vertical-align: middle;
}

/* Specific icon sizes */
.feature-icon i {
    font-size: 2.5rem;
}

.social-links i {
    font-size: 1.2rem;
}

.btn i {
    /* Add space between icon and text in buttons */
    margin-right: 8px;
}

.upload-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-icon i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-text {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.upload-subtext {
    color: var(--light-text);
    margin-bottom: 15px;
}

.file-input {
    display: none;
}

.options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.option-group {
    flex: 1;
    min-width: 200px;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.option-group select, .option-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
}

.quality-value {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: var(--light-text);
}

/* Advanced Options */
.advanced-options {
    margin-bottom: 30px;
}

.options-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--secondary-color);
    border-radius: var(--radius);
    cursor: pointer;
    margin-bottom: 15px;
}

.options-content {
    display: none;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: var(--radius);
}

.options-content.active {
    display: block;
}

/* Progress Bar */
.progress-container {
    display: none;
    margin-top: 20px;
}

.progress-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--light-text);
}

/* Results */
.results {
    display: none;
    margin-top: 30px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.results-title {
    font-size: 20px;
    font-weight: 600;
}

.results-actions {
    display: flex;
    gap: 15px;
}

.download-all {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--success-color);
}

.download-all:hover {
    background-color: #0e9f72;
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.file-card {
    background-color: var(--secondary-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.file-preview {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.file-info {
    margin-bottom: 15px;
}

.file-name {
    font-weight: 500;
    margin-bottom: 5px;
    word-break: break-all;
}

.file-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--light-text);
}

.file-savings {
    color: var(--success-color);
    font-weight: 500;
}

.file-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.file-actions .btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 14px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-desc {
    color: var(--light-text);
}

/* How It Works */
.how-it-works {
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
    margin-bottom: 60px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 350px;
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--light-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author div {
    text-align: left;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Blog Preview */
.blog-preview {
    margin-bottom: 60px;
    text-align: center;
}

.blog-preview h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.blog-post {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.post-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

.view-all {
    margin-top: 20px;
}

/* Newsletter */
.newsletter {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.newsletter h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newsletter p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 20px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
}

/* Footer */
footer {
    background-color: #2d3748;
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-about {
    font-size: 14px;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    text-decoration: none;
    gap: 5px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links a:hover i{
    color: #fff;
}

.social-links i {
    font-size: 16px;
    color: #fff;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #cbd5e0;
}

/* Blog Page Styles */
.blog-listing {
    margin-bottom: 60px;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
}

.blog-post {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.blog-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.post-meta .category {
    color: var(--primary-color);
    font-weight: 500;
}

.post-meta .date {
    color: var(--light-text);
}

.blog-post h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-post h2 a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-block;
    padding: 8px 15px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.page-link:hover {
    background-color: var(--secondary-color);
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.next {
    padding: 8px 20px;
}

/* Blog Detail Styles */
.blog-article {
    max-width: 800px;
    margin: 0 auto 60px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.article-meta .category {
    color: var(--primary-color);
    font-weight: 500;
}

.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.article-image {
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    border-radius: var(--radius);
}

.article-content {
    line-height: 1.7;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.intro {
    font-size: 1.1rem;
    font-weight: 500;
}

.tip {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    padding: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 30px 0;
}

.tip h3 {
    color: var(--success-color);
    margin-bottom: 10px;
}

.ad-container.in-content {
    margin: 40px 0;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.tags a {
    color: var(--primary-color);
    text-decoration: none;
    background-color: rgba(18, 163, 184, 0.1);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.tags a:hover {
    background-color: rgba(18, 163, 184, 0.2);
}

.sharing {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
}

.social-share:hover {
    background-color: var(--primary-color);
    color: white;
}

.related-posts {
    margin-bottom: 60px;
}

.related-posts h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-post {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h3 {
    padding: 15px;
    font-size: 1.1rem;
}

.related-post h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.related-post h3 a:hover {
    color: var(--primary-color);
}

.related-post .post-meta {
    padding: 0 15px 15px;
    font-size: 0.8rem;
}

.comments {
    margin-bottom: 60px;
}

.comments h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.comment-list {
    margin-bottom: 40px;
}

.comment {
    background-color: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.comment-date {
    color: var(--light-text);
    font-size: 0.9rem;
}

.comment-content {
    line-height: 1.6;
}

.comment-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comment-form h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* About Page Styles */
.about-section {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-section.reverse {
    flex-direction: row-reverse;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-content li {
    margin-bottom: 10px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.team-section {
    text-align: center;
    margin-bottom: 60px;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--secondary-color);
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.bio {
    color: var(--light-text);
    line-height: 1.6;
}

.values-section {
    text-align: center;
    margin-bottom: 60px;
}

.values-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-success {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-item p, .info-item address {
    color: var(--light-text);
    line-height: 1.6;
    font-style: normal;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-links a {
    margin-right: 10px;
    color: var(--primary-color);
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

.faq-preview {
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* FAQ Page Styles */
.faq-section {
    margin-bottom: 60px;
}

.search-faq {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-faq input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-btn {
    padding: 8px 15px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.category-btn:hover {
    background-color: #e1e5eb;
}

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.faq-accordion {
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: white;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.faq-answer p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.faq-answer ul, .faq-answer ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-contact {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-contact h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-contact p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Help Center Styles */
.help-section {
    margin-bottom: 60px;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.help-category {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.help-category:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.help-category h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.help-category ul {
    list-style: none;
}

.help-category li {
    margin-bottom: 10px;
}

.help-category a {
    color: var(--text-color);
    text-decoration: none;
}

.help-category a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.help-articles {
    margin-bottom: 40px;
}

.help-article {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.help-article h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.help-article p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.help-article ol, .help-article ul {
    margin: 20px 0;
    padding-left: 20px;
}

.help-article li {
    margin-bottom: 10px;
}

.article-tip, .article-note {
    padding: 20px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.article-tip {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
}

.article-note {
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
}

.article-tip h3, .article-note h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.help-contact {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.help-contact h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.help-contact p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 20px;
}

.video-tutorials {
    margin-bottom: 60px;
}

.video-tutorials h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-thumbnail {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
}

.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-thumbnail h3 {
    padding: 15px;
    font-size: 1.1rem;
}

.video-duration {
    padding: 0 15px 15px;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Feedback Page Styles */
.feedback-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.feedback-form-container {
    flex: 1;
}

.feedback-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feedback-form h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-success {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feedback-info {
    flex: 1;
}

.feedback-info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feedback-info p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.feedback-info ul {
    margin: 20px 0;
    padding-left: 20px;
}

.feedback-info li {
    margin-bottom: 10px;
}

.roadmap {
    margin: 30px 0;
}

.roadmap-item {
    padding: 20px;
    border-left: 4px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.roadmap-item.in-progress {
    border-left-color: var(--primary-color);
    background-color: rgba(18, 163, 184, 0.1);
}

.roadmap-item.planned {
    border-left-color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.1);
}

.roadmap-item.considering {
    border-left-color: var(--light-text);
    background-color: rgba(102, 102, 102, 0.1);
}

.roadmap-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.roadmap-item p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.roadmap-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
}

.in-progress .roadmap-status {
    background-color: var(--primary-color);
    color: white;
}

.planned .roadmap-status {
    background-color: #f59e0b;
    color: white;
}

.considering .roadmap-status {
    background-color: var(--light-text);
    color: white;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th, .cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--secondary-color);
    font-weight: 500;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: normal;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Animation for processing */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.processing {
    animation: pulse 1.5s infinite;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 20px;
    }

    .nav-links a:hover {
        background-color: var(--secondary-color);
    }

    .hamburger {
        display: block;
    }

    .hero h1, .page-header h1 {
        font-size: 2rem;
    }

    .hero p, .page-header p {
        font-size: 1rem;
    }

    .options-row {
        flex-direction: column;
        gap: 15px;
    }

    .file-list {
        grid-template-columns: 1fr;
    }

    .about-section, .about-section.reverse {
        flex-direction: column;
    }

    .contact-section {
        flex-direction: column;
    }

    .blog-post {
        grid-template-columns: 1fr;
    }

    .blog-post img {
        height: 200px;
    }

    .testimonial {
        min-width: 280px;
    }

    .feedback-section {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }
}














.main-content {
    padding: 40px 0;
}

.compression-app {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.upload-container {
    padding: 40px;
}

.drop-zone {
    border: 3px dashed var(--border-color);
    border-radius: 8px;
    padding: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-zone:hover {
    border-color: var(--primary-color);
}

.drop-zone.active {
    border-color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.05);
}

.drop-content i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.drop-content h2 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.drop-content p {
    color: #666;
}

#file-input {
    display: none;
}

.controls {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px 20px;
    border-top: 1px solid var(--border-color);
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--light-gray);
}

.results-container {
    padding: 0 40px 40px;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.result-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.result-info {
    flex: 1;
}

.result-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.result-stats {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 14px;
}

.result-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.compression-badge {
    background-color: #e8f5e9;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 10px;
}

.compare-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

/* Comparison modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.comparison-info {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .drop-zone {
        padding: 40px 20px;
        height: 250px;
    }
    
    .upload-container {
        padding: 20px;
    }
    
    .controls {
        padding: 20px 20px 20px;
    }
    
    .results-container {
        padding: 0 20px 20px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
    }
}












/* 404 page code */
        .error-container {
            text-align: center;
            padding: 40px 20px;
        }

        .error-code {
            font-size: 96px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .error-message {
            font-size: 24px;
            margin: 10px 0;
            color: var(--light-text);
        }

        .error-description {
            font-size: 16px;
            color: var(--light-text);
            margin-bottom: 30px;
        }

        .back-home {
            display: inline-block;
            padding: 12px 24px;
            background-color: var(--primary-color);
            color: #fff;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 600;
            box-shadow: var(--shadow);
            transition: background-color 0.3s ease;
        }

        .back-home:hover {
            background-color: var(--primary-dark);
        }

        .error-image {
            max-width: 300px;
            margin-bottom: 30px;
        }