/* ============================================
   IMPORTS & FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Pre:wght@400..700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --main-color: #585858;
    --dark-hover-color: #444444;
    --hover-color: blue;
    --main-color-2: #bfa6a6;
    --light-bg-color-3: #e6f5fc;
    --border-width: 7px;

    /* Color palette */
    --color-primary: #3656E4;
    --color-accent: #8ab3da;
    --color-accent-dark: #6793be;
    --color-text: #212529;
    --color-text-muted: #555555;
    --color-text-light: #64748b;
    --color-bg-light: #f8f9fa;
    --color-white: #fff;
    --color-black: #000;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;

    /* Typography */
    --font-family-base: Arial, Helvetica, sans-serif;
    --font-family-dosis: "Dosis", sans-serif;
    --font-family-roboto: 'Roboto', Arial, sans-serif;
    --font-family-edu: "Edu AU VIC WA NT Pre", cursive;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-base: 0.3s;
    --transition-slow: 0.5s;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
    text-align: left;
    background-color: var(--color-white);
}

b,
strong {
    color: var(--color-text-muted);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h2,
h3 {
    color: var(--main-color);
    font-size: 2em;
}

h3 {
    font-size: 1.75em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-size: 1em;
    min-width: fit-content;
}

.btn-primary {
    background-color: var(--main-color);
    color: var(--color-white);
    font-weight: 600;
    border-color: var(--main-color);
}

.btn-primary:hover {
    background-color: var(--dark-hover-color) !important;
    color: var(--color-white) !important;
    border-color: var(--main-color) !important;
}

.btn-choose-state {
    background-image: -webkit-linear-gradient(right, #c9c9cb 0%, #f0d1a3 100%);
    color: var(--main-color);
    width: 100px;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px;
}

.btn-choose-state:hover {
    background-image: -webkit-linear-gradient(left, #c9c9cb 0%, #f0d1a3 100%);
    color: var(--color-white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: linear-gradient(to top, var(--color-white), #87b1d9);
    width: 300px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.background-img-mexico {
    width: 300px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.background-img-mexico img {
    height: 100%;
    object-fit: cover;
}

.state-bg.background-img-mexico {
    height: calc(100vh - 110px);
}

.header .logo-box-mexico {
    color: var(--color-black);
    padding: 10px;
    font-family: var(--font-family-dosis);
}

.header .logo-box-mexico.state-name h2 {
    color: var(--color-black);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.header .logo-box-mexico.state-name p {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 2;
}

.header .logo-box-mexico h1 {
    color: var(--color-black);
    font-size: 2.1em;
    text-align: center;
    font-family: sans-serif;
}

.header .logo-box-mexico h1 small {
    font-size: 50%;
}

.header .logo-box-mexico.state-name i {
    color: #bf842d;
}

.header .logo-box-mexico a {
    color: var(--color-black);
    text-decoration: unset;
}

.header nav .navbar-nav {
    padding-left: 40px;
    width: 100%;
}

.header nav .navbar-nav li a {
    color: var(--main-color);
    display: block;
    font-size: 30px;
    padding: 10px;
}

.header nav .navbar-nav li a.active,
.header nav .navbar-nav li:hover a {
    background-color: var(--main-color-2);
    color: var(--main-color);
    padding-left: 30px;
    font-weight: 500;
}

.header nav .navbar-nav li a i {
    font-size: 50px;
    width: 0;
    opacity: 0;
    margin-left: -10px;
    transform: translate(-10px, 10px);
    margin-right: 15px;
}

.header nav .navbar-nav li a.active i,
.header nav .navbar-nav li:hover a i {
    width: fit-content;
    opacity: 1;
}

/* Navbar */
nav.navbar {
    padding: 0;
    width: 102%;
    overflow: visible;
    margin-left: -1%;
    background: var(--color-accent);
}

.custom-nav-wrap {
    max-width: 900px;
    margin: 30px auto;
    padding: 14px;
}

.custom-nav {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -6px 12px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    user-select: none;
}

.nav-item {
    position: relative;
    flex: 1 1 auto;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 15px;
}

.nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    height: 42%;
    width: 2px;
    top: 29%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.45));
    transform: translateX(1px);
    opacity: .7;
    z-index: 2;
    border-radius: 1px;
}

.nav-link {
    /* color: var(--color-black); */
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 13px;
    padding: 3px 20px !important;
    /* background: #282828; */
    border-radius: 10px 0;
}

.nav-link.active,
.nav-link:hover {
    color: #1f2324;
    position: relative;
    z-index: 3;
    background-color: var(--color-white);
    border-radius: 10px 0;
    padding: 3px 5px;
}

.nav-link.active::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 6px;
    height: calc(100% - 12px);
    width: 110%;
    max-width: 220px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f5f6f7, #dfe3e6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
                0 -1px 0 rgba(0, 0, 0, 0.12) inset,
                0 2px 0 rgba(0, 0, 0, 0.12);
    z-index: -1;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* .navbar-nav .nav-link {
    color: var(--color-white) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--color-black) !important;
} */

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: var(--main-color);
    color: var(--color-white);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
nav.navbar.nav-neo {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b7cff0 60%, #eaf2ff 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
    backdrop-filter: saturate(140%) blur(6px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    position: sticky;
    top: 0;
    z-index: 1030;
}

nav.navbar.nav-neo { position: relative; }

nav.navbar.nav-neo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: .6;
    pointer-events: none;
}

.nav-neo__wrap {
    padding: 10px 14px;
}

.nav-neo__brand {
    color: var(--color-black);
    text-decoration: none;
}

.nav-neo__logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff, #e7eef9);
    box-shadow: 0 2px 6px rgba(0,0,0,.12) inset, 0 1px 2px rgba(0,0,0,.08);
    font-weight: 800;
    color: var(--color-primary);
}

.nav-neo__brand-text {
    font-weight: 700;
    letter-spacing: .3px;
}

.nav-neo__menu .nav-neo__link {
    color: var(--color-black);
    font-weight: 600;
    text-transform: none;
    font-size: .95rem;
    padding: 8px 14px !important;
    border-radius: 10px;
    transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.nav-neo__menu .nav-neo__link:hover,
.nav-neo__menu .nav-neo__link:focus,
.nav-neo__menu .show > .nav-neo__link {
    background: rgba(255,255,255,.9);
    color: #0f172a !important;
    transform: translateY(-1px);
}

.nav-neo__menu .nav-neo__link.active {
    background: rgba(255,255,255,1);
    color: #0f172a !important;
    position: relative;
}

.nav-neo__menu .nav-neo__link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.nav-neo__dropdown {
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(15,23,42,.12);
    border-radius: 12px;
    overflow: hidden;
}

.nav-neo__dropdown .dropdown-item {
    padding: 10px 14px;
    font-weight: 500;
}

.nav-neo__dropdown .dropdown-item:hover {
    background-color: var(--color-accent);
    color: var(--color-black);
}

.nav-neo__toggler {
    border: 0;
    padding: 6px 8px;
}

.nav-neo__toggler:focus {
    box-shadow: none;
}

.nav-neo__toggler-icon {
    width: 22px;
    height: 2px;
    background: var(--color-black);
    position: relative;
    display: inline-block;
}

.nav-neo__toggler-icon::before,
.nav-neo__toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--color-black);
}

.nav-neo__toggler-icon::before { top: -6px; }
.nav-neo__toggler-icon::after { top: 6px; }
.main-content-mexico {
    width: calc(100% - 300px);
    overflow: hidden;
}

.main-content-start {
    width: calc(100% - 600px);
}

.main-content-mexico .note {
    justify-content: space-between;
}

.main-content-mexico .note .chamber-img img {
    width: 150px;
    height: 220px;
}

.main-content-mexico section .section-content {
    background-color: var(--light-bg-color-3);
    border-radius: var(--radius-md);
    padding: 15px;
}

.main-content-mexico section .section-content h3 {
    color: var(--main-color);
}

.main-content-mexico section .section-content small {
    font-size: 0.6em;
    color: var(--color-black);
    font-weight: 400;
}

.main-content-mexico section .section-content small span {
    color: var(--hover-color);
    font-weight: 600;
}

.main-content-mexico section .section-content .table-responsive {
    width: 78%;
}

.main-content-mexico section .section-content table th {
    color: var(--main-color);
    background: transparent;
}

.main-content-mexico section .section-content table td {
    color: var(--color-black);
    background: transparent;
}

.main-content-mexico section .section-content table tbody tr:nth-of-type(odd),
.case-container .case-service table tbody tr:nth-of-type(even) td {
    background-color: var(--main-color-2);
}

.main-content-mexico section .section-content table tfoot td,
.case-container .case-service table tbody tr:nth-last-child(1) td {
    background-color: var(--main-color);
    color: var(--color-white);
}

.main-content-mexico section .section-content .section-hidden-content {
    display: none;
}


.main-content-mexico section .section-content .fee .btn {
    max-width: 210px;
    font-weight: 500;
}

.main-content-mexico .case-end-ques p {
    font-size: 1.5em;
}

/* ============================================
   TABLES
   ============================================ */
section#federal table th {
    font-size: 0.8em;
}

section#federal table td {
    font-size: 0.9em;
}

section#federal table input {
    width: 25px;
    height: 25px;
}

thead tr th {
    background: var(--color-accent) !important;
    color: var(--color-black) !important;
}
.corp-table .fed-flex-table .case-title{
    background: var(--color-accent) !important;
    color: var(--color-black) !important;
}
.personal-document-table {
    font-size: 0.9em;
}

.personal-document-table th {
    font-size: 1.2em;
    font-weight: 400;
}

.personal-document-table td b {
    color: var(--color-text-muted);
}

/* ============================================
   DOCUMENT CONTAINERS
   ============================================ */
.document-container {
    background: var(--color-white);
    height: 450px;
    margin: 3em;
    cursor: pointer;
    border-radius: 28px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    position: relative;
}

.document-container p {
    font-size: 39px;
    color: var(--color-black);
    padding-top: 1em;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.document-container .fingureClick-mexico {
    width: 90px;
    position: absolute;
    right: 14px;
    z-index: 2;
}

.p-docimg-mexico {
    width: 300px;
    position: relative;
    top: 17px;
    margin: auto;
    display: block;
}

.cert-container img {
    width: 280px;
    height: 380px;
    object-fit: unset;
    background: var(--color-white);
    margin-top: 8px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--main-color);
}

.document-page-title {
    font-size: 2rem;
}

.document-case-container .col-lg-7 {
    border-right: 10px solid var(--color-accent);
}

.document-case-container-reverse .col-lg-7 {
    border-left: 10px solid var(--color-accent);
}

/* ============================================
   SLIDE/TRANSITION EFFECTS
   ============================================ */
.notShown {
    position: absolute;
    left: 100%;
    top: 0;
    width: 100%;
    transition: var(--transition-slow);
}

.onShow {
    position: absolute;
    left: 0;
    right: 0;
}

.passed {
    right: 100%;
}

.start-chosse-type-mexico {
    transition: var(--transition-slow);
    position: absolute;
    width: 100%;
}

.slideOutLeft {
    transition: var(--transition-slow);
    width: 100%;
}

.slideOutLeft a {
    font-size: 1.3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    display: block;
    text-align: left;
    cursor: pointer;
    padding-left: 2rem;
}

.slideOutLeft a:hover {
    color: var(--hover-color);
    text-decoration: unset;
}

.slideOutLeft a.btn {
    padding-left: 12px;
}

.slideOutLeft a:hover img {
    border-width: 8px;
    border-color: var(--hover-color);
}

.slideOutLeft a.cert-container {
    margin: 0 auto;
    padding: 0;
}

.slideOutLeft .fee a {
    color: var(--color-white);
    display: inline-block;
    max-width: 135px;
    text-align: center;
    padding-left: 0;

}
.text {
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    padding-left: 20px;
    color: var(--main-color);
}

.text b {
    font-size: 1.1rem;
    color: var(--color-black);
}

.suchAs {
    font-family: var(--font-family-edu);
    font-size: 21px;
    font-weight: 500;
    display: block;
    width: 280px;
    text-align: center;
}

.hideToLeft {
    transform: translate(-100%, 0px);
    transition: 1s;
}

.showToRight {
    transform: translate(0%, 0px);
}

.slide-enter-active {
    transition: transform 1s ease, opacity 1s ease;
}

.slide-enter-from {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-enter-to {
    transform: translateX(0);
    opacity: 1;
}

.slide-leave-active {
    transition: transform .6s ease, opacity .6s ease;
}

.slide-leave-from {
    transform: translateX(0);
    opacity: 1;
}

.slide-leave-to {
    transform: translateX(100%);
    opacity: 0;
}

.slide-clip {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    min-height: 50vh;
}

.slide-clip > * {
    width: 100%;
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes moveUpDown {
    0% {
        top: -60px;
    }
    100% {
        top: 50px;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes animate {
    0% {
        left: 100px;
        top: 0;
    }
    80% {
        left: 0;
        top: 0;
    }
    85% {
        left: 0;
        top: -20px;
        width: 20px;
        height: 20px;
    }
    90% {
        width: 40px;
        height: 15px;
    }
    95% {
        left: 100px;
        top: -20px;
        width: 20px;
        height: 20px;
    }
    100% {
        left: 100px;
        top: 0;
    }
}

.anim-slide-in-left {
    animation: slideInLeft .6s ease-out forwards;
}

.anim-slide-out-right {
    animation: slideOutRight .6s ease-in forwards;
}

#d1 {
    animation: animate 2s linear infinite;
}

#d2 {
    animation: animate 2s linear infinite -.4s;
}

#d3 {
    animation: animate 2s linear infinite -.8s;
}

#d4 {
    animation: animate 2s linear infinite -1.2s;
}

#d5 {
    animation: animate 2s linear infinite -1.6s;
}

/* ============================================
   UPLOAD COMPONENTS
   ============================================ */
.main-content-mexico .upload-box-mexico .pdf-img-mexico {
    width: 102px;
    position: absolute;
    top: -169px;
    display: block;
    box-shadow: 1px 1px 8px;
    background-color: var(--color-white);
    right: 35%;
    animation: moveUpDown 4s linear infinite;
    z-index: 2;
}

.main-content-mexico .upload-box-mexico .submit-div-mexico {
    display: block;
    text-align: center;
    background-color: #6c757d79;
    border: 3px #6c757d;
    border-style: dashed;
    color: #6c757d;
    font-size: 20px;
    border-radius: 20px;
}

.main-content-mexico .upload-box-mexico .upload-content-mexico {
    min-height: 260px;
    padding: 100px 25px;
}

.main-content-mexico .upload-box-mexico .inputs-container-step1 .upload,
.main-content-mexico .upload-box-mexico .inputs-container-step1 .upload .upload-input {
    height: 100%;
}

.main-content-mexico .upload-box-mexico .submit-box-mexico-for-show-mexico .upload-div-mexico .total.inputs-container-step1 {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.main-content-mexico .upload-box-mexico .submit-box-mexico-for-show-mexico .upload-text-mexico {
    width: 100%;
    display: inline-block;
    background-color: var(--main-color);
    color: var(--color-white);
    padding: 7px;
    border-radius: 18px 18px 0 0;
}

.main-content-mexico .upload-box-mexico .uploadedNames {
    position: absolute;
    bottom: 13px;
    width: 100%;
    font-size: 1.2em;
    overflow: hidden;
}

.upload-input {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.uploadedNames tr td {
    min-width: 15px;
    color: var(--color-black);
    text-align: left;
}

/* ============================================
   CASES & QUESTIONNAIRE
   ============================================ */
.case-content {
    min-height: 500px;
    max-width: 100%;
    width: 700px;
}

.case-content .question-div {
    margin: 20px 0;
    font-size: 1.1em;
    font-weight: 500;
}

.case-content .question-div select {
    display: inline-block;
    width: 78px;
    border-color: var(--main-color);
    border-width: 3px;
    color: var(--main-color);
    font-weight: 600;
    font-size: 20px;
    padding-right: 25px;
    margin-left: 10px;
}

.case-content .case-service table thead th {
    background-color: var(--main-color);
    color: var(--color-white);
}

.case-content .case-service table td input {
    width: 25px;
    height: 25px;
}

.questionnaire .card {
    border-radius: var(--radius-lg);
}

.questionnaire .card-title {
    color: var(--color-black);
}

.questionnaire .checklist li {
    font-size: 0.95rem;
    color: #333;
}

/* ============================================
   MODALS & POPUPS
   ============================================ */
.crop-popup .modal-dialog {
    max-width: 100%;
    width: 1000px;
}

.crop-popup table tr td:first-child {
    background-color: #d7f7d7;
    border: 5px solid var(--color-white);
    padding: 3px 10px !important;
    width: 35%;
}

.crop-popup table tr td:nth-child(2) {
    background-color: #f1f1d5e0;
    border: 5px solid var(--color-white);
    padding: 3px 10px !important;
    width: 35%;
}

.crop-popup table tr td:nth-child(3) {
    background-color: #e9bebe;
    border: 5px solid var(--color-white);
    padding: 3px 10px !important;
    width: 30%;
}

.modal-body iframe {
    width: 100%;
    height: 455px;
}

/* ============================================
   CART & ORDER FORMS
   ============================================ */
.cart-contaienr {
    max-width: 1000px;
    margin: auto;
}

.cart-contaienr table {
    font-size: 20px;
}

.cart-contaienr table thead tr th {
    background-color: var(--main-color);
    color: var(--color-white);
}

.cart-contaienr table tbody tr:nth-last-child(1) td {
    background-color: var(--main-color);
    color: var(--color-white);
}

.orderForm-contaienr {
    max-width: 1200px;
    margin: auto;
}

.orderForm-contaienr input,
.orderForm-contaienr select {
    border-color: #999999;
}

#outusa {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.outusa {
    display: none;
}

#tel {
    border-radius: 5px 0 0 5px;
}

#ext {
    border-radius: 0 5px 5px 0;
}

/* ============================================
   SHIPPING & PAYMENT
   ============================================ */
.fedex-type,
.ups-type {
    background-color: #f1f1bc;
    padding: 4px 0;
}

.shipping-inputs {
    font-size: 20px;
}

.shipping-inputs input[type='radio'] {
    border: 2px solid var(--main-color);
    width: 25px;
    height: 25px;
    appearance: none;
}

.shipping-inputs input[type='radio']:checked {
    background-color: var(--main-color-2);
    border: 3px solid var(--main-color);
    background-image: unset;
}

.shipping-inputs input[type='checkbox'] {
    border: 2px solid var(--color-black);
    width: 25px;
    height: 25px;
}

/* Credit Card Styles */
.cardImg .card {
    background-color: var(--main-color);
    border-radius: 1rem;
    font-family: 'Abel', sans-serif;
    color: #47474e;
    width: 100%;
    margin: auto;
    margin-top: 2em;
    background-size: cover;
    height: 275px;
    padding-top: 1px;
}

.cardImg .card_bar {
    background-color: #646464;
    content: "";
    height: 54px;
    margin-top: 17px;
    display: block;
    width: 100%;
}

.cardImg .chipContainer {
    color: var(--color-white);
    display: flex;
    align-items: center;
    margin-top: 11px;
    font-size: 20px;
    font-family: "Abel", sans-serif;
}

.cardImg .chipContainer img {
    width: 78px;
    position: relative;
    margin-left: 28px;
}

.cardImg .chipContainer span {
    display: inline-block;
    margin-left: 12px;
    font-size: 25px;
    font-family: "Poppins", sans-serif;
}

.cvv_card {
    background-color: var(--color-white);
    height: 39px;
    position: relative;
    content: "";
    width: 90%;
    margin: 0 auto;
    background-color: darkgray;
}

.cvv_card span {
    background-color: var(--color-white);
    width: 79px;
    height: 39px;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 25px;
    font-family: monospace;
}

.card__name__input {
    font-size: 25px !important;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.card__number__input {
    font-size: 2rem;
    margin: 0;
}

.card__expiration {
    float: left;
    width: 100%;
    position: relative;
}

.card__expiration p {
    display: inline-block;
    color: var(--color-white);
    font-size: 22px;
}

/* ============================================
   CORPORATE TABLE STYLES
   ============================================ */
.corp-table {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
}

.corp-table table {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.corp-table table td,
.corp-table table th {
    border: 15px solid var(--color-white);
    border-top: 0;
    border-bottom: 0;
}

.corp-table table th {
    font-weight: 400;
    font-size: 23px;
}

.corp-table th.case-a,
.corp-table td.case-a,
.corp-table .case-a-desc {
    background: #f0f5fa;
}

.corp-table th.case-b,
.corp-table td.case-b,
.corp-table .case-b-desc {
    background: #e5eef7;
}

.corp-table th.case-c,
.corp-table td.case-c,
.corp-table .case-c-desc {
    background: #d8e6f3;
}

.casePrice {
    color: #e9a921;
    font-size: 30px;
    -webkit-text-stroke: 0.5px var(--color-black);
}

.casePrice small {
    font-size: 10px;
    color: var(--color-black);
}

.lookAsLabel {
    background: #696088;
    color: var(--color-white);
    max-width: fit-content;
    margin: auto;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lookAsLabel i{
    font-size: 1.8em;
    display: none;
}
.corp-table .case-a {
    background: #f0f5fa;
}
.corp-table .case-b {
    background: #e5eef7;
}
.corp-table .case-c {
    background: #d8e6f3;
}
.fed-flex-table .case-a {
    border-right: 15px solid #fff;
}
.fed-flex-table .case-b {
    border-left: 15px solid #fff;
    border-right: 15px solid #fff;
}
.fed-flex-table .case-c {
    border-left: 15px solid #fff;
}
/* Ensure the description area matches the table cell alignment */

/* .case-a-desc, .case-b-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} */

.corp-table .form-check {
    margin-bottom: 0.5rem;
    text-align: left;
}

.corp-table .form-check-input {
    margin-right: 0.5em;
    accent-color: var(--color-primary);
    border-color: var(--color-black);
}

.corp-table .form-check-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.corp-table .form-check-label:hover {
    color: var(--hover-color);
}

.corp-table .haveQuestion {
    text-decoration: underline;
    cursor: pointer;
}

.corp-table .small {
    font-size: 0.85em;
    color: #666;
}

.checkboxContainer {
    flex: 2;
}

.plusMinsContainer {
    display: none;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-sm);
}

.plusMinsContainer .documentValue {
    width: 30px;
    appearance: none !important;
    padding: 2px;
    text-align: center;
    border-radius: 0;
    font-weight: 600;
    border-width: 0;
}

.plusMinsContainer button {
    background: var(--color-accent);
    border: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-weight: 800;
    align-content: center;
    font-size: 14px;
}

.plusMinsContainer button.plus-btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.plusMinsContainer button:hover {
    background: var(--color-accent-dark);
}

.fedTable td {
    align-content: baseline;
}

/* ============================================
   UTILITIES
   ============================================ */
.disabled {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: grey;
}

.no-state {
    width: calc(100% - 300px);
    text-align: center;
}

.startOrder-mexico {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.calc-fee {
    border: 1px solid var(--color-black);
    padding: 10px;
    width: fit-content;
    margin-top: 20px;
    color: var(--main-color);
    font-weight: 600;
}

.calc-fee p {
    margin-bottom: 0;
}

.listDocumentsFed input {
    border: 1px solid var(--color-black);
    border-radius: 0;
    width: 20px;
    height: 20px;
}

/* ============================================
   DATE CARDS
   ============================================ */
.date.dateCard {
    width: 125px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: auto;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid;
}

.date.dateCard .day {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    text-shadow: none;
}

.date.dateCard .month {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    text-shadow: none;
}

.date.dateCard .num {
    font-weight: 700;
    font-size: 4rem;
    line-height: 1;
}

/* ============================================
   LOADER
   ============================================ */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9;
    display: none;
}

#loader {
    width: 100px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px -50px;
}

#loader div {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
}

/* ============================================
   DOCUMENT CHOOSING COMPONENTS
   ============================================ */
.businessDocumentsChoose {
    padding: 0 35px;
}

.businessDocumentsChoose > div {
    max-width: 500px;
}

.businessDocumentsChoose > div > div {
    border-radius: 30px;
    padding: 10px;
}

.businessDocumentsChoose > div:first-child > div {
    background-color: #aecae530;
}

.businessDocumentsChoose > div:nth-child(2) > div {
    background-color: #aecae552;
}

.businessDocumentsChoose > div:nth-child(3) > div {
    background-color: #aecae57a;
}

.businessDocumentsChoose .pricing {
    font-weight: 700;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 81px;
}

.businessDocumentsChoose .num {
    font-weight: 700;
    font-size: 4rem;
    line-height: 1;
}

.personalDocumentsChoose {
    min-height: 94vh;
}

.personal-case-three,
.personal-case-two,
.personal-case-one {
    max-width: 500px;
}

.personal-case-three > div,
.personal-case-two > div,
.personal-case-one > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 30px;
    padding-top: 20px;
    padding-bottom: 10px;
    height: -webkit-fill-available;
    height: -moz-fill-available;
    height: -o-fill-available;
}

.personal-case-one > div {
    background-color: #f6d57e24;
}

.personal-case-two > div {
    background-color: #d8b34e3d;
}

.personal-case-three > div {
    background-color: #eeca6a85;
}

.personal-case-one a {
    max-width: 334px;
    margin: auto;
    padding: 5px;
}

.personal-case-three a {
    max-width: 300px;
    margin: 0 auto;
    padding: 5px;
}

/* ============================================
   APOSTILLE GUIDE
   ============================================ */
.apostille-guide {
    background: var(--color-white);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e3e3e3;
}

.apostille-guide h1,
.apostille-guide h2,
.apostille-guide h3 {
    font-family: var(--font-family-dosis), var(--font-family-roboto), Arial, sans-serif;
}

.apostille-guide h1 {
    color: var(--color-primary);
    font-size: 2.2rem;
    font-weight: 700;
}

.apostille-guide h2 {
    color: var(--main-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}

.apostille-guide h3 {
    color: #444;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.apostille-guide ul.list-group {
    margin-bottom: 1.5rem;
}

.apostille-guide .list-group-item {
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
    font-size: 1rem;
    color: #333;
}

.apostille-guide address {
    font-style: normal;
    font-size: 1rem;
    color: #333;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
}

.apostille-guide .lead {
    font-size: 1.15rem;
    color: #444;
}

.apostille-guide .fst-italic {
    color: #888;
}

/* ============================================
   PERSONAL SINGLE DOCUMENT STYLES
   ============================================ */
.personal-single-document {
    font-family: sans-serif;
    color: #1e293b;
    background: none;
}

.personal-single-document__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 0 auto 32px auto;
    font-family: sans-serif;
}

.personal-single-document__columns {
    display: flex;
    gap: 40px;
    width: 100%;
}

.personal-single-document__column {
    flex: 1;
    padding: 20px;
    min-width: 320px;
}

.personal-single-document__column:first-of-type {
    border-right: 1px solid var(--color-black);
}

.personal-single-document__card {
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 4px 32px rgba(15, 23, 42, 0.08);
    padding: 32px 24px;
    margin: 0 auto 32px auto;
}

.personal-single-document__hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: center;
}

.personal-single-document__h1 {
    color: var(--main-color);
    font-size: 2rem;
    margin-bottom: 25px;
    font-family: sans-serif;
    font-weight: 700;
}

.personal-single-document__h2 {
    color: var(--main-color);
    font-size: 1.3em;
    border-left: 4px solid var(--hover-color);
    padding-left: 10px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-family: sans-serif;
    font-weight: 600;
}

.personal-single-document__h3 {
    color: #004b91;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-family: sans-serif;
    font-weight: 600;
}

.personal-single-document__h4 {
    color: var(--main-color);
    margin-bottom: 15px;
    font-size: 1.1em;
    font-family: sans-serif;
    font-weight: 600;
}

.personal-single-document__p {
    color: #333;
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.7;
}

.personal-single-document__ul {
    margin: 10px 0 20px 20px;
    color: #333;
    font-size: 1em;
}

.personal-single-document__ul li {
    margin-bottom: 8px;
}

.personal-single-document ol {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.personal-single-document ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
}

.personal-single-document li {
    margin-bottom: 0.5rem;
}

.personal-single-document__lead {
    color: var(--color-text-light);
    margin: 0 0 18px;
    font-size: 1.1rem;
}

.personal-single-document__highlight {
    font-weight: bold;
    color: var(--hover-color);
}

.personal-single-document__tip {
    background-color: var(--light-bg-color-3);
    border-left: 4px solid var(--hover-color);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    color: #003366;
    font-size: 1em;
}

.personal-single-document__formbox {
    background: #f5f9ff;
    border: 1px solid #cce0ff;
    border-radius: var(--radius-lg);
    padding: 0px 18px;
    margin-top: 0px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.personal-single-document__box {
    background: var(--color-bg-light);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.personal-single-document__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 1em;
}

.personal-single-document__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b0c8e2;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-size: 1em;
    font-family: sans-serif;
    transition: border-color var(--transition-base);
    color: var(--color-text);
    background: var(--color-white);
}

.personal-single-document__input:focus {
    border-color: var(--hover-color);
    outline: none;
}

.personal-single-document__btn {
    background-color: var(--hover-color);
    color: var(--color-white);
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius-md);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    margin-top: 8px;
}

.personal-single-document__btn:hover {
    background-color: var(--main-color);
}

.personal-single-document__cta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.personal-single-document__ghost {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--color-text-light);
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.personal-single-document__ghost:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.personal-single-document__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.personal-single-document__feat {
    background: var(--color-bg-light);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.personal-single-document__muted {
    color: var(--color-text-light);
    font-size: 14px;
}

.personal-single-document__steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.personal-single-document__step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.personal-single-document__num {
    background: #e0e7ef;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.personal-single-document__price {
    background: #f1f5f9;
    padding: 18px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.personal-single-document__big {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.personal-single-document__sub {
    color: var(--color-text-light);
    font-size: 14px;
    margin-top: 6px;
}

.personal-single-document__why {
    background: var(--color-bg-light);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.personal-single-document__faq h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.1rem;
}

.personal-single-document__faq p {
    margin-bottom: 10px;
}

.personal-single-document__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.personal-single-document__footer {
    margin-top: 24px;
    color: var(--color-text-light);
    font-size: 13px;
    text-align: center;
}

.personal-single-document .badge {
    display: inline-block;
    background: #eef6ff;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.personal-single-document .text-muted,
.personal-single-document .muted {
    color: #6b7280 !important;
    font-size: 0.97rem;
}

.personal-single-document .btn-primary {
    background: var(--hover-color, #0f62fe);
    border: none;
}

.personal-single-document .btn-outline-primary {
    border-color: var(--hover-color, #0f62fe);
    color: var(--hover-color, #0f62fe);
}

.personal-single-document .btn-outline-primary:hover {
    background: var(--hover-color, #0f62fe);
    color: var(--color-white);
}

.personal-single-document .bg-light {
    background: var(--color-bg-light) !important;
}

.personal-single-document .bg-white {
    background: var(--color-white) !important;
}

.personal-single-document .rounded-3 {
    border-radius: 0.75rem !important;
}

.personal-single-document .rounded-4 {
    border-radius: 1rem !important;
}

.personal-single-document .shadow-sm {
    box-shadow: 0 6px 20px rgba(11, 18, 32, .06) !important;
}

.personal-single-document .gap-2 {
    gap: 0.5rem !important;
}

.personal-single-document .gap-3 {
    gap: 1rem !important;
}

/* ============================================
   PDF STATE STYLES
   ============================================ */
.pdf-state #pdfContainer {
    max-width: 900px;
    margin: 20px auto;
    overflow: hidden;
    overflow-y: auto;
    border: 2px solid var(--color-black);
    background-color: #eee;
}

.pdf-state .pageWrapper {
    position: relative;
    margin-bottom: 24px;
    background: #eee;
}

.pdf-state canvas {
    display: block;
    width: 100%;
    height: auto;
}

.pdf-state .overlays {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.pdf-state .field-box {
    position: absolute;
    border: 2px solid var(--color-black);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: auto;
    font-size: 12px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pdf-state .field-input {
    position: absolute;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    padding: 0 4px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* ============================================
   DOCUMENT CONTENT
   ============================================ */
.personal-document-content h2 {
    font-size: 1.1em;
    color: var(--color-black);
    background: var(--color-accent);
    padding: 12px;
    font-weight: 400;
    text-align: center;
}

.personal-document-content h5 {
    color: var(--color-black);
}

.state-img img {
    cursor: pointer;
    transition: var(--transition-base);
}

.state-img:hover img {
    transform: scale(1.05);
    box-shadow: 1px 1px 20px;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media screen and (min-width: 2200px) {
    body {
        font-size: 1.3rem;
    }

    .main-content-mexico {
        width: calc(100% - 400px);
    }

    .header {
        width: 400px;
    }

    .background-img-mexico {
        width: 400px;
    }

    .main-content-start {
        width: calc(100% - 800px);
    }

    .case-content .case-service table thead th,
    .case-content .case-service table td {
        font-size: 1rem;
    }

    .case-content .case-service {
        max-width: 1000px !important;
    }

    .logo-box-mexico.state-name p {
        text-align: center;
    }

    .case-content {
        width: 1000px;
    }

    .no-state {
        width: calc(100% - 500px);
    }
}


@media (max-width: 1850px) {
    .slideOutLeft a{
        padding: 0;
    }
    .businessDocumentsChoose {
        padding: 0;
    }
    .text{
        padding: 0;
    }
    .cert-container img {
        width: 220px;
        height: 300px;
    }
    .businessDocumentsChoose .pricing{
        margin-bottom: 0;
    }
    h1{
        font-size: 2rem;
    }
    .case-a span:first-of-type, .case-b span:first-of-type, .case-c span:first-of-type{
        font-size: 20px;
    }
    .casePrice{
        font-size: 25px;
    }
    .corp-table table th {
        font-weight: 400;
        font-size: 18px;
    }
    .corp-table .small {
        font-size: 0.75em !important;
    }
    .main-corp-content{
        width: 70%;
    }
    .corp-price-container{
        width: 30%;
    }
}
@media screen and (max-width: 1650px) {
    .onShow{
        position: relative;
    }
    .personalDocumentsChoose h4{
        font-size: 1.3rem;
    }
    .personalDocumentsChoose a.document-text{
        font-size: 1em;
        padding-left: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 1600px) {
    .main-corp-content{
        width: 100%;
    }
    .corp-price-container{
        width: 100%;
        display: none;
    }
    /* .main-corp-content .fs-4 {
        font-size: 18px !important;
    }
    .main-corp-content .casePrice {
        font-size: 18px;
    } */
}
@media (max-width: 1550px) {
    .cert-container img {
        width: 150px;
        height: 200px;
    }
    .businessDocumentsChoose .pricing{
        font-size: 2.5rem;
        text-align: center;
    }
    .nextToDocImg {
        margin-top: 0 !important;
    }
    .date.dateCard {
        width: 100px;
    }
    .date.dateCard p{
        margin-bottom: 0.5rem;
    }
    .date.dateCard .num{
        font-size: 2rem;
    }

}

@media (max-width: 1500px) {
    body{
        font-size: 0.9rem;
    }
    h1 {
        font-size: 2em;
    }
    .navbar-nav .nav-link{
        font-size: 0.8em;
        white-space: wrap;
    }
    .btn-choose-state{
        font-size: 1em;
        width: 80px;
        margin: 10px 15px;
    }
    .header, .background-img-mexico{
        width: 250px;
    }
    .header .logo-box-mexico h1{
        font-size: 1.8em;
    }
    .main-content-mexico{
        width: calc(100% - 250px);
    }
    .main-content-start{
        width: calc(100% - 500px);
    }
    .slideOutLeft a {
        font-size: 1.1rem;
    }
    .text ul li{
        font-size: 15px;
    }
}

@media (max-width: 1350px) {
    .slideOutLeft a {
        font-size: 1rem;
    }
}
@media (max-width: 1250px) {
    body{
        font-size: 0.8rem;
    }
    .header, .background-img-mexico{
        width: 180px;
    }
    .header .logo-box-mexico h1{
        font-size: 1.5em;
    }
    .main-content-mexico{
        width: calc(100% - 180px);
        padding: 0;
    }
    .main-content-start{
        width: calc(100% - 360px);
        padding: 0;
    }
    h2, h3{
        font-size: 1.6em;
    }
}
@media (max-width: 1200px) {
    .header{
        display: none;
    }
    .main-content-mexico{
        width: 100%;
        padding: 0;
    }
    .main-content-start{
        width: 100%;
        padding: 0;
    }
}
@media (max-width: 991px) {
    nav.navbar .container-fluid{
        flex-direction: row-reverse;
    }
    ul.navbar-nav.align-items-center{
        background-color: #282828;
        line-height: 4;
        width: 100%;
        margin-top: 14px;
        font-size: 1.2em;
        width: 104.2%;
        margin-left: -12px;
    }
    .header:nth-last-child{
        display: none;
    }
    .personalDocumentsChoose .col-lg-4, .businessDocumentsChoose .col-lg-4{
        margin: 10px auto;
    }
    /* .main-content-start{
        width: calc(100% - 180px);
    } */
    .document-case-container .col-lg-5{
        display: none;
    }
    .slide-clip{
        min-height: auto;
    }
}
@media (max-width: 900px) {
    .personal-single-document__container {
        flex-direction: column;
        border-radius: 10px;
    }

    .personal-single-document__columns {
        flex-direction: column;
        gap: 0;
    }

    .personal-single-document__column {
        padding: 25px 12px;
    }
}

@media (max-width: 880px) {
    .personal-single-document__hero {
        grid-template-columns: 1fr;
    }

    .personal-single-document__features {
        grid-template-columns: repeat(2, 1fr);
    }
    .fs-4 {
        font-size: 20px !important;
    }
    .casePrice {
        font-size: 20px;
    }
    .fs-4 > span {
        font-size: 22px !important;
    }
}

@media (max-width: 767px) {
    .apostille-guide {
        padding: 1.2rem 0.7rem;
    }

    .apostille-guide h1 {
        font-size: 1.3rem;
    }

    .apostille-guide h2 {
        font-size: 1.1rem;
    }

    .apostille-guide h3 {
        font-size: 1rem;
    }

    /* .case-a > div > div:last-child, .case-b > div > div:last-child, .case-c > div > div:last-child{
        display: none;
    } */
    /* .casePrice{
        display: none;
    } */
    .corp-table table{
        width: 105%;
        margin-left: -2.5%;
        min-width: 660px;
    }
    .corp-table table.fedTable {
        min-width: 500px;
    }
    .document-case-container{
        margin: 0;        
    }
    .fed-flex-table .case-b {
        border: 0px;
    }
    .fed-flex-table .case-container {
        border: 0px;
    }
    .lookAsLabel i{
        display: block;
    }
    .case-content-select{
        display: none;
    }
}
@media (max-width: 640px) {
    .nav-link {
        font-size: 12px;
        padding: 6px 8px;
    }

    .nav-item:not(:last-child)::after {
        height: 32%;
        top: 34%;
    }

    .nav-link.active::before {
        max-width: 160px;
        width: 95%;
    }
    .header{
        display: none;
    }
    .main-content-start, .main-content-mexico{
        width: 100%;
    }
    .row{
        margin: 0;
    }
    .doctyp-tbl{
        font-size: 0.7rem;
    }
}

@media (max-width: 520px) {
    .personal-single-document__features {
        grid-template-columns: 1fr;
    }

    .personal-single-document__card {
        padding: 16px 4px;
    }
    .document-container{
        max-width: 320px;
        max-height: 350px;
    }
    .document-container p{
        font-size: 20px;
    }
}


