.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.filter-btn {
    padding: 8px 28px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #0066cc;
    color: #0066cc;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #152738;
    color: white !important;
    border-color: #0e1924;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 11px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    height: 219px;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(198, 231, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tool-card:hover::before {
    opacity: 1;
}

/* .tool-cards {
    position: relative;
    background-image: url('https://d2q4gipm2ebkzp.cloudfront.net/img/tools/tool-new.svg') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
} */
.tool-cards {
    background: linear-gradient(180deg, #E8F4F8 0%, #F0F8FC 100%);
}

/* 
.tool-cards .container {
    position: relative;
    z-index: 1;
} */

.tool-card:hover {
    border-color: #0066cc;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.2),
        0 4px 8px rgba(0, 102, 204, 0.1);
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    object-fit: contain;
}

.tool-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.tool-card p {
    color: #6c757d;
    line-height: 1.5;
}

.tool-card.hidden {
    display: none;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (min-width: 485px) and (max-width: 992px) {
    .tool-card {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Enhanced Styles with Bootstrap Integration */

/* Section Titles - Grand Look */
.section-title {
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.15rem;
    max-width: 1000px;
    margin: 0 auto 50px;
    line-height: 1.8;
    font-weight: 400;
}

/* Use Cases Section - Enhanced Cards */
.use-cases-section {
    background: linear-gradient(180deg, #f0f9ff 100%, #e0f2fe 100%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Mobile App Download Section */
.mobile-app-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    margin: 0 auto;
}

/* Section Wrapper Background (optional but recommended) */
section.mobile-download-wrappers {
    background: linear-gradient(180deg, #f0f9ff 100%, #e0f2fe 100%, #ffffff 100%)
}

/* Heading */
.mobile-app-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Description */
.mobile-app-section p {
    /* font-size: 16px; */
    /* color: #6b7280; */
    /* max-width: 650px; */
    /* margin: 0 auto 30px; */
    line-height: 1.6;
}


.app-store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

@media (max-width: 340px) {
    .app-store-buttons {
        flex-direction: column;
        gap: 12px;
    }
}


.app-store-buttons a {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-store-buttons img {
    height: 56px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    border-radius: 8px;
}

.app-store-buttons a:hover img {
    transform: translateY(-6px) scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(102, 126, 234, 0.25));
}

.app-store-buttons a:active img {
    transform: translateY(-3px) scale(1.02);
}

/* Responsive */
@media (max-width: 576px) {
    .mobile-app-section {
        padding: 35px 15px;
    }

    .mobile-app-section h3 {
        font-size: 24px;
    }

    .mobile-app-section p {
        font-size: 14px;
    }

    .app-store-buttons img {
        height: 48px;
    }
}

.use-case-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-left: 5px solid #2563eb;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 184px;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    transition: height 0.4s ease;
}

.use-case-card:hover::before {
    height: 100%;
}

.use-case-card:hover {
    transform: translateX(12px) translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    border-left-color: #fbbf24;
}

.use-case-card h3 {
    color: #1e3a8a;
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.use-case-card h3::before {
    content: '✦';
    color: #2563eb;
    font-size: 1.2rem;
}

.use-case-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Converter Features Section - Premium Cards */
.converter-features-section {
    background: linear-gradient(180deg, #f0f9ff 100%, #e0f2fe 100%, #ffffff 100%);
    position: relative;
}

.feature-card {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    padding: 36px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 200px;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.feature-card:hover::after {
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
}

.feature-card:hover {
    border-color: #2563eb;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.feature-card h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    /* gap: 12px; */
}

.feature-card h3::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Crect x='2' y='2' width='8' height='8' transform='rotate(45 6 6)' fill='%232563eb'/%3E%3C/svg%3E") no-repeat center / contain;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

.why-choose-v2 {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.why-item {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #e5e7eb;
    transition: all .35s ease;
    height: 100px;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.why-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    transition: transform .4s ease;
}

.why-item:hover svg {
    transform: rotate(10deg) scale(1.1);
}

/* Icon Colors */
.bg-blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.bg-green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.bg-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.why-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0f172a;
}

.why-content p {
    font-size: .95rem;
    color: #64748b;
    margin: 0;
}

.bg-orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.bg-cyan {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.bg-red {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.bg-indigo {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.bg-teal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
}


@media (max-width: 768px) {
    .benefit-card {
        padding: 1.5rem;
    }

    .icon-box {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }
}

.use-case-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.use-case-card:nth-child(1) {
    animation-delay: 0.1s;
}

.use-case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.use-case-card:nth-child(3) {
    animation-delay: 0.3s;
}

.use-case-card:nth-child(4) {
    animation-delay: 0.4s;
}

.use-case-card:nth-child(5) {
    animation-delay: 0.5s;
}

.use-case-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        padding-bottom: 16px;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .use-case-card,
    .feature-card {
        padding: 24px;
    }

    .benefits-list {
        padding: 24px;
        border-radius: 16px;
    }

    .benefit-item {
        padding: 16px 0;
    }

    .check-icon {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .use-case-card h3,
    .feature-card h3 {
        font-size: 1.15rem;
    }

    .use-case-card,
    .feature-card {
        padding: 20px;
    }
}

/* Extra polish - Smooth scrolling sections */
.use-cases-section,
.converter-features-section {
    scroll-margin-top: 80px;
}

/* Container styling */
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Accordion item styling */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
}

/* Custom header with question and button */
.faq-custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-question-text {
    margin: 0;
    color: #2563eb;
    font-weight: 600;
    font-size: 16px;
    flex: 1;
}

/* Custom toggle button */
.btn-custom-toggle {
    background: transparent;
    color: rgb(80, 51, 225);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.toggle-icon {
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Answer styling */
.faq-accordion .accordion-body {
    padding: 0 25px 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* Hover effect */
.faq-accordion .accordion-item:hover {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Make entire header clickable */
.faq-custom-header:hover {
    opacity: 0.9;
}