﻿/* =========================================================
   DOCUMENT MANAGEMENT PAGE
========================================================= */

:root {
    --document-primary: #0b63ce;
    --document-primary-dark: #063f8c;
    --document-secondary: #12a4ed;
    --document-dark: #081a33;
    --document-text: #526173;
    --document-light: #f5f9ff;
    --document-white: #ffffff;
    --document-border: #dce8f5;
    --document-shadow: 0 18px 45px rgba(7, 42, 86, 0.10);
}


/* =========================================================
   COMMON SECTION STYLES
========================================================= */

.document-section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--document-primary);
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.document-section-title {
    margin-bottom: 20px;
    color: var(--document-dark);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.document-section-description {
    max-width: 720px;
    margin: 0 auto;
    color: var(--document-text);
    font-size: 17px;
    line-height: 1.8;
}

.document-section-heading {
    max-width: 850px;
    margin: 0 auto 48px;
}


/* =========================================================
   HERO SECTION
========================================================= */

.document-hero {
    position: relative;
    min-height: 490px;
    margin-top: 68px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(4, 19, 42, 0.45) 0%, rgba(5, 39, 83, 0.30) 38%, rgba(7, 78, 146, 0.10) 68%, rgba(7, 78, 146, 0.00) 100% ), url("/images/products/document-management/document-hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .document-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 18% 35%, rgba(18, 164, 237, 0.18), transparent 40% );
        pointer-events: none;
    }

    .document-hero .container {
        position: relative;
        z-index: 2;
    }

.document-hero-content {
    max-width: 760px;
    padding: 56px 0;
}

.document-hero .document-section-label {
    padding: 8px 14px;
    margin-bottom: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.document-hero-title {
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.4px;
}

    .document-hero-title span {
        display: block;
        color: #7dc9ff;
    }

.document-hero-description {
    max-width: 680px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.document-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   BUTTONS
========================================================= */

.document-btn {
    min-height: 52px;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

    .document-btn:hover {
        transform: translateY(-3px);
    }

.document-btn-primary {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--document-primary), var(--document-secondary) );
    box-shadow: 0 14px 30px rgba(11, 99, 206, 0.28);
}

    .document-btn-primary:hover {
        color: #ffffff;
        box-shadow: 0 18px 38px rgba(11, 99, 206, 0.38);
    }

.document-btn-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .document-btn-outline:hover {
        color: var(--document-dark);
        background: #ffffff;
        border-color: #ffffff;
    }


/* =========================================================
   OVERVIEW SECTION
========================================================= */

.document-overview {
    padding: 100px 0;
    background: #ffffff;
}

.document-overview-image-wrapper {
    position: relative;
}

    .document-overview-image-wrapper::before {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        top: -35px;
        left: -35px;
        background: #e6f3ff;
        border-radius: 50%;
        z-index: 0;
    }

    .document-overview-image-wrapper::after {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        right: -20px;
        bottom: -24px;
        background: linear-gradient( 135deg, rgba(11, 99, 206, 0.16), rgba(18, 164, 237, 0.08) );
        border-radius: 24px;
        transform: rotate(18deg);
        z-index: 0;
    }

.document-overview-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--document-shadow);
    z-index: 1;
}

    .document-overview-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, transparent 52%, rgba(5, 27, 55, 0.24) 100% );
        pointer-events: none;
    }

    .document-overview-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.55s ease;
    }

    .document-overview-image:hover img {
        transform: scale(1.05);
    }

.document-overview-content p {
    margin-bottom: 17px;
    color: var(--document-text);
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   FEATURES SECTION
========================================================= */

.document-features {
    padding: 100px 0;
    background: var(--document-light);
}

.document-feature-card {
    height: 100%;
    min-height: 220px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--document-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(8, 38, 78, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .document-feature-card:hover {
        transform: translateY(-5px);
        border-color: rgba(11, 99, 206, 0.32);
        box-shadow: 0 20px 42px rgba(8, 38, 78, 0.12);
    }

.document-feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--document-primary);
    color: #ffffff;
    border-radius: 15px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.document-feature-card:hover .document-feature-icon {
    transform: scale(1.08);
    
}

.document-feature-card h3 {
    margin-bottom: 12px;
    color: var(--document-dark);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.35;
}

.document-feature-card p {
    margin: 0;
    color: var(--document-text);
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1199.98px) {

    .document-hero-title {
        font-size: 49px;
    }

    .document-section-title {
        font-size: 36px;
    }

    .document-overview-image {
        height: 460px;
    }
}


@media (max-width: 991.98px) {

    .document-hero {
        min-height: 600px;
        background-position: 62% center;
    }

    .document-hero-content {
        max-width: 690px;
    }

    .document-hero-title {
        font-size: 46px;
    }

    .document-overview,
    .document-features {
        padding: 80px 0;
    }

    .document-overview-image {
        height: 440px;
    }
}


@media (max-width: 767.98px) {

    .document-hero {
        min-height: 570px;
        margin-top: 64px;
        background-position: 68% center;
    }

    .document-hero-content {
        padding: 50px 0;
    }

    .document-hero-title {
        font-size: 38px;
        letter-spacing: -0.8px;
    }

    .document-hero-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .document-section-title {
        font-size: 32px;
    }

    .document-section-description {
        font-size: 16px;
    }

    .document-overview,
    .document-features {
        padding: 70px 0;
    }

    .document-overview-image {
        height: 380px;
    }

    .document-feature-card {
        min-height: auto;
        padding: 24px;
    }
}


@media (max-width: 575.98px) {

    .document-hero {
        min-height: auto;
        background-position: 72% center;
    }

    .document-hero-title {
        font-size: 33px;
    }

        .document-hero-title span {
            margin-top: 5px;
        }

    .document-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .document-btn {
        width: 100%;
    }

    .document-section-title {
        font-size: 29px;
    }

    .document-overview-image {
        height: 320px;
        border-radius: 17px;
    }

    .document-overview-image-wrapper::before,
    .document-overview-image-wrapper::after {
        display: none;
    }

    .document-section-heading {
        margin-bottom: 36px;
    }

    .document-feature-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}
/* Remove Document Overview decorative circle and square */
.document-overview::before,
.document-overview::after,
.document-overview-image-wrapper::before,
.document-overview-image-wrapper::after {
    content: none !important;
    display: none !important;
}


