/* Success stories: Owl Carousel with responsive cards. */
#borbou-home .home-stories {
    padding-block: var(--home-section);
    padding-bottom: 0px;
}

#borbou-home .home-stories-heading {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

#borbou-home .home-stories-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #ff0000;
    font-size: 15px;
    font-weight: 600;
}

#borbou-home .home-stories-heading h2 { margin-bottom: 12px; }
#borbou-home .home-stories-heading p { margin: 0; }

#borbou-home .home-stories-track .owl-stage {
    display: flex;
}

#borbou-home .home-stories-track .owl-stage-outer { padding-block: 4px 20px; }
#borbou-home .home-stories-track .owl-item { display: flex; float: none; }

#borbou-home .home-story-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee3dc;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 18px rgb(0 42 58 / 5%);
}

#borbou-home .home-story-photo {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f6e9e1;
    color: #b66d56;
    font-size: 48px;
}

#borbou-home .home-story-photo img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

#borbou-home .home-story-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 30px;
    background: #fff;
    color: #ff0000;
    font-size: 13px;
    box-shadow: 0 2px 10px #0001;
}

#borbou-home .home-story-body { padding: 24px; }
#borbou-home .home-story-body h3 { margin: 0 0 12px; font-size: 22px; }
#borbou-home .home-story-body p {
    margin: 0;
    color: #002a3a;
    font-size: 16px;
    overflow-wrap: anywhere;
}

#borbou-home .home-stories-track {
    position: relative;
}

#borbou-home .home-stories-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    color: #65767b;
    font-size: 14px;
    position: absolute;
    top: 50%;
    z-index: 9;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#borbou-home .home-stories-controls[hidden] { display: none; }
#borbou-home .home-stories-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid;
    border-color: #ff0000;
    border-radius: 50%;
    background: #ff0000;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

#borbou-home .home-stories-controls button:hover:not(:disabled) { background: #ff0000; }
#borbou-home .home-stories-controls button:disabled { opacity: .3; cursor: default; }
#borbou-home .home-stories-controls button:focus-visible,
#borbou-home .home-stories-track:focus-visible { outline: 3px solid #b66d56; outline-offset: 4px; }

@media (max-width: 575px) {
    #borbou-home .home-story-body { padding: 20px; }
}

@font-face {
    font-family: 'Home Bangla';
    src: url('../fonts/Potro-Sans-Bangla/PotroSansBangla-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Home Bangla';
    src: url('../fonts/Potro-Sans-Bangla/PotroSansBangla-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Home Bangla';
    src: url('../fonts/Potro-Sans-Bangla/PotroSansBangla-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* Loaded after the shared styles, only on the /home landing page. */
.borbou-home {
    --main-font: "Noto Sans Bengali", sans-serif;
    --home-ink: #002a3a;
    --home-muted: #002a3a;
    --home-gap: clamp(16px, 2vw, 24px);
    --home-section: clamp(40px, 5vw, 72px);
    --home-shadow: 0 6px 24px rgb(0 42 58 / 6%);
    --line: #e5e8e9;
    --maroon-deep: #002a3a;
    font-family: var(--main-font);
}

.borbou-home .menu-container,
.borbou-home header#header,
.borbou-home .messenger-float {
    display: none !important;
}

#borbou-home {
    color: var(--home-ink);
    font: 400 18px/1.8 var(--main-font);
}

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

#borbou-home :is(h1, h2, h3, p, li, a, .potro) {
    font-family: var(--main-font) !important;
    letter-spacing: normal;
}

#borbou-home :is(h1, h2, h3) {
    color: var(--home-ink);
    text-wrap: balance;
}

#borbou-home h2 {
    font-size: clamp(24px, 2.4vw, 28px);
    line-height: 1.5;
}

#borbou-home h3 {
    font-size: clamp(22px, 2.4vw, 24px);
    line-height: 1.55;
}

#borbou-home p {
    color: var(--home-muted);
    font-size: clamp(18px, 2.4vw, 18px);
    line-height: 1.85;
    font-weight: 500;
}

#borbou-home img {
    max-width: 100%;
}

#borbou-home> :is(section, header)>.container,
#borbou-home .hero-section .container {
    width: calc(100% - 48px);
    max-width: 1200px;
    padding: 0;
    margin-inline: auto;
}

#borbou-home .hero-section {
    height: 400px !important;
    min-height: 0;
    padding: 32px 0 88px;
    overflow: hidden;
    display: block;
}

#borbou-home .hero-section .warraper {
    height: auto;
}

#borbou-home .hero-section .container {
    justify-content: center;
}

#borbou-home .hero-section .row {
    margin: 0;
    width: 100%;
    justify-content: center;
}

#borbou-home .hero-content {
    top: 35px;
    padding: 0;
    width: 100%;
}

#borbou-home .hero-content img {
    width: clamp(200px, 26vw, 340px);
    height: auto;
    margin: 0;
}

#borbou-home .download-banner {
    padding: 32px 0 0;
    text-align: center;
}

#borbou-home .download-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#borbou-home .heart-wrapper {
    position: relative;
    display: grid;
    place-items: center;
    width: 224px;
    height: 200px;
}

#borbou-home .heart-wrapper i {
    font-size: 200px;
    line-height: 1;
    color: #ff0000;
}

#borbou-home .heart-wrapper span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    max-width: 180px;
    font-weight: 500;
}

#borbou-home .download-banner h2 {
    margin: 0;
}

#borbou-home .play-badge {
    overflow: hidden;
    display: block;
    width: clamp(160px, 16vw, 190px);
    max-width: 100%;
    border-radius: 8px;
}

#borbou-home .play-badge img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3.2 / 1;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

#borbou-home .play-badge:focus-visible {
    outline: 3px solid var(--home-ink);
    outline-offset: 5px;
}

#borbou-home :is(.section, .packages, .security-section) {
    padding: var(--home-section) 0 0;
}

#borbou-home :is(.instruction-grid, .package-grid, .security-list) {
    display: grid;
    gap: var(--home-gap);
    margin: 0;
}

#borbou-home .instruction-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#borbou-home :is(.item, .package, .security-item) {
    min-width: 0;
    margin: 0;
    padding: 24px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--home-shadow);
}

#borbou-home .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

#borbou-home .item-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    flex: 0 0 220px;
    padding: 0;
    margin-top: 10px;
}

#borbou-home .item-figure img {
    width: auto;
    height: 220px;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
}

#borbou-home .item-text {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#borbou-home .item-text>span {
    display: grid;
    place-items: center;
    flex: none;
    width: 56px;
    height: 56px;
    margin: 0;
    background: #ffd700;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

#borbou-home .item-text h3 {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 20px);
    line-height: 1.65;
}

#borbou-home .packages {
    text-align: center;
}

#borbou-home .packages>.container>h2 {
    margin: 0 0 28px;
}

#borbou-home .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#borbou-home .package {
    padding: 32px 24px;
}

#borbou-home .package-image {
    height: 160px;
    display: grid;
    place-items: center;
}

#borbou-home .package img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

/* First Package Image */
#borbou-home .package:nth-of-type(1) .package-image img {
  height: 150px;
}

/* Second Package Image (e.g., Highlighted/Popular Package) */
#borbou-home .package:nth-of-type(2) .package-image img {
  height: 150px;
}

/* Third Package Image */
#borbou-home .package:nth-of-type(3) .package-image img {
  height: 140px;
}

#borbou-home .package h3 {
    margin: 12px 0 12px;
}

#borbou-home .package p {
    max-width: 30ch;
    margin: 0 auto;
}

#borbou-home .package p br {
    display: none;
}

#borbou-home .security-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

#borbou-home .security-list>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#borbou-home .security-list>div>h2 {
    margin: 0;
    text-align: center;
    font-size: clamp(24px, 2.4vw, 28px);
}

#borbou-home .security-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 32px;
}

#borbou-home .security-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
    margin-top: 10px;
}
#borbou-home .security-content {
    text-align: center;
}

#borbou-home .security-content h2 {
    font-size: clamp(22px, 2.4vw, 24px);
    line-height: 1.55;
    margin: 0 0 12px;
}

#borbou-home .security-content p {
    margin: 0 auto;
    max-width: 48ch;
}

#borbou-home .hero {
    padding: var(--home-section) 0 0;
    margin: 0;
    background: transparent;
}

#borbou-home :is(#about, #cta) {
    padding: 24px 0 0;
    margin: 0;
}

#borbou-home #cta {
    padding-bottom: var(--home-section);
}

#borbou-home .accordion-section {
    border: 1px solid var(--line);
    border-radius: 16px !important;
    box-shadow: var(--home-shadow) !important;
    padding: 0 28px !important;
    text-align: left !important;
}

#borbou-home> :is(section, header)>.container.accordion-section {
    padding-inline: 28px;
}

#borbou-home .accordion-header span:not(.icon) {
    display: block;
    flex: 1;
}

#borbou-home .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 24px 0;
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
    text-align: center;
}

#borbou-home .accordion-header .icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid var(--home-ink);
    border-radius: 50%;
    position: relative;
}

#borbou-home .accordion-header .icon::before, #borbou-home .accordion-header .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--home-ink);
    width: 12px;
    height: 2px;
}

#borbou-home .accordion-header .icon::after {
    width: 2px;
    height: 12px;
}

#borbou-home .open .accordion-header .icon::after {
    display: none;
}

#borbou-home .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

#borbou-home .accordion-panel-inner {
    padding-bottom: 28px;
}

#borbou-home .accordion-panel-inner :is(p, li) {
    font-size: 18px;
    line-height: 1.85;
    font-weight: 400;
}

#borbou-home .accordion-panel-inner p {
    margin: 0 0 16px;
}

#borbou-home .accordion-panel-inner :is(p, li) {
    text-align: start;
}

#borbou-home .accordion-panel-inner :is(h2, h3) {
    margin: 24px 0 12px;
    font-size: 23px;
}

.borbou-home .footer-area {
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    #borbou-home .instruction-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #borbou-home .package {
        padding: 24px 16px;
    }

    #borbou-home .security-item {
        padding: 24px;
    }

    #borbou-home .security-list>div>h2 {
        min-height: 78px;
        display: grid;
        place-items: center;
    }
}

@media (max-width: 575px) {

    #borbou-home> :is(section, header)>.container,
    #borbou-home .hero-section .container {
        width: calc(100% - 32px);
    }

    #borbou-home .hero-section {
        padding: 24px 0 72px;
        height: 300px !important;
    }

    #borbou-home .download-banner {
        padding-top: 24px;
    }

    #borbou-home :is(#about, #cta) {
        padding: 16px 0 0;
        margin: 0;
    }
    #borbou-home #cta {
        padding-bottom: var(--home-section);
    }

    #borbou-home :is(.instruction-grid, .package-grid, .security-list) {
        grid-template-columns: minmax(0, 1fr);
    }

    #borbou-home .item {
        padding: 24px;
        gap: 20px;
    }

    #borbou-home .item-figure {
        height: 240px;
        flex-basis: 240px;
    }

    #borbou-home .item-figure img {
        height: 240px;
    }

    #borbou-home .item-text {
        gap: 16px;
    }

    #borbou-home .item-text h3 {
        font-size: clamp(22px, 2.4vw, 24px);
    }

    #borbou-home .package {
        padding: 28px 24px;
    }

    #borbou-home .security-list {
        gap: 36px;
    }

    #borbou-home .security-list>div {
        gap: 20px;
    }

    #borbou-home .security-list>div>h2 {
        min-height: 0;
    }

    #borbou-home .security-image {
        height: 250px;
    }

    #borbou-home> :is(section, header)>.container.accordion-section {
        padding-inline: 20px;
    }

    #borbou-home .accordion-header {
        gap: 12px;
        padding-block: 20px;
    }

    #borbou-home .accordion-panel-inner {
        padding-bottom: 20px;
    }

    .hero-content {
        top: 23px !important;
    }

}

@media (prefers-reduced-motion: reduce) {
    #borbou-home .air {
        animation: none !important;
    }

    #borbou-home .accordion-panel {
        transition: none;
    }
}
