/* =========================================================
   SMARTTOOLS PRO
   MASTER WEBSITE CSS
   ========================================================= */

:root {
    --primary: #0b63ce;
    --primary-dark: #084b9d;
    --secondary: #00a884;
    --accent: #ffb703;
    --danger: #d62828;

    --text: #172033;
    --text-light: #667085;
    --white: #ffffff;

    --background: #f5f8fc;
    --card: #ffffff;
    --border: #e3e8ef;

    --shadow-sm: 0 4px 14px rgba(23, 32, 51, 0.06);
    --shadow-md: 0 10px 30px rgba(23, 32, 51, 0.09);
    --shadow-lg: 0 18px 45px rgba(23, 32, 51, 0.13);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --container: 1180px;
}

/* -------------------------
   RESET
------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.7;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

/* -------------------------
   COMMON CONTAINER
------------------------- */

.container {
    width: min(
        var(--container),
        calc(100% - 40px)
    );

    margin-left: auto;
    margin-right: auto;
}

/* -------------------------
   PAGE SECTIONS
------------------------- */

section {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.section-heading p {
    max-width: 700px;
    margin: auto;
    color: var(--text-light);
}

/* -------------------------
   PAGE BANNER
------------------------- */

.page-banner {
    position: relative;
    overflow: hidden;

    padding: 70px 20px;

    text-align: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0b63ce,
            #084b9d
        );
}

.page-banner::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 35px solid rgba(255,255,255,0.08);

    top: -130px;
    right: -80px;
}

.page-banner::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    border: 25px solid rgba(255,255,255,0.06);

    bottom: -100px;
    left: -50px;
}

.page-banner-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin: auto;
}

.page-banner h1 {
    font-size: clamp(30px, 5vw, 48px);

    line-height: 1.15;

    margin-bottom: 15px;
}

.page-banner p {
    font-size: 17px;

    max-width: 750px;

    margin: auto;

    opacity: 0.95;
}

/* -------------------------
   CARDS
------------------------- */

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 25px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eaf3ff;

    color: var(--primary);

    font-size: 27px;

    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;

    margin-bottom: 8px;
}

.card p {
    color: var(--text-light);

    font-size: 15px;
}

/* -------------------------
   BUTTONS
------------------------- */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 10px 19px;

    border: none;

    border-radius: 10px;

    font-weight: 700;

    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-1px);
}

.btn-secondary {
    background: #eef2f6;
    color: #344054;
}

.btn-secondary:hover {
    background: #dfe6ee;
}

.btn-success {
    background: var(--secondary);
    color: #ffffff;
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

/* -------------------------
   FORMS
------------------------- */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    font-weight: 700;

    margin-bottom: 7px;
}

input,
select,
textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #ccd5e0;

    border-radius: 10px;

    background: #ffffff;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(11, 99, 206, 0.12);
}

textarea {
    min-height: 170px;

    resize: vertical;
}

/* -------------------------
   NOTICE
------------------------- */

.notice {
    padding: 17px 20px;

    border-left: 4px solid var(--primary);

    border-radius: 8px;

    background: #eef6ff;

    color: #344054;
}

.warning {
    border-left-color: var(--accent);

    background: #fff9e6;
}

.danger-notice {
    border-left-color: var(--danger);

    background: #fff2f2;
}

/* -------------------------
   RESULT BOX
------------------------- */

.result-box {
    margin-top: 22px;

    padding: 20px;

    min-height: 70px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #f8fafc;

    overflow-wrap: anywhere;
}

.result-success {
    border-color: #9bd8c5;

    background: #effbf7;
}

.result-error {
    border-color: #efaaaa;

    background: #fff4f4;

    color: #9b1c1c;
}

/* -------------------------
   TABLE
------------------------- */

.table-wrapper {
    width: 100%;

    overflow-x: auto;

    border: 1px solid var(--border);

    border-radius: 12px;
}

table {
    width: 100%;

    border-collapse: collapse;

    background: #ffffff;
}

th,
td {
    padding: 13px 15px;

    border-bottom:
        1px solid var(--border);

    text-align: left;
}

th {
    background: #f3f6fa;

    font-weight: 700;
}

/* -------------------------
   FILE UPLOAD
------------------------- */

.file-upload {
    border: 2px dashed #b9c6d6;

    border-radius: 14px;

    padding: 30px;

    text-align: center;

    background: #fafcff;
}

.file-upload:hover {
    border-color: var(--primary);

    background: #f5f9ff;
}

/* -------------------------
   ADVERTISEMENT SPACE
------------------------- */

.ad-space {
    width: 100%;

    min-height: 90px;

    margin: 25px auto;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #98a2b3;

    font-size: 12px;
}

/* -------------------------
   ACCESSIBILITY
------------------------- */

:focus-visible {
    outline: 3px solid
        rgba(11,99,206,0.35);

    outline-offset: 2px;
}

/* -------------------------
   UTILITY
------------------------- */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}