/* ==========================================================================
   Homepage Hero Banner — simple static layout (v2)
   Text sits inside the .container, aligned left and vertically centered.
   No absolute positioning on the panel. Fully responsive.
   ========================================================================== */

.banner_home.banner_home--v2 {
    position: relative;
    height: 430px !important;
    background: url('../images/comman_banner_blog.webp') center center / cover no-repeat;
    padding: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Dark overlay so text stays readable over any image */
.banner_home.banner_home--v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 43, 86, 0.55) 0%, rgba(11, 43, 86, 0.25) 55%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* The .container acts as the flex row that vertically centers the panel */
.banner_home--v2 .container {
    /* position: relative; */
    z-index: 2;
    display: flex;
    align-items: center;      /* vertical middle */
    justify-content: flex-start; /* left aligned */
    /* width: 100%;
    min-height: 460px;
    padding-top: 40px;
    padding-bottom: 40px; */
}

/* Tiny dot pattern top-left of the container */
.banner_home--v2 .banner-dots {
    position: absolute;
    top: 26px;
    left: 15px;
    width: 70px;
    height: 60px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1.5px, transparent 2px);
    background-size: 10px 10px;
    z-index: 3;
    pointer-events: none;
}

/* Stylized plane doodle with dotted trail (light stroke for dark bg) */
.banner_home--v2 .banner-plane {
    position: absolute;
    top: 40px;
    left: 45%;
    width: 130px;
    height: 30px;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 30' fill='none'><path d='M2 22 C 40 22, 70 12, 100 8' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-dasharray='3 5' opacity='0.7'/><path d='M120 4 l16 6 -12 2 -3 8 -3 -7 -8 -1 z' fill='white' opacity='0.85'/></svg>");
}

/* ---------- Text panel (static, inside container) ---------- */
.banner_home--v2 .hero_panel {
    max-width: 560px;
    width: 100%;
    padding: 0;
    background: transparent;
    color: #fff;
}

/* Reset the inherited height / big top padding from the original .hero_banner rule */
.banner_home--v2 .hero_banner {
    height: auto;
    display: block;
    padding: 0;
    width: 100%;
}

.banner_home--v2 .hero_banner h4 {
    font-family: 'Poppins', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 12px;
    padding: 0;
    letter-spacing: 0.2px;
}

.banner_home--v2 .hero_banner h2 {
    font-size: 46px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 22px;
    text-transform: uppercase;
    padding: 0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.banner_home--v2 .hero_banner h2 .hero-accent {
    color: #ffffff;               /* warm yellow to pop */
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

/* Yellow underline under "& SAVE" */
.banner_home--v2 .hero_banner h2 .hero-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 4px;
    border-radius: 2px;
    background: #ff5e1a;
    opacity: 0.9;
}

.banner_home--v2 .hero_banner p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 6px 0 0;
    max-width: 520px;
    position: static;
    bottom: auto;
    padding: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.banner_home--v2 .hero_banner p strong {
    color: #ffffff;
    font-weight: 600;
}

/* ---------- Responsive ---------- */
/* Ensure the banner stays visible on tablet/mobile (overrides mobile_design.css) */
@media (max-width: 991px) {
    #myList .banner_home.banner_home--v2 {
        display: flex !important;
        min-height: 380px;
        background-position: 65% center;
    }
    .banner_home.banner_home--v2::before {
        background: linear-gradient(180deg, rgba(11, 43, 86, 0.55) 0%, rgba(11, 43, 86, 0.45) 100%);
    }
    .banner_home--v2 .container {
        min-height: 380px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .banner_home--v2 .hero_panel {
        max-width: 100%;
    }
    .banner_home--v2 .hero_banner h2 {
        font-size: 36px;
    }
    .banner_home--v2 .banner-plane {
        display: none;
    }
    .banner_home--v2 .banner-dots {
        opacity: 0.5;
    }
}

@media (max-width: 575px) {
    #myList .banner_home.banner_home--v2 {
              height: 285px !important;
        min-height: auto;
    }
    .banner_home--v2 .container {
        min-height: 320px;
    }
    .banner_home--v2 .hero_banner h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .banner_home--v2 .hero_banner h2 {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    .banner_home--v2 .hero_banner p {
        font-size: 14px;
    }
    .banner_home--v2 .banner-dots {
        top: 16px;
        width: 50px;
        height: 40px;
    }
}


/* ==========================================================================
   Why Choose Us — v2 (4 cards, 2x2 grid)
   ========================================================================== */
.why_choice_us--v2 .feature_text {
    margin-bottom: 30px;
    text-align: center;
}

.why_choice_us--v2 .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -12px;
}

.why_choice_us--v2 .row > [class*="col-"] {
    padding: 0 12px;
    margin-bottom: 24px;
    display: flex;
}

.why_choice_us--v2 .design_icon_box {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 10px 24px rgba(22, 55, 98, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 0;
}

.why_choice_us--v2 .design_icon_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(22, 55, 98, 0.12);
}

/* Icon chip — replace the sprite with a clean SVG per card so all 4 look consistent */
.why_choice_us--v2 .design_icon_box .icon_box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7a3d 0%, #ff5e1a 100%);
    box-shadow: 0 10px 22px rgba(255, 94, 26, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    margin-bottom: 0;
}

.why_choice_us--v2 .design_icon_box .icon_box i {
    background: none !important;
    width: 30px;
    height: 30px;
    transform: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
}

/* Individual SVG icons per card (white line-art on the orange chip) */
.why_choice_us--v2 .wc-card-1 .icon_box i {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20h9'/><path d='M16.5 3.5a2.12 2.12 0 013 3L7 19l-4 1 1-4 12.5-12.5z'/></svg>") !important;
}
.why_choice_us--v2 .wc-card-2 .icon_box i {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 18v-6a9 9 0 0 1 18 0v6'/><path d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/></svg>") !important;
}
.why_choice_us--v2 .wc-card-3 .icon_box i {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='20' x2='18' y2='10'/><line x1='12' y1='20' x2='12' y2='4'/><line x1='6' y1='20' x2='6' y2='14'/></svg>") !important;
}
.why_choice_us--v2 .wc-card-4 .icon_box i {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.59 13.41L13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/><circle cx='7' cy='7' r='1' fill='white' stroke='none'/></svg>") !important;
}

.why_choice_us--v2 .design_icon_box .content_box {
    text-align: left;
    flex: 1;
}

.why_choice_us--v2 .design_icon_box .content_box h3 {
    color: #163762;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.why_choice_us--v2 .design_icon_box .content_box p {
    color: #55607a;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    float: none;
    width: auto;
}

/* Responsive */
@media (max-width: 767px) {
    .why_choice_us--v2 .design_icon_box {
        padding: 22px 20px;
        gap: 14px;
    }
    .why_choice_us--v2 .design_icon_box .icon_box {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 12px;
    }
    .why_choice_us--v2 .design_icon_box .icon_box i {
        width: 26px;
        height: 26px;
    }
    .why_choice_us--v2 .design_icon_box .content_box h3 {
        font-size: 17px;
    }
}
