:root {
    --ann-bg: #ffffff;
    --ann-text: #0b224c;
    --navy: #0a244a;
    --navy-2: #071f3f;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, .75);
    --ann-border: rgba(0, 0, 0, .088);

    --ann-h: 50px;
    --max: 1200px;
    --border: rgba(255, 255, 255, .18);
    --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

    /* Drawer starts under visible header */
    --header-offset: 0px;
}



.SectionA {
    width: 100%;
    overflow: hidden;

}

.SectionA-image {
    background-image: url('../images/group.jpeg');
    width: 100%;
    height: 79vh;
    background-size: cover;
    background-position: center;

}

.main-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0);
}

.main-box div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0a244a;
    padding: 25px;
}

.SectionA div span {
    font-size: 24px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgb(0, 18, 88);
}

.heading {
    color: white;
    font-size: 12px;
    text-align: center;

}

.shop-now {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: white;
    color: #071f3f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.SectionB {
    margin: 40px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    max-width: 800px;
}

.SectionB-heading {
    font-size: 44px;
    font-weight: 470;
    color: #000000;
}

.SectionB-body {
    font-size: 17px;
    color: #333333;
    line-height: 1.6;
    letter-spacing: 0.06cap;
}

.SectionC {
    background-color: rgb(11, 34, 76);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;

}

.SectionC .InnerC {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    margin: 35px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.12);
}

.SectionC-gif {
    width: 550px;
    height: 350px;
    margin: 0;
    padding: 0;
    background-color: yellow;
}

.SectionC-gif img {
    width: 100%;
    height: 100%;

}

.SectionC-desc-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;

}

.SectionC-desc-box .desc-heading {
    font-size: 28px;
    font-weight: 450;
    text-align: center;
    max-width: 65%;
}

.SectionC-desc-box .desc-body {
    font-size: 18px;
    color: #ffffffd3;
    text-align: center;
    line-height: 30px;
    max-width: 65%;
}



.SectionC-desc-box button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: white;
    color: #071f3f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;


}


/* ===== SectionD ===== */
.SectionD {
    padding: 10px 16px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.SectionD .title {
    font-weight: 700;
    font-size: clamp(20px, 2.6vw, 28px);
    color: var(--text);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.SectionD .description {
    margin-top: 20px;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--text);
    letter-spacing: .2px;
}

/* ===== Slider Card ===== */
.ba-card {
    width: min(820px, 92vw);
    margin: 0 auto;
    background: transparent;
}

.ba-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 7 / 4;
    /* square like screenshot */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
    border: 10px solid rgba(211, 154, 111, .35);
    /* warm frame */
}

.ba-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointing-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* top image clipped by width */
.ba-after {
    clip-path: inset(0 50% 0 0);
    /* will be updated by JS */
}

/* divider line */
.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, .18);
    transform: translateX(-1px);
    pointer-events: none;
}

/* handle */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    display: grid;
    place-items: center;
    pointer-events: none;
    /* drag happens via range input */
}

.ba-handle svg {
    width: 28px;
    height: 28px;
    opacity: .9;
}

/* labels */
.ba-label {
    position: absolute;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .95);
    color: #111;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.ba-label.before {
    left: 12px;
}

.ba-label.after {
    right: 12px;
}

/* range input overlay for dragging */
.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    /* invisible but draggable */
    cursor: ew-resize;
}

/* Accessibility: focus ring when tabbed */
.ba-range:focus-visible {
    outline: 3px solid rgba(11, 34, 76, .35);
    outline-offset: 6px;
}

/* small screens spacing */
@media (max-width: 480px) {
    .SectionD {
        padding: 20px 12px;
    }

    .ba-frame {
        border-width: 8px;
    }

    .ba-handle {
        width: 48px;
        height: 48px;
    }
}





@media (max-width: 768px) {

    .SectionA-image {
        height: 40vh;
    }

    .heading {
        font-size: 18px;

    }

    .main-box div {
        position: absolute;
        top: 450px
    }

    .SectionB {
        margin-top: 200px;
    }

    .SectionC-gif {
        width: 100%;
        height: auto;
    }

    .SectionC-desc-box {
        gap: 20px;
    }

    .SectionC .InnerC {
        margin: 15px;


    }

    .SectionC-desc-box .desc-heading,
    .SectionC-desc-box .desc-body {
        max-width: 90%;
    }
}


/* section E */



.SectionE {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font);
    padding: 40px 16px;
}

.SectionE-wrap {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left image */
.img-E {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-E img {
    width: 80%;
    max-width: 760px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* Right body */
.SectionE-body {
    padding-top: 6px;
}

.e-title {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.6vw, 25px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .2px;
}

/* Price row */
.e-price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.e-compare {
    color: rgba(255, 255, 255, .55);
    text-decoration: line-through;
    font-size: 18px;
}

.e-price {
    font-size: 22px;
    font-weight: 450;
}

.e-badge {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .08);
}

/* Note */
.e-note {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-weight: 500px;
}

/* Form */
.e-form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
}

.underline {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}


.e-label {
    font-weight: 450;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: -6px;
    margin-top: -6px;
}

/* Quantity */
.qty-box {
    display: flex;
    width: 150px;
    height: 50px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.qty-btn {
    width: 60px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.qty-input {
    width: 60px;
    border: 0;
    outline: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    color: var(--white);
}

.qty-btn:active {
    transform: scale(.98);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    width: 100%;
    height: 62px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 450;
    cursor: pointer;
    letter-spacing: .2px;
}

.btn-primary {
    background: #0a2550;
    border: 2px solid rgba(255, 255, 255, .55);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    border: 2px solid rgba(255, 255, 255, .55);
    color: #0a2550;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-secondary:hover {
    filter: brightness(.96);
}

/* Bottom links */
.e-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.e-link {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-weight: 450;
}

.e-link:hover {
    text-decoration: underline;
}

.e-msg {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    min-height: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .SectionE-wrap {
        grid-template-columns: 1fr;
    }

    .SectionE-body {
        padding-top: 0;
    }

    .e-form {
        max-width: 100%;
    }

    .img-E img {
        width: 100%;
    }
}


.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}





/* section F Styles */




.SectionF {
    font-family: var(--font);
    padding: 54px 3px 64px;
    background: #fff;
    color: var(--text);
}

.sf-head {
    text-align: center;
    margin-bottom: 26px;
}

.sf-head h2 {
    margin: 0 0 6px;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 700;
}

.sf-head p {
    margin: 0;
    color: #000000a3;
    font-size: 16px;
}



/* ===== Slider layout ===== */
.sf-slider {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
    gap: 12px;
}

.sf-viewport {
    overflow: hidden;
    padding: 12px 2px;
}

.sf-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    transition: transform 420ms ease;
}

/* cards: 4 visible on desktop */
.sf-card {
    flex: 0 0 calc((100% - (24px * 3)) / 4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    /* screenshot style */
    padding: 22px 18px 18px;
    min-height: 360px;
    text-align: center;
    position: relative;
}

.sf-quote {
    font-size: 56px;
    line-height: 1;
    font-weight: 900;
    opacity: .85;
    margin-bottom: 6px;
}

.sf-img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 6px;
    margin: 8px auto 14px;
    display: block;
    cursor: zoom-in;
}

.sf-text {
    margin: 0;
    font-size: 20px;
    color: #333;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

.sf-stars {
    margin-top: 10px;
    letter-spacing: 2px;
    color: #FF9900;
    font-size: 24px;
}

.sf-name {
    margin-top: 10px;
    font-weight: 600;
    font-size: 20px;
}

/* arrows */
.sf-arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* place-items: center;
      user-select: none; */
    /* padding: auto; */
}

.sf-arrow:hover {
    filter: brightness(.98);
}

.sf-arrow:active {
    transform: scale(.98);
}

/* dots */
.sf-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.sf-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .35);
    opacity: .7;
}

.sf-dot.active {
    background: #111;
    opacity: 1;
}

/* responsive */
@media (max-width: 1020px) {
    .sf-slider {
        grid-template-columns: 44px 1fr 44px;
    }

    .sf-track {
        gap: 18px;
    }

    .sf-card {
        flex-basis: calc((100% - (18px * 2)) / 3);
    }

    /* 3 visible */
}

@media (max-width: 720px) {
    .sf-card {
        flex-basis: calc((100% - (18px * 1)) / 2);
    }

    /* 2 visible */
}

@media (max-width: 480px) {
    .sf-slider {
        grid-template-columns: 40px 1fr 40px;
    }

    .sf-card {
        flex-basis: 100%;
    }

    .sf-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* 1 visible */
}

/* ===== SectionF image modal ===== */
.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-modal.is-open {
    display: flex;
}

.image-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 28, 0.68);
}

.image-modal__content {
    position: relative;
    z-index: 1;
    max-width: min(94vw, 980px);
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    display: grid;
    place-items: center;
}

.image-modal__img {
    max-width: 100%;
    max-height: calc(90vh - 40px);
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.image-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #0b224c;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
