/* =========================================================
   Kuwait eVisa - DESIGN SYSTEM (GLOBAL FILE)
   Professional Government Style
========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
    /* =========================
       KUWAIT NATIONAL COLORS
    ========================= */
    --primary-green: #007a3d; /* Kuwait Flag Green */
    --primary-red: #ce1126; /* Kuwait Flag Red */
    --primary-black: #121212; /* Kuwait Dark / Flag Black */
    --primary-white: #ffffff;

    --green-light: #1f9856;
    --green-dark: #004d26;

    --red-light: #e63946;
    --red-dark: #9b0012;

    /* =========================
       BACKGROUNDS
    ========================= */
    --bg-primary: #ffffff;
    --bg-light: #f4f7f5;
    --bg-dark: #0a2115; /* Deep Kuwait Forest Green */

    /* =========================
       TEXT COLORS
    ========================= */
    --text-dark: #121212;
    --text-light: #ffffff;
    --text-muted: #5c6670;

    /* =========================
       BORDER
    ========================= */
    --border-color: #dbe3dd;

    /* =========================
       STATUS COLORS
    ========================= */
    --success: #007a3d;
    --success-light: #e8f5ee;

    --warning: #d97706;
    --warning-light: #fef3c7;

    --danger: #ce1126;
    --danger-light: #fef2f2;

    /* =========================
       SHADOWS
    ========================= */
    --shadow-sm: 0 4px 18px rgba(0, 122, 61, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 122, 61, 0.12);

    /* =========================
       RADIUS
    ========================= */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 999px;

    /* =========================
       TRANSITION
    ========================= */
    --transition: all 0.3s ease;

    /* =========================
       GRADIENTS & GOV THEMING
    ========================= */
    --gradient-primary: linear-gradient(135deg, #007a3d, #1f9856);
    --gradient-red: linear-gradient(135deg, #ce1126, #e63946);
    --gradient-kuwait: linear-gradient(135deg, #007a3d, #0a2115);

    --gov-primary: #007a3d; /* Kuwait Primary Green */
    --gov-primary-dark: #004d26;

    --gov-secondary: #5c6670; /* Slate Gray */
    --gov-secondary-dark: #414a52;

    --gov-success: #007a3d; /* Government Green */
    --gov-success-dark: #004d26;

    --gov-warning: #d97706;
    --gov-warning-dark: #b45309;

    --gov-danger: #ce1126;
    --gov-danger-dark: #9b0012;

    --gov-preview: #2b4c7e;
    --gov-preview-dark: #1f375c;

    --kuwait-green: #007a3d;
    --kuwait-green-light: rgba(0, 122, 61, 0.12);
    --kuwait-red: #ce1126;
    --kuwait-dark: #121212;

    /* =========================
       FOOTER
    ========================= */
    --footer-bg: #0a2115;
}

/* =========================================================
   RESET
========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   RTL
========================================================= */
html[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}
html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

/* =========================================================
   BODY
========================================================= */
body {
    font-family: "Poppins", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 78px;
}

/* =========================================================
   SELECTION
========================================================= */
::selection {
    background: var(--primary-green);
    color: #fff;
}

/* =========================================================
   IMAGE
========================================================= */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================================
   LINKS
========================================================= */
a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}
a:hover {
    color: var(--green-dark);
    text-decoration: none;
}

/* =========================================================
   CONTAINER
========================================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: auto;
    padding-inline: 15px;
}

/* =========================================================
   HEADINGS
========================================================= */
h1,
.heading-xl {
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
h2,
.section-title {
    position: relative;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    padding-bottom: 12px;
}
h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 16px;
}
h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 14px;
}
h5 {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}
h6 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* =========================================================
   SUBTITLE
========================================================= */
.heading-subtitle {
    max-width: 760px;
    margin: 0 auto 45px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-muted);
}

/* =========================================================
   DARK SECTION
========================================================= */
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
    color: #fff;
}

/* =========================================================
   TEXT
========================================================= */
p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.9;
    color: #4b5563;
}
span {
    font-size: 15px;
}
small {
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================================
   LIST
========================================================= */
ul,
ol {
    padding-left: 22px;
    margin-bottom: 22px;
}
li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.9;
    color: #4b5563;
}

/* =========================================================
   TABLE
========================================================= */
.table,
table {
    width: 100%;
    border-collapse: collapse;
    /* background: #fff; */
    border: 1px solid var(--border-color);
}
thead {
    background: var(--primary-green);
}
th {
    /* color: #fff; */
    font-size: 15px;
    font-weight: 600;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    vertical-align: middle;
}
td {
    padding: 15px;
    border: 1px solid var(--border-color);
    vertical-align: middle;
    color: #374151;
    font-size: 14px;
}
tbody tr:nth-child(even) {
    background: #fafafa;
}
tbody tr:hover {
    background: #f0f7f3;
}

/* =========================================================
   FORM
========================================================= */
input,
select,
textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    transition: var(--transition);
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 61, 0.15);
}
button {
    font-family: "Poppins", sans-serif;
}

/* =========================================================
   HORIZONTAL RULE
========================================================= */
hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 30px 0;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */
blockquote {
    padding: 20px 24px;
    border-left: 4px solid var(--primary-green);
    background: #fff;
    color: #4b5563;
    margin: 25px 0;
}

/* =========================================================
   CODE
========================================================= */
code {
    background: #eef7f2;
    color: var(--primary-green);
    padding: 3px 6px;
    border-radius: 4px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.35rem;
    }
    .heading-subtitle {
        font-size: 15px;
    }
    th,
    td {
        padding: 12px;
    }
}
@media (max-width: 768px) {
    body {
        line-height: 1.75;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    p,
    li {
        font-size: 14px;
    }
    .container {
        padding-inline: 12px;
    }
}

/*=========================================================
   FAQ SECTION
=========================================================*/
.faq-section {
    padding: 70px 0;
    background: #f4f7f5;
}
.custom-faq {
    margin: auto;
}

/*=========================================================
   FAQ CARD
=========================================================*/
.custom-faq .accordion-item {
    background: #fff;
    border: 1px solid #d8dee6;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}
.custom-faq .accordion-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.custom-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-left: 5px solid var(--primary-green);
}

/*=========================================================
   QUESTION
=========================================================*/
.custom-faq .accordion-button {
    background: #fff;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    padding: 20px 65px 20px 24px;
    box-shadow: none !important;
    position: relative;
}
.custom-faq .accordion-button:hover {
    color: var(--primary-green);
}
.custom-faq .accordion-button:not(.collapsed) {
    background: #f8fcf9;
    color: var(--primary-green);
}
.custom-faq .accordion-button:focus {
    box-shadow: none;
}
.custom-faq .accordion-button::after {
    display: none;
}

/*=========================================================
   PLUS ICON
=========================================================*/
.custom-faq .accordion-button::before {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef7f2;
    border: 1px solid rgba(0, 122, 61, 0.15);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s;
}
.custom-faq .accordion-button:not(.collapsed)::before {
    content: "−";
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
    transform: translateY(-50%) rotate(180deg);
}

/*=========================================================
   ANSWER
=========================================================*/
.custom-faq .accordion-body {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 15px;
    background: #fff;
}
.custom-faq .accordion-body p:last-child {
    margin-bottom: 0;
}
.custom-faq .accordion-body ul {
    margin-top: 12px;
}
.custom-faq .accordion-body li {
    margin-bottom: 8px;
}

/*=========================================================
   LINKS
=========================================================*/
.custom-faq .accordion-body a {
    color: var(--primary-green);
    font-weight: 600;
}
.custom-faq .accordion-body a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

/*=========================================================
   STATUS MESSAGE
=========================================================*/
.status-message-box {
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.8;
    border-left: 5px solid;
}
.status-message-box.success {
    background: #eef7f2;
    border-color: #007a3d;
    color: #007a3d;
}
.status-message-box.warning {
    background: #fef3c7;
    border-color: #d97706;
    color: #92400e;
}
.status-message-box.error {
    background: #fef2f2;
    border-color: #ce1126;
    color: #9b0012;
}

/*=========================================================
   IMPORTANT CARD
=========================================================*/
.offer-card {
    position: relative;
    background: #fff;
    border: 1px solid #d8dee6;
    border-left: 6px solid var(--primary-red);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.offer-card::before {
    content: "IMPORTANT";
    position: absolute;
    right: 20px;
    top: -12px;
    background: var(--primary-red);
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(206, 17, 38, 0.25);
}
.offer-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-dark);
}
.offer-content strong {
    color: var(--primary-green);
}

/*=========================================================
   MOBILE
=========================================================*/
@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }
    .custom-faq .accordion-button {
        padding: 16px 55px 16px 18px;
        font-size: 14px;
    }
    .custom-faq .accordion-button::before {
        width: 30px;
        height: 30px;
        right: 15px;
        font-size: 18px;
    }
    .custom-faq .accordion-body {
        padding: 0 18px 18px;
        font-size: 14px;
    }
    .offer-card {
        padding: 18px;
    }
    .offer-card::before {
        top: -10px;
        right: 15px;
        font-size: 10px;
    }
}

html[lang="ar"] .custom-faq {
    direction: rtl;
}

html[lang="ar"] .custom-faq .accordion-button {
    text-align: right;
    padding: 20px 24px 20px 65px;
}

html[lang="ar"] .custom-faq .accordion-button::before {
    left: 18px;
    right: auto;
}

html[lang="ar"] .custom-faq .accordion-body {
    text-align: right;
}

html[lang="ar"] .custom-faq .accordion-body ul {
    padding-right: 20px;
    padding-left: 0;
}

html[lang="ar"]
    .custom-faq
    .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-right: 5px solid var(--primary-green);
    border-left: 1px solid #d8dee6;
}

@media (max-width: 768px) {
    html[lang="ar"] .custom-faq .accordion-button {
        padding: 16px 18px 16px 55px;
    }

    html[lang="ar"] .custom-faq .accordion-button::before {
        left: 15px;
        right: auto;
    }

    html[lang="ar"] .custom-faq .accordion-body {
        text-align: right;
    }
}
