.aman-certificates {
    --aman-green: #062b27;
    --aman-green-light: #0b4039;
    --aman-gold: #fdbd06;
    --aman-cream: #fbf8f0;

    padding: 50px 0 65px;

    background: var(--aman-cream);

    font-family: 'Montserrat', sans-serif;
}


/* =========================
   HEADER
========================= */

.aman-certificates-header {
    max-width: 820px;
    margin: 0 auto 55px;

    text-align: center;
}


.aman-certificates-label {
    margin-bottom: 13px;

    color: var(--aman-gold);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.aman-certificates-title {
    margin: 0;

    color: var(--aman-green);

    font-size: 42px;
    line-height: 1.15;

    font-weight: 700;
}


.aman-certificates-subtitle {
    max-width: 730px;

    margin: 20px auto 0;

    color: #666;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   CERTIFICATE CARD
========================= */

.aman-certificate-card {
    height: 100%;

    min-height: 250px;

    padding: 38px 26px 32px;

    background: #ffffff;

    text-align: center;

    border: 1px solid rgba(6,43,39,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.aman-certificate-card:hover {
    transform: translateY(-5px);

    border-color: rgba(253,189,6,.65);

    box-shadow:
        0 18px 40px rgba(6,43,39,.08);
}


/* LOGO */

.aman-certificate-logo {
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
}


.aman-certificate-logo img {
    max-width: 125px;
    max-height: 125px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* GOLD LINE */

.aman-certificate-line {
    width: 36px;
    height: 2px;

    margin: 0 auto 20px;

    background: var(--aman-gold);
}


/* TITLE */

.aman-certificate-card h3 {
    margin: 0 0 10px;

    color: var(--aman-green);

    font-size: 20px;
    line-height: 1.3;

    font-weight: 700;
}


/* TEXT */

.aman-certificate-card p {
    max-width: 250px;

    margin: 0 auto;

    color: #6b6b6b;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================
   DOCUMENTS
========================= */

.aman-certificate-documents {
    margin-top: 22px;
}


.aman-document-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 210px;

    padding: 38px 42px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--aman-green),
            var(--aman-green-light)
        );

    color: #ffffff;
}


/* decorative circle */

.aman-document-card::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -90px;
    top: -100px;

    border: 1px solid rgba(253,189,6,.15);

    border-radius: 50%;
}


.aman-document-card::before {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    right: -50px;
    top: -55px;

    border: 1px solid rgba(253,189,6,.15);

    border-radius: 50%;
}


/* ICON */

.aman-document-icon {
    position: relative;

    z-index: 2;

    flex: 0 0 75px;

    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 28px;

    color: var(--aman-gold);

    border: 1px solid rgba(253,189,6,.65);

    border-radius: 50%;
}


.aman-document-icon svg {
    width: 39px;
    height: 39px;
}


/* CONTENT */

.aman-document-content {
    position: relative;
    z-index: 2;
}


.aman-document-content span {
    display: block;

    margin-bottom: 8px;

    color: var(--aman-gold);

    font-size: 10px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: 2px;
}


.aman-document-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 23px;
    line-height: 1.3;

    font-weight: 700;
}


.aman-document-content p {
    max-width: 390px;

    margin: 0;

    color: rgba(255,255,255,.70);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .aman-certificates {
        padding: 80px 0 90px;
    }


    .aman-certificates-title {
        font-size: 35px;
    }


    .aman-certificate-card {
        min-height: 300px;

        padding: 32px 20px 28px;
    }


    .aman-document-card {
        padding: 32px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .aman-certificates {
        padding: 65px 0 75px;
    }


    .aman-certificates-header {
        margin-bottom: 38px;
    }


    .aman-certificates-title {
        font-size: 29px;
    }


    .aman-certificates-subtitle {
        font-size: 14px;
        line-height: 1.7;
    }


    .aman-certificate-card {
        min-height: 255px;

        padding: 26px 14px 24px;
    }


    .aman-certificate-logo {
        height: 80px;

        margin-bottom: 18px;
    }


    .aman-certificate-logo img {
        max-width: 95px;
        max-height: 70px;
    }


    .aman-certificate-line {
        margin-bottom: 15px;
    }


    .aman-certificate-card h3 {
        font-size: 17px;
    }


    .aman-certificate-card p {
        font-size: 11px;
        line-height: 1.55;
    }


    .aman-document-card {
        min-height: auto;

        padding: 30px 24px;
    }


    .aman-document-icon {
        flex: 0 0 60px;

        width: 60px;
        height: 60px;

        margin-right: 20px;
    }


    .aman-document-icon svg {
        width: 32px;
        height: 32px;
    }


    .aman-document-content h3 {
        font-size: 19px;
    }


    .aman-document-content p {
        font-size: 12px;
    }

}


/* very small phones */

@media (max-width: 430px) {

    .aman-certificate-card {
        min-height: 235px;

        padding-left: 10px;
        padding-right: 10px;
    }


    .aman-certificate-logo img {
        max-width: 85px;
    }


    .aman-certificate-card p {
        font-size: 10.5px;
    }


    .aman-document-card {
        align-items: flex-start;
    }


    .aman-document-icon {
        flex: 0 0 52px;

        width: 52px;
        height: 52px;

        margin-right: 15px;
    }


    .aman-document-icon svg {
        width: 27px;
        height: 27px;
    }

}