/* =========================================================
   MELGHAT GLOBAL ROOT + TYPOGRAPHY SYSTEM
   Government / Tourism Portal
   ========================================================= */


/* =========================================================
   GOOGLE FONTS
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Noto+Sans+Display:wght@500;600;700;800&display=swap");


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    /* -----------------------------------------------------
       BRAND COLORS
       ----------------------------------------------------- */

    --green: rgb(3, 3, 3);
    --green-2: #0c3d25;
    --deep: #082f20;

    --gold: #f1ab00;
    --gold-dark: #f1ab00;

    --cream: #faf8f1;

    --ink: #000;
    --text: #25332a;
    --muted: #5c655e;
    --muted-light: #7a827c;

    --line: #dfdfd7;
    --line-light: #ebe9dc;

    --white: #ffffff;
    --black: #111111;


    /* -----------------------------------------------------
       SEMANTIC COLORS
       ----------------------------------------------------- */

    --success: #198754;
    --success-dark: #146c43;

    --danger: #dc3545;
    --danger-dark: #b02a37;

    --warning: #f1ab00;
    --warning-dark: #f1ab00;

    --info: #0d6efd;
    --info-dark: #0a58ca;


    /* -----------------------------------------------------
       FONT FAMILY
       ----------------------------------------------------- */

    --font-body:
        "Noto Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --font-heading:
        "Noto Sans Display",
        "Noto Sans",
        system-ui,
        sans-serif;

    --font-mono:
        "Courier New",
        Courier,
        monospace;


    /* -----------------------------------------------------
       ROOT FONT SIZES
       ----------------------------------------------------- */

    --fs-xs: 10px;
    --fs-sm: 12px;
    --fs-md: 13px;
    --fs-base: 14px;
    --fs-lg: 16px;

    --fs-xl: 18px;
    --fs-2xl: 20px;
    --fs-3xl: 24px;
    --fs-4xl: 28px;
    --fs-5xl: 34px;
    --fs-6xl: 40px;
    --fs-7xl: 48px;
    --fs-8xl: 56px;


    /* -----------------------------------------------------
       HEADING SIZES
       ----------------------------------------------------- */

    --heading-h1: clamp(32px, 4vw, 48px) !important;
    --heading-h2: clamp(27px, 3vw, 40px) !important;

    --heading-h3: 30px !important;
    --heading-h4: 20px !important;
    --heading-h5: 17px !important;
    --heading-h6: 15px !important;


    /* -----------------------------------------------------
       BODY TYPOGRAPHY
       ----------------------------------------------------- */

    --body-size: 14px;
    --body-line-height: 1.7;

    --lead-size: 17px;
    --lead-line-height: 1.7;

    --small-size: 12px;
    --small-line-height: 1.5;

    --label-size: 12px;
    --label-line-height: 1.4;

    --caption-size: 11px;
    --caption-line-height: 1.4;

    --meta-size: 11px;
    --meta-line-height: 1.5;

    --button-size: 13px;


    /* -----------------------------------------------------
       FONT WEIGHTS
       ----------------------------------------------------- */

    --fw-regular: 300;
    --fw-medium: 400;
    --fw-semibold: 500;
    --fw-bold: 600;
    --fw-extrabold: 700;


    /* -----------------------------------------------------
       LETTER SPACING
       ----------------------------------------------------- */

    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.04em;
    --tracking-wider: 0.08em;
    --tracking-uppercase: 0.1em;


    /* -----------------------------------------------------
       LINE HEIGHTS
       ----------------------------------------------------- */

    --lh-none: 1;
    --lh-tight: 1.15;
    --lh-heading: 1.3;
    --lh-normal: 1.5;
    --lh-relaxed: 1.7;
    --lh-loose: 1.85;


    /* -----------------------------------------------------
       COMMON SHADOWS
       ----------------------------------------------------- */

    --shadow:
        0 5px 18px rgba(23, 45, 28, 0.09);

    --shadow-sm:
        0 2px 8px rgba(23, 45, 28, 0.07);

    --shadow-md:
        0 10px 28px rgba(23, 45, 28, 0.12);

    --shadow-lg:
        0 18px 45px rgba(23, 45, 28, 0.16);


    /* -----------------------------------------------------
       BORDER RADIUS
       ----------------------------------------------------- */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 999px;


    /* -----------------------------------------------------
       COMMON TRANSITION
       ----------------------------------------------------- */

    --transition-fast: 0.15s ease;
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;

}


/* =========================================================
   GLOBAL RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}


body {
    margin: 0;
    padding: 0;

    overflow-x: hidden;
    background: var(--white);

    font-family: var(--font-body);
    font-size: var(--body-size);
    font-weight: var(--fw-regular);
    line-height: var(--body-line-height);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   TEXT SELECTION
   ========================================================= */

::selection {
    color: var(--white);
    background: var(--green);
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;


    font-family: var(--font-heading);
    font-weight: var(--fw-bold);

    line-height: var(--lh-heading);
}


h1 {
    margin-bottom: 20px;
    font-size: var(--heading-h1);
    letter-spacing: var(--tracking-tight);
}


h2 {
    margin-bottom: 16px;
    font-size: var(--heading-h2);
}


h3 {
    margin-bottom: 12px;
    font-size: var(--heading-h3);
}


h4 {
    margin-bottom: 10px;
    font-size: var(--heading-h4);
}


h5 {
    margin-bottom: 8px;
    font-size: var(--heading-h5);
}


h6 {
    margin-bottom: 6px;
    font-size: var(--heading-h6);
}


/* =========================================================
   PARAGRAPH
   ========================================================= */

p {
    margin-top: 0;
    margin-bottom: 16px;

    color: var(--text);

    font-family: var(--font-body);
    font-size: var(--body-size);
    font-weight: var(--fw-regular);
    line-height: var(--body-line-height);
}


/* =========================================================
   LEAD TEXT
   ========================================================= */

.lead {
    margin-bottom: 20px;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: var(--lead-size);
    line-height: var(--lead-line-height);
}


/* =========================================================
   SPAN
   ========================================================= */

span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
   
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition);
}


a:hover {
    color: var(--green);
}


a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}


/* =========================================================
   STRONG / BOLD
   ========================================================= */

strong,
b {
    font-family: inherit;
    font-weight: var(--fw-bold);
}


/* =========================================================
   SMALL TEXT
   ========================================================= */

small,
.small {
    font-family: var(--font-body);
    font-size: var(--small-size);
    line-height: var(--small-line-height);
}


/* =========================================================
   MUTED TEXT
   ========================================================= */

.text-muted,
.muted {
    color: var(--muted) !important;

    font-size: var(--small-size);
    line-height: var(--small-line-height);
}


/* =========================================================
   LABEL
   ========================================================= */

label {
    display: inline-block;

    margin-bottom: 6px;

    color: var(--text);

    font-family: var(--font-body);
    font-size: var(--label-size);
    font-weight: var(--fw-semibold);
    line-height: var(--label-line-height);
}


/* =========================================================
   FORM CONTROLS
   ========================================================= */

button,
input,
select,
textarea {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--lh-normal);
}


button {
    border: 0;

    font-weight: var(--fw-semibold);
    font-size: var(--button-size);

    cursor: pointer;
}


button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

::placeholder {
    color: var(--muted-light);
    opacity: 1;
}


/* =========================================================
   LISTS
   ========================================================= */

ul,
ol {
    margin-top: 0;
    margin-bottom: 16px;

    padding-left: 1.5rem;

    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
}


li {
    font-size: inherit;
    line-height: inherit;
}


li + li {
    margin-top: 4px;
}


/* =========================================================
   DESCRIPTION LIST
   ========================================================= */

dl {
    margin-top: 0;
    margin-bottom: 16px;
}


dt {
    margin-bottom: 4px;

    color: var(--ink);

    font-weight: var(--fw-semibold);
}


dd {
    margin: 0 0 12px;

    color: var(--muted);
}


/* =========================================================
   BLOCKQUOTE
   ========================================================= */

blockquote {
    margin: 24px 0;
    padding: 16px 20px;

    color: var(--muted);

    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    
    line-height: var(--lh-relaxed);

    border-left: 3px solid var(--gold);
}


/* =========================================================
   EM / ITALIC
   ========================================================= */

em,
i {
    font-family: inherit;
}


/* =========================================================
   MARK / HIGHLIGHT
   ========================================================= */

mark {
    padding: 0.1em 0.3em;

    color: var(--ink);
    background: rgba(241, 171, 0, 0.18);
}


/* =========================================================
   ABBREVIATION
   ========================================================= */

abbr[title] {
    cursor: help;
    text-decoration: underline dotted;
}


/* =========================================================
   CODE
   ========================================================= */

code,
kbd,
pre,
samp {
    font-family: var(--font-mono);
}


code {
    padding: 2px 5px;

    color: var(--green-2);
    background: #f3f4f1;

    border-radius: var(--radius-sm);

    font-size: 0.9em;
}


pre {
    margin: 20px 0;
    padding: 16px;

    overflow-x: auto;

    color: var(--white);
    background: var(--deep);

    border-radius: var(--radius-md);

    font-size: 13px;
    line-height: 1.6;
}


pre code {
    padding: 0;

    color: inherit;
    background: transparent;
}


/* =========================================================
   KEYBOARD
   ========================================================= */

kbd {
    padding: 2px 6px;

    color: var(--ink);
    background: var(--cream);

    border: 1px solid var(--line);
    border-radius: var(--radius-sm);

    font-size: 0.85em;
}


/* =========================================================
   SUB / SUP
   ========================================================= */

sub,
sup {
    position: relative;

    font-size: 0.75em;
    line-height: 0;
}


/* =========================================================
   FIGURE / FIGCAPTION
   ========================================================= */

figure {
    margin: 0 0 20px;
}


figcaption {
    margin-top: 8px;

    color: var(--muted-light);

    font-size: var(--caption-size);
    line-height: var(--caption-line-height);
}


/* =========================================================
   IMAGES
   ========================================================= */

img,
svg,
video {
    max-width: 100%;
}


img {
    height: auto;
    vertical-align: middle;
}


/* =========================================================
   HORIZONTAL RULE
   ========================================================= */

hr {
    margin: 24px 0;

    border: 0;
    border-top: 1px solid var(--line);
}


/* =========================================================
   SECTION TYPOGRAPHY
   ========================================================= */

.section-title {
    margin-bottom: 16px;

    color: var(--ink);

    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
}


.section-description {
    max-width: 720px;

    margin: 0 auto;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--lh-relaxed);
}


.section-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 8px;

    color: var(--gold-dark);

    font-family: var(--font-body);
    font-size: var(--label-size);
    font-weight: var(--fw-bold);

    letter-spacing: var(--tracking-uppercase);
    line-height: 1.4;

    text-transform: uppercase;
}


/* =========================================================
   CARD TYPOGRAPHY
   ========================================================= */

.card-title {
    margin-bottom: 8px;

    color: var(--ink);

    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    line-height: 1.35;
}


.card-text {
    margin-bottom: 0;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: 1.65;
}


/* =========================================================
   META / CAPTION
   ========================================================= */

.meta {
    color: var(--muted);

    font-family: var(--font-body);
    font-size: var(--meta-size);
    line-height: var(--meta-line-height);
}


.caption {
    color: var(--muted-light);

    font-family: var(--font-body);
    font-size: var(--caption-size);
    line-height: var(--caption-line-height);
}


/* =========================================================
   NAVIGATION TYPOGRAPHY
   ========================================================= */

nav,
.nav,
.main-menu {
    font-family: var(--font-body);
}



nav a:hover,
.nav a:hover,
.main-menu a:hover {
    color: var(--green);
}


/* =========================================================
   BUTTON TYPOGRAPHY
   ========================================================= */

.btn {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    border-radius:8px;
    padding: 12px 20px;
}


/* =========================================================
   BADGE TYPOGRAPHY
   ========================================================= */

.badge {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    line-height: 1.3;
}


/* =========================================================
   ALERT TYPOGRAPHY
   ========================================================= */

.alert {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: 1.6;
}


.alert strong {
    font-weight: var(--fw-bold);
}


/* =========================================================
   TABLE TYPOGRAPHY
   ========================================================= */

table {
    width: 100%;

    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: 1.5;
}


th {
    color: var(--ink);

    font-weight: var(--fw-semibold);
}


td {
    color: var(--text);
}


/* =========================================================
   BREADCRUMB TYPOGRAPHY
   ========================================================= */

.breadcrumb {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
}


.breadcrumb-item {
    font-weight: var(--fw-medium);
}


.breadcrumb-item.active {
    color: var(--muted);
}


/* =========================================================
   FORM HELPER TEXT
   ========================================================= */

.form-text {
    margin-top: 5px;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: var(--fs-sm);
    line-height: 1.5;
}


/* =========================================================
   ERROR / VALIDATION TEXT
   ========================================================= */

.invalid-feedback,
.error,
.form-error {
    margin-top: 4px;

    color: var(--danger);

    font-family: var(--font-body);
    font-size: var(--fs-sm);
    line-height: 1.5;
}


/* =========================================================
   SUCCESS TEXT
   ========================================================= */

.text-success {
    color: var(--success) !important;
}


/* =========================================================
   WARNING TEXT
   ========================================================= */

.text-warning {
    color: var(--warning-dark) !important;
}


/* =========================================================
   DANGER TEXT
   ========================================================= */

.text-danger {
    color: var(--danger) !important;
}


/* =========================================================
   INFO TEXT
   ========================================================= */

.text-info {
    color: var(--info) !important;
}


/* =========================================================
   UTILITY TYPOGRAPHY
   ========================================================= */

.text-xs {
    font-size: var(--fs-xs) !important;
}

.text-sm {
    font-size: var(--fs-sm) !important;
}

.text-md {
    font-size: var(--fs-md) !important;
}

.text-base {
    font-size: var(--fs-base) !important;
}

.text-lg {
    font-size: var(--fs-lg) !important;
}

.text-xl {
    font-size: var(--fs-xl) !important;
}

.text-2xl {
    font-size: var(--fs-2xl) !important;
}

.text-3xl {
    font-size: var(--fs-3xl) !important;
}

.text-4xl {
    font-size: var(--fs-4xl) !important;
}

.text-5xl {
    font-size: var(--fs-5xl) !important;
}

.text-6xl {
    font-size: var(--fs-6xl) !important;
}

.text-7xl {
    font-size: var(--fs-7xl) !important;
}

.text-8xl {
    font-size: var(--fs-8xl) !important;
}


/* =========================================================
   FONT FAMILY UTILITIES
   ========================================================= */

.font-body {
    font-family: var(--font-body) !important;
}

.font-heading {
    font-family: var(--font-heading) !important;
}

.font-mono {
    font-family: var(--font-mono) !important;
}


/* =========================================================
   FONT WEIGHT UTILITIES
   ========================================================= */

.fw-regular {
    font-weight: var(--fw-regular) !important;
}

.fw-medium {
    font-weight: var(--fw-medium) !important;
}

.fw-semibold {
    font-weight: var(--fw-semibold) !important;
}

.fw-bold {
    font-weight: var(--fw-bold) !important;
}

.fw-extrabold {
    font-weight: var(--fw-extrabold) !important;
}


/* =========================================================
   LETTER SPACING UTILITIES
   ========================================================= */

.tracking-tight {
    letter-spacing: var(--tracking-tight) !important;
}

.tracking-normal {
    letter-spacing: var(--tracking-normal) !important;
}

.tracking-wide {
    letter-spacing: var(--tracking-wide) !important;
}

.tracking-wider {
    letter-spacing: var(--tracking-wider) !important;
}

.text-uppercase {
    letter-spacing: var(--tracking-uppercase);
}


/* =========================================================
   TEXT COLOR UTILITIES
   ========================================================= */

.text-ink {
    color: var(--ink) !important;
}

.text-body {
    color: var(--text) !important;
}

.text-muted-custom {
    color: var(--muted) !important;
}

.text-muted-light {
    color: var(--muted-light) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-gold {
    color: var(--gold-dark) !important;
}


/* =========================================================
   COMMON CONTAINER
   IMPORTANT:
   This is NOT .container.
   Bootstrap .container remains untouched.
   ========================================================= */

/* .section-shell {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
} */


/* =========================================================
   RESPONSIVE TYPOGRAPHY
   ========================================================= */

@media (max-width: 991px) {

    :root {
        --heading-h1: clamp(30px, 5vw, 40px);
        --heading-h2: clamp(25px, 4vw, 34px);

        --heading-h3: 20px;
        --heading-h4: 18px;
        --heading-h5: 16px;
    }


    body {
        font-size: 14px;
    }


    p {
        font-size: 13px;
        line-height: 1.65;
    }


    .lead {
        font-size: 16px;
    }


    .section-title {
        font-size: 24px;
    }


    .section-description {
        font-size: 13px;
    }

}


@media (max-width: 575px) {

    :root {
        --heading-h1: 28px;
        --heading-h2: 25px;

        --heading-h3: 20px;
        --heading-h4: 18px;
        --heading-h5: 16px;
        --heading-h6: 14px;
    }


    body {
        font-size: 13px;
    }


    p {
        font-size: 13px;
        line-height: 1.65;
    }


    .lead {
        font-size: 15px;
        line-height: 1.65;
    }


    .section-shell {
        width: min(100% - 30px, 1440px);
    }


    .section-title {
        font-size: 23px;
    }


    .section-description {
        font-size: 13px;
    }


    small,
    .small {
        font-size: 11px;
    }


    .meta {
        font-size: 10px;
    }


    .caption {
        font-size: 10px;
    }

}


/* =========================================================
   REDUCED MOTION
   Accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}