/*
 * iLoveReport - Main Stylesheet
 * Inspired by ilovepdf.com
 */

/* ===== Variables ===== */
:root {
    --primary-color: #e5322d;
    --primary-hover: #c42a25;
    --secondary-color: #333333;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --body-bg: #ffffff;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--body-bg);
    padding-top: 76px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* ===== Navigation ===== */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    color: var(--secondary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--secondary-color);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--light-color);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-badges {
    position: relative;
    z-index: 1;
}

.hero-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* ===== Tools Section ===== */
.tools-section {
    padding: 60px 0;
}

.tool-category {
    margin-bottom: 50px;
    margin-top: 50px;
}

.category-title {
    /* display: flex;
    justify-content: center; */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.category-icon.bg-danger {
    background: linear-gradient(135deg, #e5322d, #c42a25);
}

.category-icon.bg-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.category-icon.bg-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.category-icon.bg-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
}

.tool-card {
    display: block;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.tool-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: var(--secondary-color);
}

.tool-card p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

.bg-primary-soft {
    background-color: rgba(0, 123, 255, 0.1);
}

.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1);
}

/* ===== Features Section ===== */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 80px 0;
}

.step-card {
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
    background-color: #1a1a2e !important;
    padding: 60px 0 30px;
}

.footer h5, .footer h6 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: white !important;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== Converter Page Styles ===== */
.converter-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
}

.converter-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.converter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.converter-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ===== Upload Section ===== */
.upload-section {
    padding: 40px 0;
}

.upload-card {
    background: white;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-card:hover {
    border-color: var(--primary-color);
    background: rgba(229, 50, 45, 0.02);
}

.upload-card.dragover {
    border-color: var(--primary-color);
    background: rgba(229, 50, 45, 0.05);
}

.upload-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.upload-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== File Preview Card ===== */
.file-preview-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.file-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.conversion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ===== Progress Card ===== */
.progress-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.progress {
    height: 30px;
    border-radius: 15px;
    background-color: var(--light-color);
}

.progress-bar {
    border-radius: 15px;
    font-weight: 600;
    line-height: 30px;
}

/* ===== Success Card ===== */
.success-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
}

.download-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Error Card ===== */
.error-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.error-icon {
    font-size: 5rem;
    color: var(--danger-color);
}

/* ===== How to Use Section ===== */
.how-to-use {
    padding: 60px 0;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
}

.step-item .step-number {
    margin-bottom: 1rem;
}

/* ===== Converter Features ===== */
.converter-features {
    padding: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===== Related Tools ===== */
.related-tools {
    padding: 40px 0;
}

.related-tool-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--secondary-color);
    font-weight: 500;
}

.related-tool-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
    color: var(--primary-color);
}

.related-tool-card i {
    font-size: 1.25rem;
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* ===== About Page ===== */
.about-content {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.about-section ul {
    padding-left: 1.5rem;
}

.about-section ul li {
    margin-bottom: 0.5rem;
}

.feature-box {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-box i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ===== Contact Page ===== */
.contact-content {
    padding: 60px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* ===== Privacy Page ===== */
.privacy-content {
    padding: 60px 0;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
}

/* ===== Error Page ===== */
.error-section {
    padding: 100px 0;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-icon {
    font-size: 4rem;
    color: var(--text-muted);
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-card-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--secondary-color);
    font-weight: 500;
}

.tool-card-small:hover {
    box-shadow: var(--shadow);
    color: var(--primary-color);
}

.tool-card-small i {
    font-size: 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 50, 45, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1e7e34, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

/* ===== Badges ===== */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* ===== Accordion ===== */
.accordion-item {
    border: none;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background: white;
}

.accordion-button:not(.collapsed) {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .converter-title {
        font-size: 2rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 60px 0 50px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .upload-card {
        padding: 2rem 1.5rem;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .converter-icon {
        font-size: 3.5rem;
    }
    
    .converter-title {
        font-size: 1.5rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ===== Utilities ===== */
.d-none {
    display: none !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}
.footer-links {
    color: white;
}
a.footer-links:hover {
    color: red !important;
}
/* Desktop only (hover effect) */
@media (min-width: 992px) {
    .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: block;
        pointer-events: none;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}
.logo-img {
    width: 50px;          /* increase from 10px so it's visible */
    height: 50px;
    border-radius: 10%;   /* makes it circular */
    object-fit: cover;    /* keeps it nicely cropped */
    background: transparent;
    mix-blend-mode: multiply;
}

/* Mobile fix (let Bootstrap handle it) */
@media (max-width: 991.98px) {
    .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-menu.show {
        display: block;
    }
}



.extra_text{
    margin-bottom: 50px;
}

.FAQ{
    margin-top: 50px;
}

/* .accordion-button {
    justify-content: center !important;
    text-align: center;
}

.accordion-button::after {
    position: absolute;
    right: 1rem;
} */

/* blog cards  */
.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* blogs design  */

.blog-title {
    font-size: 34px;
    font-weight: 700;
}

.blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.blog-content h2 {
    font-size: 26px;
    margin-top: 30px;
    font-weight: 700;
}

.blog-content h4 {
    font-size: 20px;
    margin-top: 20px;
    font-weight: 600;
}

.blog-content p {
    margin: 15px 0;
}

.blog-content ul,
.blog-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 8px;
}


