:root {
    --primary-color: #e91e63;
    --primary-color-alt: #ad1457;
    --primary-color-light: #fce7f3;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-muted: #6c757d;
    --border-radius: 16px;
    --box-shadow: 0 4px 30px rgba(185, 161, 169, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    transition: var(--transition);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    /* Add padding to prevent content overlap with fixed navbar */
}

/* Custom Bootstrap Component Overrides */
.btn-primary {
    background: var(--primary-gradient);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

.btn-outline-primary {
    border: 2px solid #e91e63;
    color: #e91e63;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
    background-color: transparent;
    border-color: #e91e63;
}

.btn-primary:hover {
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
    background-color: transparent;
    border-color: #e91e63;
}

/* Navigation */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--box-shadow);
    padding: 0.5rem 0;
    position: fixed;
    /* Changed from sticky to fixed */
    width: 100%;
    /* Ensure full width */
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand i {
    background: var(--primary-color);
    color: white;
    padding: 6px;
    border-radius: 6px;
    margin-right: 6px;
    font-size: 0.9rem;
}

.text-pink {
    color: #e91e63 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.3rem;
    padding: 0.4rem 0.8rem !important;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63 !important;
    transform: translateY(-2px);
}

/* Dropdown positioning */
.navbar-nav .dropdown {
    position: static !important;
}

.navbar-nav .dropdown-menu {
    position: fixed !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
    z-index: 1050 !important;
    display: none !important;
    margin-top: -2px !important;
}

.navbar-nav .dropdown-menu.show,
.navbar-nav .dropdown-menu.mega-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mega Dropdown Styles */
.mega-dropdown {
    border: none;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
    border-radius: 0;
    padding: 0;
    margin-top: 0 !important;
    width: 100% !important;
    min-width: 1200px;
    left: 0 !important;
    transform: none !important;
    position: fixed !important;
    top: 100% !important;
    background: var(--glass-bg);
    border-top: 2px solid rgba(233, 30, 99, 0.2);
    z-index: 1040;
    display: none;
    max-height: 60vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.mega-dropdown.show {
    display: block !important;
    animation: dropdownFadeIn 0.3s ease-out;
}

.dropdown-category {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 2px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.08);
    min-height: 180px;
    border: 1px solid rgba(233, 30, 99, 0.1);
    backdrop-filter: blur(10px);
}

.tool-links .row {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* Force 3-column layout for categories with more than 6 tools */
.tool-row-3col .col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

/* Force 2-column layout for categories with 6 or fewer tools */
.tool-row-2col .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.tool-links .col-4 {
    padding: 0 2px;
    min-width: 120px;
}

.tool-links .col-6 {
    padding: 0 2px;
    min-width: 140px;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.tool-links .col-4 {
    padding: 0 2px;
    min-width: 120px;
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

.category-title {
    font-size: 0.75rem;
    color: var(--primary-color);
    padding-bottom: 4px;
    margin-bottom: 6px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-link {
    color: #495057;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 5px 8px;
    margin-bottom: 2px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    overflow: hidden;
    min-height: 28px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
    width: 100%;
    min-width: 110px;
}

/* Adjust tool link width for 2-column layout */
.tool-links .col-6 .tool-link {
    min-width: 130px;
    padding: 5px 10px;
}

.tool-link:hover {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-color);
    transform: translateX(3px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
    border-color: rgba(233, 30, 99, 0.3);
}

.tool-link i,
.tool-link .icon-pdf-edit,
.tool-link .icon-pdf-merge,
.tool-link .icon-pdf-compress,
.tool-link .icon-pdf-split,
.tool-link .icon-pdf-protect,
.tool-link .icon-pdf-sign,
.tool-link .icon-pdf-rotate,
.tool-link .icon-pdf-crop,
.tool-link .icon-pdf-view,
.tool-link .icon-pdf-create,
.tool-link .icon-pdf-delete,
.tool-link .icon-pdf-extract,
.tool-link .icon-pdf-text,
.tool-link .icon-pdf-resize,
.tool-link .icon-pdf-flatten,
.tool-link .icon-pdf-add-text,
.tool-link .icon-file-word,
.tool-link .icon-file-excel,
.tool-link .icon-file-ppt,
.tool-link .icon-file-image,
.tool-link .icon-file-pdf,
.tool-link .icon-convert-to,
.tool-link .icon-convert-from,
.tool-link .icon-ocr,
.tool-link .icon-pdf-add-number,
.tool-link .icon-pdf-rearrange,
.tool-link .icon-pdf-organize,
.tool-link .icon-pdfa-validate,
.tool-link .icon-ocr-pdf,
.tool-link .icon-pdf-unlock,
.tool-link .icon-pdf-rotate,
.tool-link .icon-pdf-extract-images,
.tool-link .icon-pdf-extract-text,
.tool-link .icon-pdf-edit-metadata,
.tool-link .icon-pdf-remove-metadata,
.tool-link .icon-pdf-add-watermark,
.tool-link .icon-all-tools,
.tool-link .icon-pages-document,
.tool-link .icon-md-document,
.tool-link .icon-wps-document,
.tool-link .icon-chm-document,
.tool-link .icon-odt-document,
.tool-link .icon-xml-document,
.tool-link .icon-eml-document,
.tool-link .icon-txt-document,
.tool-link .icon-image-document,
.tool-link .icon-jpg-document,
.tool-link .icon-png-document,
.tool-link .icon-gif-document,
.tool-link .icon-bmp-document,
.tool-link .icon-webp-document,
.tool-link .icon-ico-document,
.tool-link .icon-heic-document,
.tool-link .icon-heif-document,
.tool-link .icon-svg-document,
.tool-link .icon-tiff-document,
.tool-link .icon-jfif-document,
.tool-link .icon-epub-document,
.tool-link .icon-ebook-document,
.tool-link .icon-link-document,
.tool-link .icon-html-document,
.tool-link .icon-djvu-document,
.tool-link .icon-dwg-document,
.tool-link .icon-dxf-document,
.tool-link .icon-cbz-document,
.tool-link .icon-cbr-document,
.tool-link .icon-xps-document,
.tool-link .icon-ai-document,
.tool-link .icon-excel-document,
.tool-link .icon-csv-document,
.tool-link .icon-ppt-document,
.tool-link .icon-pptx-document,
.tool-link .icon-zip-document,
.tool-link .icon-mobi-document,
.tool-link .icon-fb2-document,
.tool-link .icon-pdb-document,
.tool-link .icon-rtf-document,
.tool-link .icon-universal {
    /* width: 16px; */
    height: 25px !important;
    margin-right: 0px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Adjust icon spacing for 2-column layout */
.tool-links .col-6 .tool-link i,
.tool-links .col-6 .tool-link .icon-pdf-edit,
.tool-links .col-6 .tool-link .icon-pdf-merge,
.tool-links .col-6 .tool-link .icon-pdf-compress,
.tool-links .col-6 .tool-link .icon-pdf-split,
.tool-links .col-6 .tool-link .icon-pdf-protect,
.tool-links .col-6 .tool-link .icon-pdf-sign,
.tool-links .col-6 .tool-link .icon-pdf-rotate,
.tool-links .col-6 .tool-link .icon-pdf-crop,
.tool-links .col-6 .tool-link .icon-pdf-view,
.tool-links .col-6 .tool-link .icon-pdf-create,
.tool-links .col-6 .tool-link .icon-pdf-delete,
.tool-links .col-6 .tool-link .icon-pdf-extract,
.tool-links .col-6 .tool-link .icon-pdf-text,
.tool-links .col-6 .tool-link .icon-pdf-resize,
.tool-links .col-6 .tool-link .icon-pdf-flatten,
.tool-links .col-6 .tool-link .icon-pdf-add-text,
.tool-links .col-6 .tool-link .icon-file-word,
.tool-links .col-6 .tool-link .icon-file-excel,
.tool-links .col-6 .tool-link .icon-file-ppt,
.tool-links .col-6 .tool-link .icon-file-image,
.tool-links .col-6 .tool-link .icon-file-pdf,
.tool-links .col-6 .tool-link .icon-convert-to,
.tool-links .col-6 .tool-link .icon-convert-from,
.tool-links .col-6 .tool-link .icon-ocr,
.tool-links .col-6 .tool-link .icon-universal {
    margin-right: 10px;
}

.tool-text {
    font-size: 0.90rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.view-all-link {
    font-size: 0.8rem;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.view-all-link:hover {
    background: #e3f2fd;
    text-decoration: none;
}



/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1051;
}

.mobile-drawer-overlay.show .mobile-drawer {
    transform: translateY(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.mobile-drawer-brand {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: #e91e63;
    font-size: 1.5rem;
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-drawer-close:hover {
    color: #ad1457;
}

.mobile-drawer-content {
    padding: 20px 0;
}

.mobile-drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}



.mobile-drawer-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px !important;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-drawer-toggle:hover {
    color: #e91e63;
    background: #f8f9fa;
    text-decoration: none;
}

.mobile-drawer-toggle[aria-expanded="true"] {
    color: #e91e63;
    background: #fce4ec;
}

.mobile-drawer-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
    color: #e91e63;
    font-size: 0.9rem;
}

.mobile-drawer-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
    color: #e91e63;
}

.mobile-drawer-dropdown {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.mobile-drawer-subnav {
    list-style: none;
    padding: 0;
    margin: 0;
}



.mobile-drawer-link {
    display: flex !important;
    align-items: center;
    padding: 12px 20px 12px 40px !important;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: transparent;
}

.mobile-tool-text {
    flex: 1;
}

/* Mobile tool icons */
.mobile-drawer-link .icon-pdf-edit,
.mobile-drawer-link .icon-pdf-merge,
.mobile-drawer-link .icon-pdf-compress,
.mobile-drawer-link .icon-pdf-split,
.mobile-drawer-link .icon-pdf-protect,
.mobile-drawer-link .icon-pdf-sign,
.mobile-drawer-link .icon-pdf-rotate,
.mobile-drawer-link .icon-pdf-crop,
.mobile-drawer-link .icon-pdf-view,
.mobile-drawer-link .icon-pdf-create,
.mobile-drawer-link .icon-pdf-delete,
.mobile-drawer-link .icon-pdf-extract,
.mobile-drawer-link .icon-pdf-text,
.mobile-drawer-link .icon-pdf-resize,
.mobile-drawer-link .icon-pdf-flatten,
.mobile-drawer-link .icon-pdf-add-text,
.mobile-drawer-link .icon-file-word,
.mobile-drawer-link .icon-file-excel,
.mobile-drawer-link .icon-file-ppt,
.mobile-drawer-link .icon-file-image,
.mobile-drawer-link .icon-file-pdf,
.mobile-drawer-link .icon-convert-to,
.mobile-drawer-link .icon-convert-from,
.mobile-drawer-link .icon-ocr,
.mobile-drawer-link .icon-universal {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.mobile-drawer-link:hover {
    color: #e91e63;
    background: #fce4ec;
    text-decoration: none;
}

.mobile-drawer-subitem:last-child .mobile-drawer-link {
    border-bottom: none;
}

/* Desktop menu items removed - only dropdowns remain */

/* Mobile Navigation Styles (Legacy - keeping for reference) */
.mobile-category-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px !important;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
}

.mobile-category-text {
    flex: 1;
    text-align: left;
}

.mobile-category-toggle:hover {
    color: white;
    background: transparent;
}

.mobile-category-toggle[aria-expanded="true"] {
    color: white;
    background: transparent;
}

.mobile-category-toggle::after {
    transition: transform 0.3s ease;
}

.mobile-category-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.mobile-tools-dropdown {
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-tools-dropdown .navbar-nav {
    padding: 0;
    margin: 0;
}

.mobile-tool-link {
    display: block !important;
    padding: 10px 20px !important;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    background: transparent;
}

.mobile-tool-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-tool-link:last-child {
    border-bottom: none;
}

/* Mobile Header Actions */
.mobile-signup-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.mobile-login-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.mobile-login-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Language Dropdown Header */
.mobile-language-dropdown-header {
    position: relative;
    display: inline-block;
}

.mobile-language-btn-header {
    background: white;
    border: 2px solid #e91e63;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-language-btn-header:hover {
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

.mobile-language-btn-header[aria-expanded="true"] .mobile-language-chevron-header {
    transform: rotate(180deg);
}

.mobile-language-chevron-header {
    transition: transform 0.3s ease;
}

.mobile-flag-icon-header {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    display: block;
}

.mobile-language-menu {
    left: -100px !important;
    min-width: 200px;
    background: white;
    border: 1px solid rgba(233, 30, 99, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 8px;
    margin-right: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    transform: translateZ(0);
    backface-visibility: hidden;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-language-option-header {
    display: flex !important;
    align-items: center;
    padding: 12px 16px !important;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.mobile-language-option-header:hover {
    color: #e91e63;
    background: #f8f9fa;
    text-decoration: none;
}

.mobile-language-option-header.active {
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63;
    font-weight: 600;
}

.mobile-language-option-header .mobile-flag-icon-header {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Language dropdown styling */
.language-dropdown-content {
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.language-dropdown-content .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.2s;
}

.language-dropdown-content .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #e91e63;
    transform: translateX(5px);
}

.language-dropdown-content .dropdown-item.active {
    background-color: rgba(233, 30, 99, 0.1);
    color: #e91e63;
    font-weight: 600;
}

.language-dropdown-content .flag-icon {
    width: 24px;
    height: 18px;
    margin-right: 12px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-dropdown-content .language-native {
    opacity: 0.6;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.language-dropdown-content::-webkit-scrollbar {
    width: 5px;
}

.language-dropdown-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.language-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile language dropdown with scrollbar */
.mobile-language-menu {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
}

.mobile-language-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-language-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
    margin: 0.5rem 0;
}

.mobile-language-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.mobile-language-menu::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ensure language options don't get cut off */
.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 44px;
}

.language-option:hover {
    background: #f8f9fa;
    color: #e91e63;
}

.language-option.active {
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63;
    font-weight: 600;
}

.language-option .language-name {
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.language-option .language-native {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
}

.language-option:hover .language-native {
    color: #e91e63;
}

.mobile-language-option-header .language-name {
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-language-option-header .language-native {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-language-option-header:hover .language-native {
    color: #e91e63;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffeb3b, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-stats {
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    color: white;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffeb3b;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Upload Area */
.upload-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.upload-area {
    border: 3px dashed #e91e63 !important;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer !important;
    background: rgba(233, 30, 99, 0.05) !important;
    position: relative;
    z-index: 1;
}

.upload-area:hover {
    border-color: #ad1457 !important;
    background: rgba(233, 30, 99, 0.15) !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2) !important;
}

.upload-icon {
    font-size: 4rem;
    color: #e91e63 !important;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.upload-area:hover .upload-icon {
    color: #ad1457 !important;
    transform: scale(1.1);
}

/* Choose File Button Styling */
.chooseFile .btn-primary,
.upload-area .chooseFile .btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3) !important;
    color: white !important;
}

.chooseFile .btn-primary:hover,
.upload-area .chooseFile .btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4) !important;
    background: linear-gradient(135deg, #ad1457 0%, #e91e63 100%) !important;
    color: white !important;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Upload Section */
.upload-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.upload-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.upload-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Upload Stats */
/* Stats Tagline */
.stats-tagline {
    margin-bottom: 3rem;
}

.stats-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.stats-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.upload-stats {
    margin-top: 0;
    row-gap: 1.5rem;
}

.upload-stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(233, 30, 99, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.upload-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.upload-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0;
}

.stat-icon {
    font-size: 1.5rem;
    color: #e91e63;
    opacity: 0.8;
}

.upload-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive Upload Stats */
@media (max-width: 768px) {
    .dropdown-menu.dropdown-menu-end {
        min-width: 130px !important;
    }

    .stats-tagline {
        margin-bottom: 2.5rem;
    }

    .stats-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .stats-subtitle {
        font-size: 1rem;
        max-width: 500px;
    }

    .upload-stats {
        margin-top: 0;
        row-gap: 1rem;
    }

    .upload-stat-card {
        padding: 1.25rem 0.75rem;
        margin-bottom: 0;
    }

    .stat-header {
        gap: 0.5rem;
        margin-bottom: 0.4rem;
    }

    .upload-stat-number {
        font-size: 1.75rem;
        margin-bottom: 0;
    }

    .stat-icon {
        font-size: 1.25rem;
    }

    .upload-stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .stats-tagline {
        margin-bottom: 2rem;
    }

    .stats-title {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .stats-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .upload-stats {
        margin-top: 0;
        row-gap: 0.75rem;
    }

    .upload-stat-card {
        padding: 1rem 0.5rem;
        margin-bottom: 0;
    }

    .stat-header {
        gap: 0.4rem;
        margin-bottom: 0.3rem;
    }

    .upload-stat-number {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .stat-icon {
        font-size: 1.1rem;
    }

    .upload-stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Trust Section */
.trust-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 2rem 0;
}

.trust-logo {
    font-size: 2rem;
    opacity: 0.6;
    transition: var(--transition);
    color: #667eea;
}

.trust-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Tools Section */
.tools-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.category-section {
    margin-bottom: 5rem;
}

.category-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.tool-card {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    cursor: pointer;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
    border: 2px solid #e91e63;
}

.tool-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
}

.tool-card .stat-icon {
    font-size: 1.75rem;
    color: #e91e63;
    opacity: 0.9;
    margin-bottom: 0.2rem;
    height: 40px !important;
    width: 40px !important;
}

.tool-card .svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.tool-card .svg-icon svg {
    width: 100%;
    height: 100%;
    color: #e91e63;
}

.tool-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
    color: #333;
    margin: 0;
    text-align: center;
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;
    max-width: 100%;
}

/* Compact Category Sections */
.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

.category-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Tools Grid - Rectangular cards with minimal spacing */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.25rem;
    justify-items: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.2rem;
        justify-items: center;
    }

    .tool-card {
        padding: 0.5rem 0.4rem;
        height: 80px;
        width: 100%;
        margin: 0 auto;
    }

    .tool-title {
        font-size: 0.7rem;
        white-space: normal;
        overflow: visible;
        word-wrap: break-word;
    }

    .tool-card .stat-icon {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .category-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .category-section {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .format-tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
        margin: 0.15rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.15rem;
        justify-items: center;
    }

    .tool-card {
        padding: 0.4rem 0.3rem;
        height: 70px;
        width: 100%;
        margin: 0 auto;
    }

    .tool-title {
        font-size: 0.65rem;
        line-height: 1.1;
        white-space: normal;
        overflow: visible;
        word-wrap: break-word;
    }

    .tool-card .stat-icon {
        font-size: 1.25rem;
    }
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 50%, #667eea 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="600" r="400" fill="url(%23a)"/><circle cx="500" cy="800" r="250" fill="url(%23a)"/></svg>');
    opacity: 0.8;
}

.features-section .section-title {
    color: white !important;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(233, 30, 99, 0.2);
}

.features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.15);
}

.features-content {
    position: relative;
    z-index: 2;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(173, 20, 87, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(233, 30, 99, 0.4);
    box-shadow: 0 25px 50px rgba(233, 30, 99, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #fff;
    text-shadow: 0 6px 25px rgba(255, 255, 255, 0.6);
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.feature-text {
    opacity: 0.95;
    line-height: 1.7;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Video Section */
.video-section {
    padding: 100px 0;
}

.video-placeholder {
    width: 100%;
    height: 450px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #667eea;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: white;
}

/* Companies Section */
.companies-section {
    padding: 80px 0;
}

.company-logo {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: var(--transition);
    opacity: 0.6;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.company-logo i {
    font-size: 2.5rem;
    color: #667eea;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.8;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 50%, #1a1a2e 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

/* .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="footer-grad" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(233,30,99,0.08)"/><stop offset="100%" stop-color="rgba(233,30,99,0)"/></radialGradient></defs><circle cx="150" cy="150" r="200" fill="url(%23footer-grad)"/><circle cx="850" cy="150" r="250" fill="url(%23footer-grad)"/><circle cx="500" cy="800" r="300" fill="url(%23footer-grad)"/></svg>');
    opacity: 0.6;
} */

.footer h5 {
    color: #e91e63;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.2);
    position: relative;
    z-index: 2;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    padding: 0.25rem 0;
}

.footer a:hover {
    color: #e91e63;
    transform: translateX(8px);
    text-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.footer a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e91e63, #ad1457);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer a:hover::before {
    width: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(233, 30, 99, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.1), transparent);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e91e63;
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.3);
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 2rem;
    color: #e91e63;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e91e63;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0;
    transform: none;
}

.footer-social a:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
    text-shadow: none;
}

.footer-social a::before {
    display: none;
}

/* Format Tags */
.format-tag {
    background: #e91e63;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.25rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.format-tag:hover {
    background: #ad1457;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .format-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
        margin: 0.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tool-card {
        padding: 1.5rem 1.2rem;
    }

    .tool-icon {
        font-size: 2rem;
    }

    .tool-title {
        font-size: 1.1rem;
    }

    .tool-description {
        font-size: 0.9rem;
    }

    .upload-card {
        padding: 2rem 1.5rem;
    }

    .upload-area {
        padding: 2rem 1.5rem;
    }

    .upload-icon {
        font-size: 3rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .features-section {
        padding: 80px 0;
    }

    .features-section .section-title {
        font-size: 2.8rem;
    }

    .features-section .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .feature-card {
        padding: 2.5rem 1.5rem;
    }

    .feature-icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-title {
        font-size: 1.4rem;
    }

    .feature-text {
        font-size: 1rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .footer a {
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Attractive Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.spinner-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner-container {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 4px solid transparent;
    border-top: 4px solid #ad1457;
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

.spinner-dots {
    width: 80px;
    height: 20px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spinner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-gradient);
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0s;
}

.spinner-text {
    color: #e91e63;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    animation: textPulse 2s ease-in-out infinite;
}

.spinner-subtext {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Alternative Spinner Styles */
.spinner-gradient {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    background: conic-gradient(from 0deg, #e91e63, #ad1457, #e91e63);
    border-radius: 50%;
    animation: spinGradient 1.5s linear infinite;
    position: relative;
}

.spinner-gradient::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background: white;
    border-radius: 50%;
}

.spinner-pulse {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.spinner-pulse::before,
.spinner-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.6;
    animation: pulsate 2s ease-in-out infinite;
}

.spinner-pulse::after {
    animation-delay: -1s;
}

.pdf-spinner {
    width: 50px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
    background: white;
    border: 2px solid #e91e63;
    border-radius: 4px;
    animation: bounce 1.5s ease-in-out infinite;
}

.pdf-spinner::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    width: calc(100% - 12px);
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    animation: loadingBar 2s ease-in-out infinite;
}

.pdf-spinner::after {
    content: 'PDF';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #e91e63;
}

/* Keyframe Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes pulsate {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes loadingBar {

    0%,
    100% {
        width: 20%;
    }

    50% {
        width: 80%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner Variations */
.spinner-style-1 .spinner {
    display: block;
}

.spinner-style-1 .spinner-gradient,
.spinner-style-1 .spinner-pulse,
.spinner-style-1 .pdf-spinner {
    display: none;
}

.spinner-style-2 .spinner-gradient {
    display: block;
}

.spinner-style-2 .spinner,
.spinner-style-2 .spinner-pulse,
.spinner-style-2 .pdf-spinner {
    display: none;
}

.spinner-style-3 .spinner-pulse {
    display: block;
}

.spinner-style-3 .spinner,
.spinner-style-3 .spinner-gradient,
.spinner-style-3 .pdf-spinner {
    display: none;
}

.spinner-style-4 .pdf-spinner {
    display: block;
}

.spinner-style-4 .spinner,
.spinner-style-4 .spinner-gradient,
.spinner-style-4 .spinner-pulse {
    display: none;
}

/* Responsive dropdown */
@media (max-width: 768px) {
    .mega-dropdown {
        width: 100vw !important;
        min-width: 100vw;
        left: 0 !important;
        transform: none !important;
        max-height: 70vh;
    }

    .dropdown-category {
        margin-bottom: 15px;
        padding: 10px;
        min-height: 150px;
    }

    .tool-link {
        padding: 4px 5px;
        font-size: 0.7rem;
        min-height: 26px;
    }

    .tool-text {
        font-size: 0.7rem;
    }

    .category-title {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .tool-links .col-4 {
        padding: 0 1px;
        min-width: 100px;
    }

    .tool-links .col-6 {
        padding: 0 1px;
        min-width: 120px;
    }

    /* Mobile single column layout */
    .mega-dropdown .col-lg-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .tool-links .row {
        display: block !important;
    }

    .tool-links .col-4,
    .tool-links .col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 8px;
    }

    .tool-link {
        padding: 12px 16px;
        font-size: 0.85rem;
        min-height: auto;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(233, 30, 99, 0.1);
    }

    .tool-link:hover {
        background: rgba(233, 30, 99, 0.1);
        transform: none;
    }

    .tool-text {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .tool-link i,
    .tool-link .icon-pdf-edit,
    .tool-link .icon-pdf-merge,
    .tool-link .icon-pdf-compress,
    .tool-link .icon-pdf-split,
    .tool-link .icon-pdf-protect,
    .tool-link .icon-pdf-sign,
    .tool-link .icon-pdf-rotate,
    .tool-link .icon-pdf-crop,
    .tool-link .icon-pdf-view,
    .tool-link .icon-pdf-create,
    .tool-link .icon-pdf-delete,
    .tool-link .icon-pdf-extract,
    .tool-link .icon-pdf-text,
    .tool-link .icon-pdf-resize,
    .tool-link .icon-pdf-flatten,
    .tool-link .icon-pdf-add-text,
    .tool-link .icon-file-word,
    .tool-link .icon-file-excel,
    .tool-link .icon-file-ppt,
    .tool-link .icon-file-image,
    .tool-link .icon-file-pdf,
    .tool-link .icon-convert-to,
    .tool-link .icon-convert-from,
    .tool-link .icon-ocr,
    .tool-link .icon-universal {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }
}

@media (max-width: 576px) {
    .mega-dropdown {
        min-width: 100vw;
    }

    .mega-dropdown .row {
        margin: 0;
    }

    .mega-dropdown .col-md-3 {
        padding: 0 3px;
    }

    .dropdown-category {
        padding: 8px;
        min-height: 120px;
    }

    .tool-link {
        padding: 3px 4px;
        font-size: 0.65rem;
        min-height: 22px;
    }

    .tool-text {
        font-size: 0.65rem;
    }

    .tool-link i {
        width: 12px;
        font-size: 0.7rem;
        margin-right: 4px;
    }

    /* Mobile adjustments for both column layouts */
    .tool-links .col-4 .tool-link,
    .tool-links .col-6 .tool-link {
        min-width: 90px;
        padding: 3px 4px;
    }
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    color: #495057 !important;
    padding: 0.75rem 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.language-dropdown {
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: 2px solid #e91e63;
    color: #e91e63;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.language-btn:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-2px);
}

.language-btn .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

/* Feature Card Orange Shadow */
.feature-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(255, 152, 0, 0.18);
    padding: 32px 18px 24px 18px;
    transition: box-shadow 0.2s;
    min-height: 280px;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
    border: 2px solid #e91e63;
}


/* Themed FAQ Accordion */
.tool-faq-section .accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(233, 30, 99, 0.10);
    background: #fff;
}

.tool-faq-section .accordion-header {
    border-radius: 12px;
    overflow: hidden;
}

.tool-faq-section .accordion-button {
    background: #fff;
    color: #e91e63;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    padding: 1.1rem 1.5rem;
    transition: background 0.2s, color 0.2s;
}

.tool-faq-section .accordion-button:not(.collapsed) {
    background: rgba(233, 30, 99, 0.08);
    color: #e91e63;
    box-shadow: none;
}

.tool-faq-section .accordion-button:focus {
    box-shadow: 0 0 0 2px #e91e63;
    border-color: #e91e63;
}

.tool-faq-section .accordion-button::after {
    filter: hue-rotate(-30deg) brightness(1.2) saturate(1.5);
    color: #e91e63;
}

.tool-faq-section .accordion-body {
    background: #fff0f6;
    color: #333;
    border-radius: 0 0 12px 12px;
    font-size: 1rem;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid #f8bbd0;
}

@media (max-width: 576px) {

    .tool-faq-section .accordion-button,
    .tool-faq-section .accordion-body {
        padding: 0.9rem 1rem;
        font-size: 0.98rem;
    }
}

.all-tools-section h5 {
    color: #e91e63 !important;
}

.all-tools-section .tool-link:hover span:last-child {
    color: #e91e63 !important;
    text-decoration: underline;
}

.all-tools-section .tool-link .icon-pdf-merge,
.all-tools-section .tool-link .icon-pdf-edit,
.all-tools-section .tool-link .icon-pdf-compress,
.all-tools-section .tool-link .icon-pdf-split,
.all-tools-section .tool-link .icon-pdf-protect,
.all-tools-section .tool-link .icon-pdf-sign,
.all-tools-section .tool-link .icon-pdf-rotate,
.all-tools-section .tool-link .icon-pdf-crop,
.all-tools-section .tool-link .icon-pdf-view,
.all-tools-section .tool-link .icon-pdf-create,
.all-tools-section .tool-link .icon-pdf-delete,
.all-tools-section .tool-link .icon-pdf-extract,
.all-tools-section .tool-link .icon-pdf-text,
.all-tools-section .tool-link .icon-pdf-resize,
.all-tools-section .tool-link .icon-pdf-flatten,
.all-tools-section .tool-link .icon-pdf-add-text,
.all-tools-section .tool-link .icon-file-word,
.all-tools-section .tool-link .icon-file-excel,
.all-tools-section .tool-link .icon-file-ppt,
.all-tools-section .tool-link .icon-file-image,
.all-tools-section .tool-link .icon-file-pdf,
.all-tools-section .tool-link .icon-convert-to,
.all-tools-section .tool-link .icon-convert-from,
.all-tools-section .tool-link .icon-ocr,
.all-tools-section .tool-link .icon-universal {
    filter: hue-rotate(-30deg) brightness(1.1) saturate(1.5);
}

.footer-language-selector .language-dropdown-content {
    bottom: 100%;
    top: auto;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
}

.footer-language-selector .language-dropdown-content.show {
    transform: translateY(0);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profile Dropdown Customization */
.dropdown-item {
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(233, 30, 99, 0.08);
    /* Light pink background */
    color: #e91e63;
    /* Primary pink text */
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    color: #e91e63 !important;
    /* Make icons pink on hover */
}

.dropdown-item.active,
.dropdown-item:active {
    background: var(--primary-gradient);
    color: white !important;
}

.dropdown-item.active i,
.dropdown-item:active i {
    color: white !important;
}

.dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dropdown-item.text-danger:hover i {
    color: #dc3545 !important;
}