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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
}

.logo h1 span {
    color: #ff6b6b;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #007bff;
    text-decoration: none;
}

.language-switcher {
    margin-left: 20px;
}

.language-switcher select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.converter-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    gap: 10px;
}

.converter-box input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.converter-box button {
    padding: 15px 30px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.converter-box button:hover {
    background-color: #ff5252;
}

/* Progress Section */
.progress-container {
    max-width: 700px;
    margin: 30px auto;
    text-align: center;
}

.progress-bar {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0%;
    transition: width 0.5s;
}

/* Download Section */
.download-container {
    margin: 30px auto;
    text-align: center;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #28a745;
    color: white;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #218838;
    text-decoration: none;
}

/* Preview (Result) Card */
.preview-container {
    max-width: 700px;
    margin: 20px auto 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 16px;
}

.preview-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.preview-thumb {
    width: 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #f1f3f5;
}

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

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

.preview-title {
    font-weight: 700;
    font-size: 1rem;
    color: #222;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-meta {
    color: #666;
    font-size: 0.9rem;
}

.preview-actions {
    flex: 0 0 auto;
}

.preview-actions .download-btn {
    padding: 10px 18px;
    font-size: 14px;
}

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

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

@media (min-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

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

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

.testimonial {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #007bff;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background-color: #fff;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.team {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.team h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

.team-member {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.team-member p {
    color: #007bff;
    font-weight: 600;
}

/* Terms and Privacy Content */
.terms-content,
.privacy-content {
    padding: 80px 0;
    background-color: #fff;
}

.terms-section,
.privacy-section {
    margin-bottom: 40px;
}

.terms-section h2,
.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #007bff;
}

.terms-section p,
.privacy-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.terms-section ul,
.privacy-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.terms-section li,
.privacy-section li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
    background-color: #fff;
}

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

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #007bff;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 20px;
    color: #007bff;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.submit-btn {
    padding: 15px 40px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

@media (min-width: 1200px) {
    .faq-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1400px) {
    .faq-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.faq-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #007bff;
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #007bff;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .converter-box {
        flex-direction: column;
    }
    
    .features,
    .how-it-works,
    .testimonials,
    .about-content,
    .team,
    .terms-content,
    .privacy-content,
    .contact-content,
    .faq {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .converter-box input,
    .converter-box button {
        padding: 12px;
        font-size: 14px;
    }
    
    .features h2,
    .how-it-works h2,
    .testimonials h2,
    .team h2,
    .faq h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .step,
    .testimonial,
    .team-member,
    .faq-item {
        padding: 20px;
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #fff;
}

.benefits h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

@media (min-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.benefit-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Quality Assurance Section */
.quality-assurance {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.quality-assurance h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

.quality-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

/* Legal Compliance Section */
.legal-compliance {
    padding: 80px 0;
    background-color: #fff;
}

.legal-compliance h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

.legal-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

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

.faq-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #007bff;
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-align: center;
}

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

.cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #ff5252;
    text-decoration: none;
}
