      :root {
         --primary-color: #4361ee;
         --primary-dark: #3a56d4;
         --secondary-color: #3f37c9;
         --accent-color: #4895ef;
         --dark-color: #16213e;
         --light-color: #f8f9fa;
         --text-color: #e6f1ff;
         --text-secondary: #ccd6f6;
         --text-tertiary: #a8b2d1;
         --gray-color: #6c757d;
         --success-color: #4bb543;
         --error-color: #ff3333;
         --warning-color: #ffcc00;
         --footer-bg: #0a192f;
         --footer-text: #e6f1ff;
         --footer-link: #64ffda;
         --card-bg: rgba(16, 42, 87, 0.7);
         --card-border: rgba(67, 97, 238, 0.2);
         --tool-card-bg: rgba(16, 42, 87, 0.5);
     }
     
     body {
         font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
         line-height: 1.6;
         color: var(--text-color);
         background-color: #0a192f;
         background-image: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
         margin: 0;
         padding: 0;
         overflow-x: hidden;
     }
     
     .container {
         max-width: 1200px;
         margin: 0 auto;
         padding: 0 20px;
     }
     
     .header {
         text-align: center;
         padding: 40px 0 30px;
     }
     
     .header h1 {
         font-size: clamp(1.8rem, 4vw, 2.5rem);
         margin-bottom: 10px;
         color: var(--primary-color);
         display: flex;
         align-items: center;
         justify-content: center;
         gap: 10px;
     }
     
     .header .subtitle {
         font-size: clamp(1rem, 2vw, 1.1rem);
         color: var(--text-secondary);
         max-width: 700px;
         margin: 0 auto;
     }
     
     .converter-card {
         background-color: var(--card-bg);
         max-width: 800px;
         margin: 0 auto;
         border-radius: 12px;
         box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
         padding: 30px;
         margin-bottom: 40px;
     }
     
     .upload-section {
         border: 2px dashed #e0e0e0;
         border-radius: 8px;
         padding: 40px 20px;
         text-align: center;
         position: relative;
         transition: all 0.3s ease;
     }
     
     .upload-icon {
         font-size: 3rem;
         transition: all 0.3s ease;
         margin-bottom: 15px;
     }
     
     .upload-icon:hover {
         transform: scale(1.1);
         color: #4895ef !important;
         border-color: #4895ef !important;
         background: rgba(72, 149, 239, 0.2) !important;
     }
     
     .upload-heading {
         font-size: 1.5rem;
         margin-bottom: 10px;
         color: var(--text-color);
     }
     
     .browse-btn {
         background-color: var(--accent-color);
         color: white;
         border: none;
         padding: 12px 24px;
         border-radius: 8px;
         font-size: 1rem;
         cursor: pointer;
         transition: all 0.3s;
         margin-top: 15px;
     }
     
     .browse-btn:hover {
         background-color: var(--primary-dark);
         transform: translateY(-2px);
     }
     
     .size-notice {
         color: var(--text-tertiary);
         font-size: 0.9rem;
         margin: 5px 0;
     }
     
     .modern-notice {
         background-color: rgba(26, 188, 156, 0.1);
         border-left: 3px solid #1abc9c;
         padding: 10px;
         margin: 15px 0;
         border-radius: 0 4px 4px 0;
     }
     
     .file-info {
         display: none;
         align-items: center;
         justify-content: space-between;
         background-color: rgba(16, 42, 87, 0.5);
         padding: 10px 15px;
         border-radius: 8px;
         margin-top: 15px;
     }
     
     .remove-btn {
         background: none;
         border: none;
         color: var(--error-color);
         font-size: 1.2rem;
         cursor: pointer;
         padding: 0 5px;
     }
     
     .controls-grid {
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
         gap: 20px;
         margin-bottom: 30px;
     }
     
     .control-group {
         margin-bottom: 15px;
     }
     
     .control-group label {
         display: block;
         margin-bottom: 8px;
         color: var(--text-secondary);
     }
     
     .control-group select,
     .control-group input[type="range"] {
         width: 100%;
         padding: 10px;
         border-radius: 6px;
         border: 1px solid var(--card-border);
         background-color: rgba(16, 42, 87, 0.7);
         color: var(--text-color);
     }
     
     .action-buttons {
         display: flex;
         gap: 15px;
         margin-bottom: 20px;
         flex-wrap: wrap;
     }
     
     .convert-btn,
     .download-btn {
         background-color: var(--accent-color);
         color: white;
         border: none;
         padding: 12px 24px;
         border-radius: 8px;
         font-size: 1rem;
         cursor: pointer;
         transition: all 0.3s;
         display: flex;
         align-items: center;
         justify-content: center;
     }
     
     .convert-btn:hover,
     .download-btn:hover {
         transform: translateY(-2px);
         color: white;
     }
     
     .convert-btn:disabled,
     .download-btn:disabled {
         opacity: 0.6;
         cursor: not-allowed;
     }
     
     .btn-loader {
         display: none;
         width: 20px;
         height: 20px;
         border: 3px solid rgba(255, 255, 255, 0.3);
         border-radius: 50%;
         border-top-color: white;
         animation: spin 1s ease-in-out infinite;
         margin-left: 10px;
     }
     
     @keyframes spin {
         to {
             transform: rotate(360deg);
         }
     }
     
     .progress-container {
         display: none;
         margin-bottom: 20px;
     }
     
     .progress-info {
         display: flex;
         justify-content: space-between;
         margin-bottom: 5px;
         font-size: 0.9rem;
     }
     
     .progress-bar {
         height: 6px;
         background-color: rgba(16, 42, 87, 0.7);
         border-radius: 3px;
         overflow: hidden;
     }
     
     .progress-bar-fill {
         height: 100%;
         background-color: var(--accent-color);
         width: 0%;
         transition: width 0.3s;
     }
     
     .results-section {
         display: none;
         margin-top: 30px;
     }
     
     .results-header {
         margin-bottom: 20px;
     }
     
     .results-header h3 {
         color: var(--primary-color);
     }
     
     .image-preview-container {
         text-align: center;
     }
     
     .image-preview-container img {
         max-width: 100%;
         max-height: 400px;
         border-radius: 8px;
         box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
         margin-bottom: 20px;
     }
     
     .loading-overlay {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background-color: rgba(10, 25, 47, 0.9);
         display: flex;
         justify-content: center;
         align-items: center;
         z-index: 9999;
         display: none;
         flex-direction: column;
     }
     
     .spinner {
         width: 50px;
         height: 50px;
         border: 5px solid rgba(255, 255, 255, 0.3);
         border-radius: 50%;
         border-top-color: var(--primary-color);
         animation: spin 1s ease-in-out infinite;
     }
     
     .processing-text {
         margin-top: 20px;
         color: var(--text-color);
         font-size: 1.1rem;
     }
     
     .toast-container {
         position: fixed;
         top: 20px;
         right: 20px;
         z-index: 9999;
     }
     
     .toast {
         padding: 12px 20px;
         margin-bottom: 10px;
         border-radius: 6px;
         color: white;
         display: flex;
         align-items: center;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
         animation: slideIn 0.3s, fadeOut 0.5s 4.5s;
     }
     
     .toast i {
         margin-right: 10px;
     }
     
     .toast.success {
         background-color: var(--success-color);
     }
     
     .toast.error {
         background-color: var(--error-color);
     }
     
     .toast.info {
         background-color: var(--accent-color);
     }
     
     @keyframes slideIn {
         from {
             transform: translateX(100%);
         }
         to {
             transform: translateX(0);
         }
     }
     
     @keyframes fadeOut {
         from {
             opacity: 1;
         }
         to {
             opacity: 0;
         }
     }
     /* Related Tools Section */
     
     .related-tools-section {
         margin: 40px 0;
         padding: 30px;
         background-color: var(--card-bg);
         border-radius: 10px;
         border: 1px solid var(--card-border);
     }
     
     .related-tools-section h2 {
         color: var(--primary-color);
         margin-bottom: 25px;
         text-align: center;
         position: relative;
         padding-bottom: 15px;
     }
     
     .related-tools-section h2::after {
         content: "";
         position: absolute;
         bottom: 0;
         left: 50%;
         transform: translateX(-50%);
         width: 80px;
         height: 3px;
         background-color: var(--accent-color);
     }
     
     .tools-grid {
         display: grid;
         grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
         gap: 25px;
         margin-top: 20px;
     }
     
     .tool-card {
         background-color: var(--tool-card-bg);
         border-radius: 12px;
         padding: 25px;
         transition: all 0.3s ease;
         border: 1px solid var(--card-border);
         display: flex;
         flex-direction: column;
         align-items: flex-start;
     }
     
     .tool-card:hover {
         transform: translateY(-5px);
         box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
         border-color: var(--accent-color);
     }
     
     .tool-icon-container {
         width: 50px;
         height: 50px;
         border-radius: 12px;
         display: flex;
         align-items: center;
         justify-content: center;
         margin-bottom: 15px;
         font-size: 1.5rem;
         color: white;
     }
     
     .tool-card h3 {
         color: var(--primary-color);
         margin-bottom: 12px;
         font-size: 1.2rem;
         font-weight: 600;
     }
     
     .tool-card p {
         color: var(--text-color);
         font-size: 0.95rem;
         margin-bottom: 20px;
         line-height: 1.5;
     }
     
     .tool-card a {
         display: inline-flex;
         align-items: center;
         background-color: var(--accent-color);
         color: white;
         padding: 10px 18px;
         border-radius: 8px;
         text-decoration: none;
         font-weight: 500;
         transition: all 0.3s;
         margin-top: auto;
     }
     
     .tool-card a:hover {
         background-color: var(--footer-link);
         transform: translateY(-2px);
         box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
         color: var(--accent-color);
     }
     
     .tool-card a i {
         margin-left: 8px;
         font-size: 0.9rem;
         transition: transform 0.3s;
     }
     
     .tool-card a:hover i {
         transform: translateX(3px);
     }
     
     .section-divider {
         height: 1px;
         background-color: var(--card-border);
         margin: 40px 0;
     }
     /* SEO Content Styling */
     
     .seo-content {
         margin: 40px 0;
         padding: 30px;
         background-color: var(--card-bg);
         border-radius: 10px;
         border: 1px solid var(--card-border);
     }
     
     .seo-content h2 {
         color: var(--primary-color);
         margin-top: 2rem;
         font-size: 1.5rem;
     }
     
     .seo-content h3 {
         color: var(--accent-color);
         margin-top: 1.5rem;
         font-size: 1.3rem;
     }
     
     .seo-content p {
         margin-bottom: 1rem;
         line-height: 1.6;
     }
     
     .seo-content ul,
     .seo-content ol {
         margin-left: 1.5rem;
         line-height: 1.6;
         margin-bottom: 1.5rem;
     }
     
     .seo-content li {
         margin-bottom: 0.5rem;
     }
     /* FAQ Styling */
     
     .faq-item {
         margin-bottom: 15px;
         border-bottom: 1px solid var(--card-border);
         padding-bottom: 15px;
     }
     
     .faq-question {
         background: none;
         border: none;
         width: 100%;
         text-align: left;
         padding: 10px 0;
         color: var(--text-color);
         font-size: 1.1rem;
         cursor: pointer;
         display: flex;
         justify-content: space-between;
         align-items: center;
     }
     
     .faq-question i {
         transition: transform 0.3s;
     }
     
     .faq-answer {
         max-height: 0;
         overflow: hidden;
         transition: max-height 0.3s ease;
         padding-left: 10px;
     }
     
     .faq-answer.show {
         max-height: 500px;
     }
     /* Blog section styling */
     
     .blog-section {
         margin-top: 40px;
         padding: 30px;
         background-color: var(--card-bg);
         border-radius: 10px;
         border: 1px solid var(--card-border);
     }
     
     .blog-section h2 {
         color: var(--primary-color);
         margin-bottom: 20px;
     }
     
     .blog-article {
         margin-bottom: 20px;
         padding-bottom: 20px;
         border-bottom: 1px solid var(--card-border);
     }
     
     .blog-article:last-child {
         border-bottom: none;
         margin-bottom: 0;
         padding-bottom: 0;
     }
     
     .blog-article h3 {
         margin-bottom: 10px;
         font-size: 1.2rem;
     }
     
     .blog-article a {
         color: var(--footer-link);
         text-decoration: none;
         transition: color 0.3s;
     }
     
     .blog-article a:hover {
         color: var(--accent-color);
         text-decoration: underline;
     }
     
     .blog-article p {
         color: var(--text-tertiary);
         font-size: 0.95rem;
         line-height: 1.5;
     }
     /* Go to Top Button */
     
     .go-to-top {
         position: fixed;
         bottom: 30px;
         right: 30px;
         background-color: var(--accent-color);
         color: white;
         width: 50px;
         height: 50px;
         border-radius: 50%;
         display: flex;
         align-items: center;
         justify-content: center;
         cursor: pointer;
         box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
         transition: all 0.3s;
         z-index: 99;
         opacity: 0;
         visibility: hidden;
     }
     
     .go-to-top.visible {
         opacity: 1;
         visibility: visible;
     }
     
     .go-to-top:hover {
         background-color: var(--primary-dark);
         transform: translateY(-3px);
     }
     
     .go-to-top i {
         font-size: 1.2rem;
     }