/* Modern CSS with attractive design - Desktop & Mobile Responsive */
/* Modern CSS with attractive design - Desktop & Mobile Responsive */
:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: rgba(67, 97, 238, 0.1);
    --secondary: #7209b7;
    --secondary-light: rgba(114, 9, 183, 0.1);
    --accent: #f72585;
    --accent-light: rgba(247, 37, 133, 0.1);
    --success: #4cc9f0;
    --success-light: rgba(76, 201, 240, 0.1);
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--dark), #000);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px;
}

/* Enhanced Header with Glass Effect */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    color: var(--dark);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6.90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    background: var(--gradient-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}

.h1Logo {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
}
.logo img {
  height: 40px;   /* logo size */
  justify-content: flex-start;
  width: auto;
  padding-right: 2rem;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    position: relative;
    display: inline-block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 80%;
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(67, 97, 238, 0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    background: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu:hover {
    background: var(--primary);
    color: white;
}
/* Enhanced Mobile Navigation */




       /* Enhanced Footer 2025 */
footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.footer-column a:hover {
    color: white;
    padding-left: 8px;
}

.footer-column a i {
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Enhanced Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 1.5rem;
    color: #adb5bd;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.social-icon.facebook:hover { 
    color: #3b5998; 
    box-shadow: 0 10px 20px rgba(59, 89, 152, 0.3);
}
.social-icon.instagram:hover { 
    color: #e4405f; 
    box-shadow: 0 10px 20px rgba(228, 64, 95, 0.3);
}
.social-icon.linkedin:hover { 
    color: #0e76a8; 
    box-shadow: 0 10px 20px rgba(14, 118, 168, 0.3);
}
.social-icon.twitter:hover { 
    color: #1da1f2; 
    box-shadow: 0 10px 20px rgba(29, 161, 242, 0.3);
}
.social-icon.youtube:hover { 
    color: #ff0000; 
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}


/* =================Dark Mode Toggle 2025===================*/
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-large);
    z-index: 100;
    transition: var(--transition);
    border: none;
    font-size: 1.5rem;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(30deg);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.4);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #0f172a;
    color: #e2e8f0;
}

body.dark-mode header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode nav a {
    color: #e2e8f0;
}

body.dark-mode nav a:hover {
    background: rgba(67, 97, 238, 0.2);
}

body.dark-mode .tool-card,
body.dark-mode .category-card,
body.dark-mode .features,
body.dark-mode .tabs-container,
body.dark-mode .feature-item,
body.dark-mode .search-box {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .tool-card h3,
body.dark-mode .category-card h3,
body.dark-mode .feature-item h3,
body.dark-mode .section-title,
body.dark-mode .category-title {
    color: #f1f5f9;
}

body.dark-mode .tool-card p,
body.dark-mode .category-card p,
body.dark-mode .feature-item p,
body.dark-mode .hero p,
body.dark-mode .section-subtitle {
    color: #94a3b8;
}

body.dark-mode .search-box input {
    background: #1e293b;
    color: #f1f5f9;
}

body.dark-mode footer {
    background: #0f172a;
}

body.dark-mode .tab:hover {
    background-color: rgba(67, 97, 238, 0.2);
}

body.dark-mode .btn-outline {
    border-color: #4cc9f0;
    color: #4cc9f0;
}

body.dark-mode .btn-outline:hover {
    background: #4cc9f0;
    color: #0f172a;
}

 /*=====================================*02-10-2025  Responsive Design============================================================ */
       @media (max-width: 992px) {
    .header-content {
        flex-wrap: nowrap;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .auth-buttons {
        margin-left: 10px;
    }
    
    .converter-container {
        flex-direction: column;
    }
    
    .upload-area, .options-area {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        order: 1;
         width: 40px;
         height: 40px;
        
    }
    
    i.fa-bars {
   display: flex;
   align-items: center;
   
   justify-content: center;
   width: 40px;
   height: 40px;
    }
    
    .logo {
        order: 0;
        flex: 1;
    }
    
    .logo img {
    height: 40px;   /* logo size */
    justify-content: flex-start;
    width: auto;
    }
    .auth-buttons {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        display: none;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { transform: translateY(-20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        border-radius: var(--border-radius);
    }
    
    .nav-menu a:hover {
        background-color: rgba(129, 50, 50, 0.377);
    }
    
    .auth-buttons.mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .auth-buttons.mobile .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .preview-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 5px 0;
        height: 15px;
    }
    
    .tool-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .ad-container {
        margin: 10px auto;
        min-height: 75px;
    }
    
    .upload-box {
        padding: 20px 15px;
    }
    
    .preview-item {
        width: 100px;
    }
    
    .preview-img {
        height: 120px;
    }
    
    .dark-mode-toggle {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .file-icon {
        margin-right: 0;
    }
    
    .file-name {
        width: 100%;
    }
}

/* Utility Classes */
.hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none;
    }
    .hidden-mobile {
        display: flex;
    }
}
/*=====================================*02-10-2025  Responsive Design============================================================ */
/* ================================

Content Section – Base (Desktop)
================================ */

.content-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    line-height: 1.75;
}

.content-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111827;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 48px 0 16px;
    color: #111827;
}

.content-section p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: #374151;
}

.content-section ul,
.content-section ol {
    padding-left: 22px;
    margin: 20px 0 28px;
}

.content-section li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #374151;
}

/* ================================
   Tablet (≤1024px)
================================ */

@media (max-width: 1024px) {
    .content-section {
        max-width: 900px;
        margin: 64px auto;
        padding: 0 20px;
    }

    .content-section h1 {
        font-size: 2.2rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section p,
    .content-section li {
        font-size: 1rem;
    }
}

/* ================================
   Mobile (≤768px)
================================ */

@media (max-width: 768px) {
    .content-section {
        margin: 48px auto;
        padding: 0 16px;
    }

    .content-section h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .content-section h2 {
        font-size: 1.35rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .content-section ul,
    .content-section ol {
        padding-left: 18px;
    }
}

/* ================================
   Small Mobile (≤480px)
================================ */

@media (max-width: 480px) {
    .content-section h1 {
        font-size: 1.7rem;
    }

    .content-section h2 {
        font-size: 1.25rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.92rem;
    }
}

/* FAQ Section css----------------*/
/* ================================
   FAQ Section – Modern Classic
================================ */

.faq-section {
    max-width: 1000px;
    margin: 90px auto;
    padding: 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0f172a;
}

/* FAQ Card */

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Question */

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f172a;
}

/* Answer */

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}
/*----------tablet------------*/
@media (max-width: 1024px) {
    .faq-section {
        margin: 70px auto;
        padding: 0 20px;
    }

    .faq-section h2 {
        font-size: 1.9rem;
        margin-bottom: 40px;
    }

    .faq-item {
        padding: 20px 22px;
    }

    .faq-item h3 {
        font-size: 1.05rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }
}
/*---------------Mobile-------------------*/
@media (max-width: 768px) {
    .faq-section {
        margin: 56px auto;
        padding: 0 16px;
    }

    .faq-section h2 {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    .faq-item {
        padding: 18px 18px;
        border-radius: 12px;
    }

    .faq-item h3 {
        font-size: 0.98rem;
    }

    .faq-item p {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}
/*--------------small mobile--------------*/
@media (max-width: 480px) {
    .faq-section h2 {
        font-size: 1.45rem;
    }

    .faq-item h3 {
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }
}
