css
/**
 * ============================================================
 * AKBAR KHAN TRUST
 * GLOBAL FOUNDATION CSS
 * ============================================================
 *
 * File:
 * /akbarkhantrust/public_html/assets/css/foundation.css
 *
 * Version : 2.0.0
 * Status  : PRODUCTION
 *
 * Purpose
 * ------------------------------------------------------------
 * Global CSS foundation / reset for the complete application.
 *
 * ✓ Public website
 * ✓ Public dashboard
 * ✓ Authenticated dashboards
 * ✓ Admin interface
 * ✓ Responsive baseline
 * ✓ Accessibility baseline
 * ✓ Typography normalization
 * ✓ Form normalization
 * ✓ Media normalization
 * ✓ Print support
 * ✓ RTL support
 *
 * IMPORTANT
 * ------------------------------------------------------------
 * This file contains global foundations only.
 *
 * Component-specific design belongs in:
 * components.css
 *
 * Navigation-specific design belongs in:
 * navigation.css
 *
 * Page-specific design belongs in:
 * page CSS files.
 *
 * No akt-* namespace is used.
 *
 * ============================================================
 */


/* ============================================================
   1. GLOBAL DESIGN TOKENS
   ============================================================ */

:root {
    --foundation-font-sans:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;

    --foundation-font-mono:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;

    --foundation-text: #212529;
    --foundation-text-muted: #6c757d;
    --foundation-heading: #173b2b;

    --foundation-background: #ffffff;
    --foundation-background-muted: #f8f9fa;

    --foundation-border: #dee2e6;

    --foundation-primary: #0b6b3a;
    --foundation-primary-dark: #064d2f;

    --foundation-focus: #0b6b3a;

    --foundation-selection:
        rgba(11, 107, 58, .16);

    --foundation-radius: .5rem;

    --foundation-line-height: 1.5;

    --foundation-transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}


/* ============================================================
   2. UNIVERSAL BOX MODEL
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ============================================================
   3. HTML ROOT
   ============================================================ */

html {
    font-size: 16px;
    line-height: var(--foundation-line-height);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    overflow-x: hidden;
}

html:focus-within {
    scroll-behavior: smooth;
}


/* ============================================================
   4. BODY
   ============================================================ */

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;

    font-family: var(--foundation-font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--foundation-line-height);

    color: var(--foundation-text);
    background: var(--foundation-background);

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
}


/* ============================================================
   5. DOCUMENT STRUCTURE
   ============================================================ */

main,
header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
    display: block;
}

main {
    min-width: 0;
}


/* ============================================================
   6. TYPOGRAPHY RESET
   ============================================================ */

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd {
    margin-top: 0;
}

p {
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: .5rem;
    color: var(--foundation-heading);
    font-weight: 600;
    line-height: 1.25;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

small {
    font-size: .875em;
}

strong,
b {
    font-weight: 600;
}

mark {
    padding: .1em .25em;
    background: #fff3cd;
}

sub,
sup {
    position: relative;
    font-size: .75em;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}


/* ============================================================
   7. LINKS
   ============================================================ */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--foundation-focus);
    outline-offset: 2px;
}

a[href^="mailto:"],
a[href^="tel:"] {
    overflow-wrap: anywhere;
}


/* ============================================================
   8. LISTS
   ============================================================ */

ul,
ol {
    margin-top: 0;
}

ul,
ol {
    padding-left: 2rem;
}

nav ul,
nav ol {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}


/* ============================================================
   9. IMAGES / MEDIA
   ============================================================ */

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
    vertical-align: middle;
}

svg {
    overflow: hidden;
}

svg:not([width]):not([height]) {
    max-width: 100%;
}

video {
    height: auto;
}

iframe {
    border: 0;
}

figure {
    margin-right: 0;
    margin-left: 0;
}

figcaption {
    color: var(--foundation-text-muted);
    font-size: .875rem;
}


/* ============================================================
   10. RESPONSIVE EMBEDS
   ============================================================ */

iframe,
video {
    max-width: 100%;
}

.media-responsive {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.media-responsive iframe,
.media-responsive video {
    width: 100%;
    height: 100%;
}


/* ============================================================
   11. BUTTONS / FORM CONTROLS
   ============================================================ */

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
fieldset:disabled {
    cursor: not-allowed;
}

button,
input,
select,
textarea {
    color: inherit;
}

button {
    border-radius: 0;
}

button:not(:disabled) {
    cursor: pointer;
}

textarea {
    resize: vertical;
}

input,
select,
textarea {
    max-width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: var(--foundation-text-muted);
    opacity: .8;
}


/* ============================================================
   12. SEARCH / NUMBER INPUT NORMALIZATION
   ============================================================ */

input[type="search"] {
    -webkit-appearance: textfield;
    appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
}


/* ============================================================
   13. CHECKBOX / RADIO
   ============================================================ */

input[type="checkbox"],
input[type="radio"] {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    accent-color: var(--foundation-primary);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
    outline: 2px solid var(--foundation-focus);
    outline-offset: 2px;
}


/* ============================================================
   14. PROGRESS / METER
   ============================================================ */

progress,
meter {
    vertical-align: middle;
}

progress {
    width: 100%;
}


/* ============================================================
   15. FIELDSET / LEGEND
   ============================================================ */

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.25rem;
    line-height: inherit;
}

legend + * {
    clear: both;
}


/* ============================================================
   16. TABLE
   ============================================================ */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

caption {
    padding: .5rem 0;
    color: var(--foundation-text-muted);
    text-align: left;
    caption-side: top;
}

th {
    font-weight: 600;
    text-align: inherit;
}

td,
th {
    vertical-align: middle;
}


/* ============================================================
   17. CODE / PREFORMATTED CONTENT
   ============================================================ */

code,
kbd,
pre,
samp {
    font-family: var(--foundation-font-mono);
    font-size: .875em;
}

pre {
    display: block;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

code {
    overflow-wrap: break-word;
}

kbd {
    padding: .15rem .35rem;
    color: #fff;
    background: #212529;
    border-radius: .25rem;
}


/* ============================================================
   18. BLOCKQUOTE
   ============================================================ */

blockquote {
    margin-right: 0;
    margin-left: 0;
}

blockquote p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   19. HORIZONTAL RULE
   ============================================================ */

hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid var(--foundation-border);
    opacity: 1;
}


/* ============================================================
   20. DETAILS / SUMMARY
   ============================================================ */

details {
    display: block;
}

summary {
    display: list-item;
    cursor: pointer;
}

summary:focus-visible {
    outline: 2px solid var(--foundation-focus);
    outline-offset: 2px;
}


/* ============================================================
   21. DIALOG
   ============================================================ */

dialog {
    padding: 0;
    color: inherit;
    background: var(--foundation-background);
    border: 1px solid var(--foundation-border);
    border-radius: var(--foundation-radius);
}

dialog::backdrop {
    background: rgba(0, 0, 0, .45);
}


/* ============================================================
   22. SELECTION
   ============================================================ */

::selection {
    color: var(--foundation-heading);
    background: var(--foundation-selection);
}

::-moz-selection {
    color: var(--foundation-heading);
    background: var(--foundation-selection);
}


/* ============================================================
   23. FOCUS
   ============================================================ */

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--foundation-focus);
    outline-offset: 2px;
}

[tabindex="-1"]:focus {
    outline: none;
}


/* ============================================================
   24. HIDDEN
   ============================================================ */

[hidden] {
    display: none !important;
}


/* ============================================================
   25. ACCESSIBILITY HELPERS
   ============================================================ */

.sr-only,
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus,
.visually-hidden-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: .5rem 1rem !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}


/* ============================================================
   26. SKIP LINK
   ============================================================ */

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 9999;

    padding: .65rem 1rem;

    color: #fff;
    background: var(--foundation-primary);

    border-radius: 0 0 var(--foundation-radius) var(--foundation-radius);

    font-weight: 600;
    text-decoration: none;

    transition: top .2s ease;
}

.skip-link:focus {
    top: 0;
}


/* ============================================================
   27. WORD BREAK / LONG CONTENT
   ============================================================ */

.text-wrap,
.content-wrap {
    overflow-wrap: anywhere;
    word-break: normal;
}

.break-word {
    overflow-wrap: anywhere;
}

.no-wrap {
    white-space: nowrap;
}


/* ============================================================
   28. ROOT CONTAINMENT
   ============================================================ */

.container,
.container-fluid,
main,
section,
article {
    min-width: 0;
}


/* ============================================================
   29. SCROLLING
   ============================================================ */

html,
body {
    scrollbar-width: auto;
}

* {
    scrollbar-color: auto;
}


/* ============================================================
   30. MOBILE TOUCH OPTIMIZATION
   ============================================================ */

button,
a,
input,
select,
textarea,
summary {
    touch-action: manipulation;
}


/* ============================================================
   31. SAFER TEXT RENDERING
   ============================================================ */

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   32. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ============================================================
   33. HIGH CONTRAST / FORCED COLORS
   ============================================================ */

@media (forced-colors: active) {

    *,
    *::before,
    *::after {
        forced-color-adjust: auto;
    }

    :focus-visible {
        outline: 2px solid Highlight;
    }

    a {
        color: LinkText;
    }

    button,
    input,
    select,
    textarea {
        border-color: ButtonText;
    }
}


/* ============================================================
   34. RTL FOUNDATION
   ============================================================ */

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] body {
    direction: rtl;
}

[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="rtl"] nav ul,
[dir="rtl"] nav ol {
    padding-right: 0;
}

[dir="rtl"] caption {
    text-align: right;
}


/* ============================================================
   35. DARK MODE BASE
   ============================================================ */

@media (prefers-color-scheme: dark) {

    html[data-theme="system"] {
        color-scheme: dark;
    }
}


/*
 * Explicit application theme support.
 *
 * Detailed dark-mode component styling belongs to:
 * app.css / components.css / page CSS.
 */

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
}


/* ============================================================
   36. COLOR-SCHEME
   ============================================================ */

html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
}


/* ============================================================
   37. MOBILE TYPOGRAPHY
   ============================================================ */

@media (max-width: 767.98px) {

    html {
        font-size: 15.5px;
        scroll-padding-top: 4.5rem;
    }

    body {
        font-size: .975rem;
    }
}


@media (max-width: 575.98px) {

    html {
        font-size: 15px;
    }

    body {
        min-width: 320px;
    }

    p {
        margin-bottom: .875rem;
    }
}


/* ============================================================
   38. PRINT FOUNDATION
   ============================================================ */

@media print {

    *,
    *::before,
    *::after {
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    html,
    body {
        min-width: 0;
        background: #fff !important;
    }

    body {
        font-size: 11pt;
        line-height: 1.4;
    }

    a,
    a:visited {
        color: #000 !important;
        text-decoration: underline;
    }

    a[href]::after {
        content: none;
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    img,
    svg,
    tr {
        page-break-inside: avoid;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    table {
        page-break-inside: auto;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    .skip-link,
    [aria-hidden="true"] {
        display: none !important;
    }
}


/* ============================================================
   END OF FOUNDATION CSS
   ============================================================ */

