html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* PDF Converter Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    text-align: center;
}

.file-icons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.file-icon {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.file-icon:hover {
    transform: translateY(-10px);
}

.conversion-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
}

/* Converters Section */
.converters-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    margin-bottom: 2rem;
}

.category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
}

.priority-1 .category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.priority-2 .category-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.priority-3 .category-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.converter-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 2px solid transparent;
}

.converter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.converter-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.converter-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: #667eea;
}

.converter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.converter-description {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.conversion-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.format-tag {
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.format-tag.input {
    background: #d1ecf1;
    color: #0c5460;
}

.format-tag.output {
    background: #d4edda;
    color: #155724;
}

.converter-card-footer {
    margin-top: auto;
}

.converter-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-section .lead {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #6c757d;
    line-height: 1.7;
}

/* Converter Page Styles */
.converter-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 0;
}

.converter-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.converter-hero .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

.converter-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.converter-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.converter-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    text-align: center;
}

.format-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.format-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.format-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.format-item span {
    font-weight: 600;
}

.arrow {
    color: white;
    font-size: 1.5rem;
}

.converter-card-body {
    padding: 2rem;
}

.selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8f4fd;
    border: 2px solid #4facfe;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-info i {
    font-size: 1.5rem;
    color: #dc3545;
}

.file-name {
    font-weight: 600;
    color: #2c3e50;
}

.file-size {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-remove {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.btn-remove:hover {
    background: rgba(220, 53, 69, 0.1);
}

.conversion-options {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.conversion-options h5 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.option-item i {
    font-size: 1.2rem;
    color: #667eea;
    width: 20px;
}

.option-item div {
    flex: 1;
}

.option-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.option-item small {
    color: #6c757d;
}

.convert-button-container {
    text-align: center;
}

.convert-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem 3rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
}

.convert-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.convert-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.converter-features {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.converter-features h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item i {
    font-size: 1.2rem;
    color: #28a745;
    width: 20px;
}

.feature-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.feature-item span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* How to Use Section */
.how-to-section {
    padding: 60px 0;
    background: white;
}

.how-to-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6c757d;
    margin: 0;
}

/* Step Indicator Styles */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 150px;
}

.step-indicator .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-indicator .step.completed:not(:last-child)::after {
    background: #28a745;
}

.step-indicator .step.active:not(:last-child)::after {
    background: linear-gradient(to right, #667eea 50%, #e9ecef 50%);
}

.step-indicator .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    background: #e9ecef;
    color: #6c757d;
    border: 3px solid #e9ecef;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-indicator .step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.step-indicator .step.completed .step-number {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.step-indicator .step.completed .step-number::before {
    content: '✓';
    font-size: 1rem;
}

.step-indicator .step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    transition: color 0.3s ease;
}

.step-indicator .step.active .step-label {
    color: #667eea;
}

.step-indicator .step.completed .step-label {
    color: #28a745;
}

/* Conversion Results Styles */
.conversion-results {
    margin-top: 2rem;
}

.result-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #28a745;
}

.result-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.result-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.result-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.result-body {
    padding: 2rem;
}

.result-body .file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.result-body .file-info i {
    font-size: 2rem;
}

.result-body .file-details {
    flex: 1;
}

.result-body .file-details strong {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.result-body .file-details small {
    color: #6c757d;
}

.download-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-actions .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
}

.download-actions .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
    color: white;
}

.download-actions .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.download-actions .btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Upload Area Enhancements */
.upload-area {
    border: 3px dashed #d1ecf1;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
    position: relative;
    margin-bottom: 2rem;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f0f7ff;
}

.upload-area.drag-over {
    border-color: #667eea;
    background: #e8f4fd;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.upload-area .upload-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    opacity: 1;
    transform: scale(1.1);
}

.upload-area .upload-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.upload-area .upload-subtext {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsiveness for Steps */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .file-icons {
        gap: 1rem;
    }
    
    .file-icon {
        font-size: 3rem;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .converter-card {
        margin-bottom: 1rem;
    }
    
    .format-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .converter-card-body {
        padding: 1rem;
    }
    
    .convert-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .step-indicator {
        gap: 1rem;
        padding: 1rem;
    }
    
    .step-indicator .step:not(:last-child)::after {
        display: none;
    }
    
    .step-indicator .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-indicator .step-label {
        font-size: 0.8rem;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .download-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-area .upload-icon {
        font-size: 3rem;
    }
    
    .upload-area .upload-text {
        font-size: 1.1rem;
    }
}

/* Why Use Our Converter Section */
.why-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.why-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.why-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .why-item {
        padding: 1rem;
    }
    
    .why-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Privacy Page Styles */
.privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.privacy-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-hero .lead {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.privacy-content {
    padding: 80px 0;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    color: #34495e;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.privacy-section h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.security-features {
    margin-top: 2rem;
}

.security-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.security-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.security-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.security-item p {
    color: #7f8c8d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.right-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.right-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.right-item p {
    color: #7f8c8d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.privacy-summary {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.privacy-summary h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.summary-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-5px);
}

.summary-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.summary-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.summary-item p {
    color: #7f8c8d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Privacy Page Responsive Design */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 2.5rem;
    }
    
    .privacy-hero .lead {
        font-size: 1.1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.75rem;
    }
    
    .security-features .row {
        gap: 1rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-summary {
        padding: 2rem 1rem;
    }
}