@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Sora", serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
textarea,
label,
select,
input {
    border: none;
    outline: none;
    background: transparent;
}
.toggleSwitch,
textarea {
    resize: none;
    border: 1px solid var(--border2);
}
.select select,
input {
    border-radius: 6px;
    height: 42px;
    border: 1px solid var(--border2);
}
button {
    border: none;
    outline: none;
    background: none;
}
.primary-btn{
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.primary-btn:hover{
    background: var(--primarydark);
}
.secondary-btn{
    padding: 12px 24px;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--outline);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.secondary-btn:hover{
    background: var(--on-hover);
    border-color: var(--primary);
}
:root {
    --primary: #d50001;
    --primarydark: #b10203;
    --secondary: #ffd8a9;
    --text: #2b2b2b;
    --text-secondary: #757575;
    --light-background: #2b2b2b10;
    --accent: #f1a661;
    --outline: #dce0e0;
    --border-radius: 12px;
    --container-width: 1340px;
    --dark-gray: #222222;
    --white: #ffffff;
    --light-border: #f1f1f1;
    --border: #ddd;
    --on-hover: #f5f5f5;
    --header-border: #cacaca;
    --blue: #195afc;
    --border2: #989898;
    --light-text: #5f5f5f;
    --success: #16a34a;
    --success-light: #d1fae5;
    --success-dark: #065f46;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-dark: #92400e;
    --danger: #e74c3c;
    --danger-light: #fee2e2;
    --danger-dark: #991b1b;
    --info: #195afc;
    --info-light: #dbeafe;
    --info-dark: #1e40af;
    --primary-08: rgba(213, 0, 1, 0.08);
    --primary-12: rgba(213, 0, 1, 0.12);
    --primary-20: rgba(213, 0, 1, 0.2);
    --radius-pill: 20px;
    --radius-lg: 16px;
    --radius-md: 14px;
    --radius-base: 10px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --radius-circle: 50%;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.24);
    --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-footer: 0 -5px 22px rgba(0, 0, 0, 0.08);
}
.jag-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: "Sora", sans-serif;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}
.jag-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.jag-btn:active { transform: translateY(1px); }
.jag-btn i { font-size: 0.95rem; }
.jag-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.jag-btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.jag-btn-primary:hover { background: var(--primarydark); border-color: var(--primarydark); }

.jag-btn-secondary {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
}
.jag-btn-secondary:hover { background: var(--on-hover); }

.jag-btn-success { background: var(--success); color: var(--white); }
.jag-btn-success:hover { background: var(--success-dark); }

.jag-btn-ghost { background: transparent; color: var(--text-secondary); }
.jag-btn-ghost:hover { background: var(--on-hover); }

.jag-btn-danger { background: var(--danger); color: var(--white); }
.jag-btn-danger:hover { background: var(--danger-dark); }

/* dark / light contextual variants (used on dark hero backgrounds) */
.jag-btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.jag-btn-light:hover { background: rgba(255,255,255,0.92); color: var(--primarydark); }

.jag-btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.32);
}
.jag-btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.jag-btn-ghost-dark {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.18);
}
.jag-btn-ghost-dark:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.32); }

.jag-btn-outline {
    background: transparent;
    color: var(--dark-gray);
    border-color: var(--border);
}
.jag-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.jag-btn-sm  { padding: 8px 14px;  font-size: 0.8rem; }
.jag-btn-lg  { padding: 13px 24px; font-size: 0.95rem; }

.jag-section {
    background: var(--white);
    border: 1px solid var(--border2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.jag-section-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}
.jag-section-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.jag-section-icon i { font-size: 14px; color: var(--white); }

.jag-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.2;
}
.jag-section-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 2px;
}
.jag-section-body { padding: 20px; }

.jag-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-08);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary-20);
    line-height: 1.0;
}
.jag-eyebrow--on-dark {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
}

.jag-field { margin-bottom: 16px; min-width: 0; }
.jag-label {
    display: block;
    font-size: 0.855rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
}
.jag-req { color: var(--primary); }
.jag-optional {
    color: var(--light-text);
    font-weight: 400;
    font-size: 0.78rem;
    margin-left: 4px;
}

.jag-input,
.jag-select,
.jag-textarea {
    width: 100%;
    padding: 10px 13px;
    font-size: 0.875rem;
    font-family: "Sora", sans-serif;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.jag-input:focus,
.jag-select:focus,
.jag-textarea:focus,
.jag-input:focus-visible,
.jag-select:focus-visible,
.jag-textarea:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-12);
}
.jag-input::placeholder,
.jag-textarea::placeholder { color: var(--text-secondary); opacity: 0.6; }
.jag-select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23757575" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
}
.jag-textarea { resize: vertical; min-height: 130px; }

.jag-help {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}
.jag-err-msg {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 4px;
    line-height: 1.4;
    display: none;
}
.jag-field.has-error .jag-input,
.jag-field.has-error .jag-select,
.jag-field.has-error .jag-textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px var(--danger-light);
}
.jag-field.has-success .jag-input,
.jag-field.has-success .jag-select,
.jag-field.has-success .jag-textarea {
    border-color: var(--success);
}
.jag-field.has-error .jag-err-msg { display: block; }

.jag-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jag-g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.jag-g4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 768px) {
    .jag-g2, .jag-g3, .jag-g4 { grid-template-columns: 1fr; }
}

.jag-page-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.3;
    text-align: center;
}
.jag-page-sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 6px;
    line-height: 1.55;
}

/* visually-hidden helper (used by labels) */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .jag-btn,
    .jag-input, .jag-select, .jag-textarea,
    .jag-section { transition-duration: 0.01ms !important; }
}

/* body {
    background: #f4f5f6;
} */
::selection {
    background-color: #e3152b80;
    color: var(--white);
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: var(--text);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--light-text);
}

html {
    scroll-behavior: smooth;
}
.asterisk {
    font-size: 16px;
    color: var(--primary);
    padding: 0 0 0 2px;
}
.container {
    padding: 0 3%;
    margin: 0 auto;
    width: 100%;
}
.main-hero {
    /*background-image: url(/assets/main-hero.webp);*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    min-height: 600px;
    position: relative;
}
.main-hero-overlay {
    position: absolute;
    top: 0;
    z-index: 10;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.05));
}
.hero-text {
    padding: 190px 0;
}
.hero-text h1 {
    font-size: 56px;
    line-height: 1.2em;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    padding-left: 8px;
}
.hero-text h2 {
    color: var(--white);
    font-weight: 400;
    padding: 0 0 30px 8px;
}
.hero-text h2 strong {
    text-decoration: underline;
}
.hero-text ul {
    display: flex;
    gap: 16px;
    padding: 0 0 0 16px;
    margin: 0 0 10px 0;
}
.hero-text ul li a {
    position: relative;
    color: var(--white);
    font-size: 14px;
    line-height: 50px;
    font-weight: 500;
    transition: 0.3s;
}
.hero-text ul li a:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -7px;
    left: 0;
    background-color: #ebc45a;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.hero-text ul li a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.hero-search-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #f3f8fc;
    height: 50px;
    width: 42%;
    border-radius: 25px;
    border: 1px solid var(--border2);
    padding: 4px 4px 4px 10px;
    margin: 0 0 0 10px;
}
.hero-search-box input {
    width: 88%;
    font-size: 16px;
    font-weight: 500;
    height: 100%;
    border: none;
}
.hero-search-box i:last-child {
    height: 100%;
    background: var(--text);
    border-radius: 50%;
    color: var(--white);
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    padding: 12px;
    transition: 0.5s ease;
}
.fa-location-icon {
    font-size: 16px;
    color: var(--text);
}
.property-cards {
    padding: 30px 0;
    background: var(--light-background);
}
.property-card-heading {
    display: flex;
    justify-content: space-between;
}
.property-cards {
    padding: 40px 0;
}
.famous-city .city-headings h1,
.property-card-heading h1 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text);
}
.famous-city .city-headings h2,
.property-card-heading h2 {
    font-size: 14px;
    line-height: 30px;
    font-weight: 400;
    color: var(--light-text);
}
.item {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    height: 350px;
    flex: 0 0 calc(25% - 23px);
    transition: 0.5s;
    scroll-snap-align: start;
    box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
}
.item .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.image-icon {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-content: space-between;
    height: 100%;
}
.image-icon li {
    background-color: #e3152b;
    color: var(--white);
    width: 90px;
    border-radius: var(--border-radius);
    padding: 3px 5px;
    font-size: 13px;
    text-align: center;
    margin: 7px 0 38px 7px;
}
.image-icon li i {
    padding-right: 5px;
    font-size: 13px;
}
.image-icon img {
    height: 25px;
    margin: 7px 7px 0 15px;
    overflow: hidden;
}
.image-icon p {
    background: #726e6d;
    font-size: 11px;
    color: var(--white);
    font-weight: 300;
    text-align: center;
    padding: 3px 8px;
    border-radius: 0 8px 0 8px;
    margin-top: 25px;
}
.image-icon a {
    background: var(--white);
    color: #2b2b2b;
    border: 0.5px solid #2b2b2b;
    margin: 0 7px 7px 0;
    text-align: center;
    height: 40px;
    width: 40px;
    border-radius: var(--border-radius);
    line-height: 40px;
    font-size: 21px;
}
.item-img {
    border-radius: 0 0 7px 7px;
    position: relative;
    height: 50%;
    overflow: hidden;
}
.item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}
.content ul li i {
    font-weight: 500;
    color: var(--text);
}
.content-inner {
    height: 80%;
}
.content-card-footer {
    height: 20%;
}
.image-icon a {
    position: relative;
    z-index: 3;
    pointer-events: auto; /* Keep inner links clickable */
}
.content {
    display: flex;
    gap: 6px;
    flex-direction: column;
    padding: 10px;
    height: 50%;
    background: var(--white);
}

.content .content-inner {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
}
.closed,
.pending,
.rented,
.sold,
.under-contract,
.for-rent,
.for-sale {
    display: flex;
    align-items: center;
}
.dotted {
    background: var(--clr);
    border-radius: 50%;
    height: 12px;
    width: 12px;
    margin-right: 4px;
    display: block;
}
.closed,
.pending,
.rented,
.sold,
.under-contract,
.for-rent,
.for-sale p {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: var(--text);
}
.content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}
.content h2 small {
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
}
.content ul {
    display: flex;
    gap: 14px;
    align-items: center;
}
.content ul li span {
    font-size: 14px;
    line-height: 20px;
    color: var(--light-text);
    font-weight: 400;
    padding-left: 6px;
}
.content ul li span strong {
    padding: 0 2px 0 0;
    font-weight: 800;
    color: var(--text);
}
.content h3 {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: var(--light-text);
    word-spacing: 1px;
}
.content h3 i {
    color: var(--text);
    font-size: 15px;
    font-weight: 400;
    padding-right: 5px;
}
.buy-menu-left {
    justify-content: start !important;
}
.content-card-footer {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
    gap: 5px;
    text-align: center;
}
.content-card-footer a {
    border: 0.5px solid var(--text);
    padding: 7px 0;
    border-radius: var(--border-radius);
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    color: var(--white);
    background-color: var(--text);
    transition: 0.5s;
    width: 50%;
}
.content-card-footer a i {
    padding-right: 7px;
}
.card-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}
.cards {
    display: flex;
    margin: 20px 0;
    transition: transform 0.4s ease-in-out;
    gap: 24px; /* Space between cards */
}
.slider-btn {
    background-color: #2b2b2b44;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    transition: 0.5s;
    margin: 0 10px;
    cursor: pointer;
}
.hero-banner-content a:hover,
.content-card-footer a:hover {
    color: var(--text);
    border: 0.5px solid var(--text);
    background-color: var(--white);
}
.slider-btn i {
    font-weight: 400;
    font-size: 16px;
}
.content-card-footer a:nth-child(2) {
    background-color: var(--white);
    color: var(--text);
}
.content-card-footer a:nth-child(2):hover {
    background-color: var(--text);
    color: var(--white);
}
.famous-city {
    padding: 70px 0;
}
.property-masonry {
    gap: 8px;
    column-count: 5;
    padding: 10px 0;
}
.pin {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    margin-bottom: 5px;
    border-radius: 10px;
}
.pin div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 1;
}
.masonry-overlay {
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    transition: all 0.5s ease 0s;
    opacity: 1;
    font-size: 20px;
    padding: 16px;
    height: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.masonry-overlay i {
    color: rgb(255, 255, 255);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: rgb(43, 43, 43);
    font-size: 12px;
    text-align: center;
    line-height: 30px;
    margin-left: 85%;
}
.masonry-overlay div h1 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    line-height: 0;
    margin-bottom: 10px;
}
.masonry-overlay div p {
    color: var(--white);
    font-size: 12px;
    font-weight: 400;
}
.masonry-overlay:hover {
    background: transparent;
}
.pin:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.hero-banner {
    background: var(--light-background);
}
.hero-banner-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.hero-banner-container div h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
}
.hero-banner-container div p {
    font-size: 16px;
    font-weight: 400;
    color: var(--light-text);
    line-height: 24px;
}
.hero-banner-container .hero-banner-image,
.hero-banner-container .hero-banner-content {
    width: 50%;
    height: 400px;
}
.hero-banner-container div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.hero-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.hero-banner-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    height: 100%;
    text-align: left;
}
.hero-banner-content a {
    background-color: var(--text);
    color: var(--white);
    border: 1px solid var(--text);
    border-radius: 20px;
    width: 30%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    transition: 0.5s;
}
.hero-banner-content .hero-search-box {
    margin: 20px 0 0 0;
    width: 70%;
    background: var(--white);
}
.hero-banner-content .hero-search-box input{
    width: 82%;
}
.modal-body form label {
    color: var(--light-text);
}

/* Tooltip Base */
.tooltip {
    position: relative;
    cursor: pointer;
}
.tooltip-box {
    position: absolute;
    background: var(--text);
    color: #fff;
    max-width: 200px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 1060;
}
.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}


@media screen and (max-width: 1000px) {
    .hero-text h2 {
        padding: 0 0 15px 8px;
    }
    .hero-search-box {
        width: 65%;
    }
    .item {
        flex: 0 0 calc(40% - -10px); /* Show 2 cards on tablets */
    }
    .cards {
        gap: 14px;
    }
    .hero-banner-content .hero-search-box {
        width: 100%;
    }
    .hero-banner-content {
        padding: 50px 30px;
    }
    .hero-banner-content a {
        width: 50%;
    }
}
@media screen and (max-width: 600px) {
    .hero-text h1 {
        font-size: 34px;
    }
    .hero-text h2 {
        font-size: 18px;
        padding: 0 0 20px 0;
    }
    .hero-text ul {
        gap: 12px;
        padding: 0;
    }
    .hero-search-box {
        width: 90%;
        margin: 0;
    }
    .slider-btn {
        width: 30px;
        height: 30px;
    }
    .direction {
        display: flex;
        align-items: center;
    }
    .property-card-heading h1 {
        font-size: 18px;
        line-height: 28px;
    }
    .item {
        flex: 0 0 calc(80% - 16px); /* Show 1 card on small screens */
    }
    .property-masonry {
        column-count: 2;
    }
    .hero-banner-container {
        flex-direction: column;
    }
    .hero-banner-container .hero-banner-image,
    .hero-banner-container .hero-banner-content {
        width: 100%;
    }
    .hero-banner-container2 {
        flex-direction: column-reverse;
    }
}
@media screen and (max-width: 380px) {
    .hero-text h1 {
        font-size: 30px;
    }
    .hero-text h2 {
        font-size: 16px;
    }
    .hero-text ul li a {
        font-size: 12px;
    }
    .hero-search-box {
        width: 95%;
    }
    .hero-banner-content {
        padding: 50px 15px;
    }
}
@media screen and (max-width: 380px) {
    .hero-text h1 {
        font-size: 24px;
    }
    .hero-text h2 {
        font-size: 14px;
    }
    .hero-text ul li a {
        font-size: 10px;
    }
    .hero-search-box {
        width: 100%;
    }
    .item {
        flex: 0 0 calc(100% - 16px);
    }
}
