/* ===================================
   GLOBAL
=================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #111827;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1320px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
}

.popular-card,
.category-card,
.tool-pill,
.quick-card,
.stats-wrapper,
.footer-card {
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

/* ===================================
   NAVBAR
=================================== */

.custom-navbar {

    height: 86px;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .04);
    padding:
        12px 0;
}

.logo {

    height: 58px;
}

.nav-link {

    color: #334155 !important;

    font-size: 15px;

    font-weight: 600;

    margin:
        0 10px;
}

.nav-link.active {

    color: #2563eb !important;
}

.nav-link:hover {

    color: #2563eb !important;
}

.popular-card:hover,
.category-card:hover,
.tool-pill:hover {
    transform: translateY(-5px);
    transition: .3s;
}

.start-btn {

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed);

    color: white !important;

    border: none;

    border-radius: 14px;

    padding:
        13px 24px;

    font-weight: 700;
}


/* ===================================
   PDF HERO
=================================== */

.pdf-hero {

    padding: 120px 0 40px;

    background:
        linear-gradient(180deg,
            #f8fbff,
            #ffffff);
}

.pdf-hero h1 {

    font-size: 72px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 15px;
}

.pdf-hero p {

    font-size: 20px;

    color: #64748b;
}

/* ===================================
   SEARCH
=================================== */

.search-section {

    padding: 20px 0 30px;
}

.search-wrapper {

    max-width: 900px;

    margin: auto;

    display: flex;

    gap: 15px;
}

.search-box {

    flex: 1;

    height: 70px;

    background: white;

    border-radius: 20px;

    display: flex;

    align-items: center;

    padding: 0 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);
}

.search-box i {

    font-size: 22px;

    color: #94a3b8;

    margin-right: 12px;
}

.search-box input {

    width: 100%;

    border: none;

    outline: none;

    font-size: 16px;
}

.search-btn {

    width: 160px;

    border: none;

    border-radius: 20px;

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed);

    color: white;

    font-weight: 700;
}

/* ===================================
   FILTERS
=================================== */

.filter-section {

    padding-bottom: 35px;
}

.category-filter {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.filter-btn {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 14px 24px;

    background: white;

    border-radius: 50px;

    color: #475569;

    text-decoration: none;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .05);
}

.filter-btn.active {

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed);

    color: white;
}

/* ===================================
   STATS
=================================== */

.stats-section {

    padding-bottom: 50px;
}

.stats-wrapper {

    background: white;

    border-radius: 24px;

    padding: 35px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 30px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);

}
.stat-item {

    display: flex;

    align-items: center;

    gap: 18px;
}

.stat-item img {

    width: 60px;
}

.stat-item h3 {

    font-size: 32px;

    color: black;

    font-weight: 800;

    margin: 0;
}

.stat-item p {

    margin: 0;

    color: #475569;
}

.stat-divider {

    width: 1px;

    height: 70px;

    background: #e2e8f0;
}

/* ===================================
   TOOL CARDS
=================================== */

.pdf-tools-section {

    padding-bottom: 70px;
}

.pdf-tool-card {

    display: block;

    background: white;

    border-radius: 24px;

    padding: 30px;

    min-height: 250px;

    text-decoration: none;

    color: #111827;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);

    transition: .3s;
}

.pdf-tool-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .08);
}

.tool-icon {

    width: 70px;

    height: 70px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;
}

.tool-icon img {

    width: 36px;
}



.orange {
    background: #fff1e6;
}



.red {
    background: #ffe8ea;
}

.cyan {
    background: #e7fbfb;
}

.yellow {
    background: #fff6df;
}

.pdf-tool-card h4 {

    font-size: 30px;

    font-weight: 700;

    margin-bottom: 12px;
}

.pdf-tool-card p {

    color: #64748b;

    line-height: 1.8;

    min-height: 80px;
}

.pdf-tool-card span {

    color: #2563eb;

    font-weight: 700;
}

/* ===================================
   FEATURES
=================================== */

.feature-section {

    padding-top: 30px;
    padding-bottom: 30px;
}

.feature-wrapper {

    background: white;

    border-radius: 24px;

    padding: 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);
}

.feature-box {

    display: flex;

    align-items: center;

    gap: 20px;

    flex: 1;

    padding-left: 15px;
}

.feature-icon {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
}

.feature-icon img {

    width: 80px;
}

.feature-divider {

    width: 1px;

    height: 120px;

    background: #e2e8f0;
}

.feature-box h4 {

    font-size: 22px;

    font-weight: 700;
}

.feature-box p {

    color: #64748b;

    line-height: 1.8;
}

/* ===================================
   FOOTER
=================================== */

.footer-section {

    padding: 15px 0 0 0;
}

.footer-card {

    background: white;


    padding: 40px 40px 30px 40px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);
}

.footer-logo {

    height: 60px;

    margin-bottom: 20px;
}

.footer-desc {

    color: #64748b;

    line-height: 1.8;
}

.footer-social {

    display: flex;

    gap: 12px;

    margin-top: 20px;
}

.footer-social img {

    width: 42px;
    height: 42px;
}

.footer-section h5 {

    font-weight: 700;

    margin-bottom: 20px;
}

.footer-section ul {

    list-style: none;

    padding: 0;
}

.footer-section ul li {

    margin-bottom: 12px;
}

.footer-section ul li a {

    color: #334155;
}

.footer-input {

    height: 50px;

    border-radius: 12px;
}

.footer-btn {

    margin-top: 12px;

    width: 100%;

    height: 50px;

    border-radius: 12px;

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed);

    border: none;

    color: white;

    font-weight: 700;
}

.footer-bottom {

    margin-top: 0px;

    background:
        linear-gradient(135deg,
            #2563eb,
            #4f46e5);

    color: white;

    padding: 16px 30px 16px 30px;


    display: flex;

    justify-content: space-between;

    align-items: center;
}

/* ===================================
TABLET (768px - 991px)
=================================== */

@media (max-width:991px) {


    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pdf-hero {
        text-align: center;
    }

    .pdf-hero h1 {
        font-size: 52px;
    }

    .pdf-hero p {
        font-size: 18px;
    }

    .stats-card {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .feature-wrapper {
        flex-wrap: wrap;
    }

    .feature-box {
        width: 50%;
        padding: 20px;
    }


}

/* ===================================
MOBILE (320px - 767px)
=================================== */

@media (max-width:767px) {


    /* Hide Stats */
    .stats-section {
        display: none;
    }

    /* Hero */
    .pdf-hero {
        padding: 90px 0 20px;
        text-align: center;
    }

    .pdf-hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .pdf-hero p {
        font-size: 15px;
    }

    /* Search */
    .search-wrapper {
        flex-direction: column;
    }

    .search-box {
        height: 58px;
    }

    .search-btn {
        width: 100%;
        height: 58px;
    }

    /* Filter */
    .category-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .filter-btn {
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 16px;
    }

    /* PDF Tool Cards */
    .pdf-tool-card {
        min-height: 140px;
        padding: 15px;
        border-radius: 18px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .tool-icon img {
        width: 28px;
    }

    .pdf-tool-card h4 {
        font-size: 16px;
        margin: 0;
    }

    .pdf-tool-card p,
    .pdf-tool-card span {
        display: none;
    }

    /* 2 Cards Per Row */
    .pdf-tools-section .col-lg-3,
    .pdf-tools-section .col-md-4,
    .pdf-tools-section .col-sm-6,
    .pdf-tools-section .col-6 {
        width: 50%;
        margin-bottom: 15px;
    }

    /* Features */
    .feature-wrapper {
        background: transparent;
        box-shadow: none;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .feature-divider {
        display: none;
    }

    .feature-box {
        width: calc(50% - 6px);
        background: white;
        border-radius: 16px;
        padding: 15px 10px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .feature-icon img {
        width: 45px;
    }

    .feature-box h4 {
        font-size: 15px;
        margin: 0;
    }

    .feature-box p {
        display: none;
    }

    /* Footer */
    .footer-card {
        padding: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px;
    }


}

/* ===================================
SMALL MOBILE (320px - 480px)
=================================== */

@media (max-width:480px) {


    .pdf-hero h1 {
        font-size: 30px;
    }

    .pdf-hero p {
        font-size: 14px;
    }

    .pdf-tool-card {
        min-height: 125px;
        padding: 12px;
    }

    .tool-icon {
        width: 42px;
        height: 42px;
    }

    .tool-icon img {
        width: 24px;
    }

    .pdf-tool-card h4 {
        font-size: 14px;
    }

    .feature-box {
        padding: 12px 8px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-box h4 {
        font-size: 14px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 8px 12px;
    }


}

/* ===================================
TABLET (768px - 991px)
=================================== */

@media (max-width:991px) {


    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pdf-hero {
        text-align: center;
    }

    .pdf-hero h1 {
        font-size: 52px;
    }

    .pdf-hero p {
        font-size: 18px;
    }

    .stats-card {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .feature-wrapper {
        flex-wrap: wrap;
    }

    .feature-box {
        width: 50%;
        padding: 20px;
    }

    /* ==========================
   TABLET NAVBAR
========================== */

    .custom-navbar {

        height: auto;

    }

    .navbar-collapse {

        background: #ffffff;

        margin-top: 12px;

        padding: 20px;

        border-radius: 16px;

        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

    }

    .navbar-nav {

        text-align: center;

    }

    .navbar-nav .nav-item {

        margin: 8px 0;

    }

    .start-btn {

        display: block;

        width: 100%;

        margin-top: 15px;

    }


}

/* ===================================
MOBILE (320px - 767px)
=================================== */

@media (max-width:767px) {


    .stats-section {
        display: none;
    }

    .pdf-hero {
        padding: 90px 0 20px;
        text-align: center;
    }

    .pdf-hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .pdf-hero p {
        font-size: 15px;
    }

    .search-wrapper {
        flex-direction: column;
    }

    .search-box {
        height: 58px;
    }

    .search-btn {
        width: 100%;
        height: 58px;
    }

    .category-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .filter-btn {
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 16px;
    }

    /* Tool Cards */

    .pdf-tool-card {
        min-height: 140px;
        padding: 15px;
        border-radius: 18px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .tool-icon img {
        width: 28px;
    }

    .pdf-tool-card h4 {
        font-size: 16px;
        margin: 0;
    }

    .pdf-tool-card p,
    .pdf-tool-card span {
        display: none;
    }

    /* 2 Cards Per Row */

    .pdf-tools-section .col-lg-3,
    .image-tools-section .col-lg-3,
    .office-tools-section .col-lg-3,
    .security-tools-section .col-lg-3,
    .pdf-tools-section .col-md-6,
    .image-tools-section .col-md-6,
    .office-tools-section .col-md-6,
    .security-tools-section .col-md-6 {
        width: 50%;
        margin-bottom: 15px;
    }

    /* Features */

    .feature-wrapper {
        background: transparent;
        box-shadow: none;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .feature-divider {
        display: none;
    }

    .feature-box {
        width: calc(50% - 6px);
        background: white;
        border-radius: 16px;
        padding: 15px 10px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .feature-icon img {
        width: 45px;
    }

    .feature-box h4 {
        font-size: 15px;
        margin: 0;
    }

    .feature-box p {
        display: none;
    }

    .footer-card {
        padding: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px;
    }

    /* ==========================
   MOBILE NAVBAR
========================== */

    .custom-navbar {

        height: auto;

        padding: 10px 0;

    }

    .navbar-collapse {

        background: #ffffff;

        margin-top: 12px;

        padding: 20px;

        border-radius: 16px;

        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

    }

    .navbar-nav {

        text-align: center;

    }

    .navbar-nav .nav-item {

        margin: 8px 0;

    }

    .start-btn {

        display: block;

        width: 100%;

        margin-top: 15px;

    }


}

/* ===================================
SMALL MOBILE (320px - 480px)
=================================== */

@media (max-width:480px) {


    .pdf-hero h1 {
        font-size: 30px;
    }

    .pdf-hero p {
        font-size: 14px;
    }

    .pdf-tool-card {
        min-height: 125px;
        padding: 12px;
    }

    .tool-icon {
        width: 42px;
        height: 42px;
    }

    .tool-icon img {
        width: 24px;
    }

    .pdf-tool-card h4 {
        font-size: 14px;
    }

    .feature-box {
        padding: 12px 8px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-box h4 {
        font-size: 14px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* ==========================
   TABLET NAVBAR
========================== */

    .custom-navbar {

        height: auto;

    }

    .navbar-collapse {

        background: #ffffff;

        margin-top: 12px;

        padding: 20px;

        border-radius: 16px;

        box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

    }

    .navbar-nav {

        text-align: center;

    }

    .navbar-nav .nav-item {

        margin: 8px 0;

    }

    .start-btn {

        display: block;

        width: 100%;

        margin-top: 15px;

    }


}