/* =========================================
   MAKE A REFERRAL BANNER
========================================= */

.referral-banner {
    width: 100%;
    max-width: 1655px;
    margin: 20px auto;
    padding: 32px 48px;

    display: flex;
    align-items: center;
    gap: 24px;

    background: #eaf1ff;
    border: 1px solid #b9d1ff;
    border-radius: 18px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   ICON
========================================= */

.referral-icon {
    width: 92px;
    height: 92px;

    flex: 0 0 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 50%;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.document-icon {
    font-size: 20px;
    line-height: 1;
    color: #2864e8;
    font-weight: bold;
}


/* =========================================
   TEXT
========================================= */

.referral-content {
    flex: 1;
    min-width: 300px;
}

.referral-content h2 {
    margin: 0 0 8px;

    font-size: 25px;
    line-height: 1.1;

    font-weight: 700;
    color: #071b3a;
}

.referral-content p {
    margin: 0;

    max-width: 730px;

    font-size: 18px;
    line-height: 1.6;

    color: #173d72;
}


/* =========================================
   BUTTON AREA
========================================= */

.referral-actions {
    display: flex;
    align-items: center;
    gap: 18px;

    flex: 0 0 auto;
}


/* =========================================
   BUTTONS
========================================= */

.referral-btn {
    min-height: 60px;
    padding: 0 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    border-radius: 8px;

    font-size: 20px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s ease;
}


/* Blue button */

.referral-btn.primary {
    min-width: 300px;

    background: #2864e8;
    color: #ffffff;

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.referral-btn.primary:hover {
    background: #1d52c7;
    transform: translateY(-1px);
}


/* White button */

.referral-btn.secondary {
    min-width: 250px;

    background: #ffffff;
    color: #1d56d9;

    border: 1px solid #78a8ff;
}

.referral-btn.secondary:hover {
    background: #f5f8ff;
    transform: translateY(-1px);
}


/* Download icon */

.download-icon {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    .referral-banner {
        padding: 28px 30px;
    }

    .referral-content h2 {
        font-size: 30px;
    }

    .referral-content p {
        font-size: 18px;
    }

    .referral-actions {
        flex-direction: column;
    }

    .referral-btn.primary,
    .referral-btn.secondary {
        min-width: 280px;
        width: 100%;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .referral-banner {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px 22px;
        gap: 20px;
    }

    .referral-icon {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .document-icon {
        font-size: 38px;
    }

    .referral-content {
        min-width: 0;
    }

    .referral-content h2 {
        font-size: 28px;
    }

    .referral-content p {
        font-size: 17px;
        line-height: 1.5;
    }

    .referral-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .referral-btn.primary,
    .referral-btn.secondary {
        width: 100%;
        min-width: 0;
    }
}