
/* ========================================
   PDFRoof Navbar
======================================== */

.pdfroof-navbar {
    background: #0B1F3A !important;
    min-height: 65px;
}

.pdfroof-navbar .navbar-brand img {
    height: 48px;
    width: auto;
}

.pdfroof-navbar .btn-outline-light {
    border-color: #ffffff;
}

.pdfroof-navbar .btn-outline-light:hover {
    background-color: #ffffff;
    color: #0B1F3A;
}

.pdfroof-navbar .btn-light {
    color: #0B1F3A;
}


/* ========================================
   PDFRoof Tool Cards
======================================== */

.tool-card {
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10) !important;
}

.tool-card .card-body {
    min-width: 0;
}

.tool-card h3,
.tool-card h5 {
    font-weight: 600;
    color: #252b36;
}

.tool-card p {
    line-height: 1.6;
}

.tool-card .btn {
    border-radius: 8px;
    font-weight: 600;
}


/* ========================================
   PDFRoof Tool Icons
======================================== */

.tool-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
    flex-shrink: 0;
}

/* Merge PDF */

.merge-icon {
    background: #e8efff;
    color: #2457d6;
}

/* Split PDF */

.split-icon {
    background: #fff0e8;
    color: #e76b27;
}

/* Compress PDF */

.compress-icon {
    background: #e5f8ed;
    color: #16834a;
}

/* Rotate PDF */

.rotate-icon {
    background: #f0eaff;
    color: #7041c5;
}

/* File Conversion Tools */

.convert-icon {
    background: #e5f5ff;
    color: #087db5;
}

/* Watermark PDF */

.watermark-icon {
    background: #e6f7ff;
    color: #0084a8;
}

/* Protect PDF */

.security-icon {
    background: #ffe8ec;
    color: #d63352;
}

/* Unlock PDF */

.unlock-icon {
    background: #e5f8ed;
    color: #16834a;
}

/* PDF to Text */

.text-icon {
    background: #fff4d9;
    color: #9b7000;
}

/* OCR PDF */

.ocr-icon {
    background: #eeeaff;
    color: #6345b5;
}

/* Account */

.account-icon {
    background: #e8efff;
    color: #2457d6;
}


/* ========================================
   PDFRoof Account Section
======================================== */

.account-card {
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
}

.account-detail {
    background: #f8f9fa;
    border: 1px solid #eef0f4;
    overflow-wrap: anywhere;
}


/* ========================================
   PDFRoof Homepage
======================================== */

#pdf-tools,
#why-pdfroof-heading {
    scroll-margin-top: 90px;
}


/* ========================================
   Responsive Layout
======================================== */

@media (max-width: 576px) {
    .pdfroof-navbar .navbar-brand img {
        height: 40px;
    }

    .tool-card .card-body {
        padding: 20px !important;
    }

    .tool-card p {
        min-height: auto;
    }
}


/* ========================================
   Reduced Motion Accessibility
======================================== */

@media (prefers-reduced-motion: reduce) {
    .tool-card {
        transition: none;
    }

    .tool-card:hover {
        transform: none;
    }
}
