/* Explain: Base reset and typography defaults for the website. - */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

p, a, span, div, button, input, textarea {
    font-family: var(--font-body);
}

/* Custom Utilities */
.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.text-teal {
    color: var(--primary-color);
}