:root {
    --primary: #177484;
    --dark-bg: #0f1115;
    --card-bg: #171a20;
    --text-main: #f5f5f5;
    --text-muted: #b6b6b6;
    --danger: #ff4b5c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Hind Siliguri', system-ui, sans-serif;
    background: radial-gradient(circle at top left, #202632, #05060a);
    color: var(--text-main);
}


a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px 100px;
}

/* ==========================HERO========================== */
.hero {
    background: linear-gradient(135deg, rgba(5, 8, 12, 0.9), rgba(23, 116, 132, 0.3));
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-top {
    display: flex;
    gap: 12px;
}

/* .hero-img {
    flex: 1.1;
    border-radius: 18px;
    overflow: hidden;
} */
.hero-img {
    perspective: 1000px;
    transition: transform 0.2s ease-out;
}

.hero-img img {
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.hero-img video {
    width: 100%;
    height: 165px;
    object-fit: cover;
}

/* .hero-img img {
    width: 100%;
    object-fit: cover;
} */

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(23, 116, 132, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

h1 {
    font-size: 20px;
    margin: 8px 0;
    line-height: 1.3;
}

.subheading {
    font-size: 13px;
    color: var(--text-muted);
}

.price-box {
    font-size: 13px;
}

.price-regular {
    text-decoration: line-through;
    color: var(--text-muted);
}

.price-now {
    font-size: 18px;
    font-weight: 700;
    color: #ffda7b;
}

.cta-btn {
    width: 100%;
    padding: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #24a0b6, #177484);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.cta-btn {
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.cta-btn:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 20px rgba(23, 116, 132, 0.5);
}

.hero h1 {
    font-size: 12px;
    /* Mobile default */
    margin: 8px 0;
    line-height: 1.3;
}

.hero .subheading {
    font-size: 13px;
    color: var(--text-muted);
    display: none;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 20px;
    }

    .hero .subheading {
        display: block;
    }

    .hero-bullet-cta-btn {
        margin-top: 8px;
        width: 100%;
    }

    .hero-bullets {
        margin-bottom: 12px;
    }


    .hero-img img {
        height: 360px;
        object-fit: cover;
    }

    .hero-img video {
        height: 360px;
        object-fit: cover;
    }

    .hero-top {
        display: flex;
        flex-direction: row;
        gap: 16px;
    }

    .hero-img {
        flex: 0 0 35%;
    }

    .hero-content {
        flex: 0 0 65%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: space-between;
    }
}


/* ===================================SECTION=================================== */
.section {
    margin-top: 20px;
    background: var(--card-bg);
    padding: 16px;
    border-radius: 16px;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
}

.motion {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease-out;
}

.motion.active {
    opacity: 1;
    transform: translateY(0);
}

.motion-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.motion-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.motion-scale.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.motion-scale.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.motion-scale.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.motion-scale.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.motion-scale {
    opacity: 0;
    transform: scale(.95);
    transition: all .6s ease-out;
}

.motion-scale.active {
    opacity: 1;
    transform: scale(1);
}




/* ===================================Review Section=================================== */
.review-slider-section {
    margin-top: 20px;
    background: var(--card-bg);
    padding: 16px;
    border-radius: 16px;
}

.review-section-title {
    font-size: 17px;
    font-weight: 600;
}

.testimonial-section {
    background: var(--card-bg);
    padding: 18px;
    border-radius: 16px;
    margin-top: 25px;
}

.testi-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 12px;
}

.testi-slider {
    display: flex;
    gap: 10px;
    transition: transform 0.35s ease;
}

.testi-card {
    min-width: 97%;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}


.testi-person {
    display: flex;
    gap: 10px;
    align-items: center;
}

.testi-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #24a0b6, #188191);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: white;
    font-size: 18px;
}

.testi-meta .testi-name-line {
    font-size: 14px;
    font-weight: 600;
}

.testi-name-line span {
    color: var(--text-muted);
    font-size: 12px;
}

.testi-stars {
    font-size: 13px;
    color: #f9d76f;
}

/* Quote text */
.testi-quote {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
}

/* Arrows */
.testi-arrow {
    position: absolute;
    top: 45%;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    padding: 6px 10px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
}

.testi-arrow.left {
    left: 5px;
}

.testi-arrow.right {
    right: 5px;
}

/* Dots */
.testi-dots {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    gap: 6px;
}

.testi-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    display: block;
    border-radius: 50%;
    cursor: pointer;
}

.testi-dots .active {
    background: var(--primary);
}

@media (min-width: 768px) {
    .testi-card {
        min-width: 25%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}



/* CHIPS */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

/* COLOR PREVIEW */
.color-preview-section {
    margin-top: 20px;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 16px;
}

.color-preview-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.color-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.color-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 6px;
}

.color-name {
    font-size: 12px;
    color: var(--text-muted);
}



/* =================================MODAL FORM================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: rgba(30, 30, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    width: 97%;
    max-width: 550px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* হেডার/ফুটার ছাড়া ফর্ম স্ক্রল হবে */
    animation: fadeIn 0.25s ease;
}

.modal-header,
.modal-footer {
    padding: 12px 20px;
    background: rgba(30, 30, 30, 0.95);
    flex-shrink: 0;
    /* ফিক্সড থাকবে */
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    text-align: center;
}

/* ফর্ম স্ক্রলেবল */
.modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1 1 auto;
    /* বাকি জায়গা দখল করবে */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}


/* Form Fields */
.address-district-upazila-row {
    display: flex;
    gap: 15px;
}

.address-district-upazila-row .field-group {
    flex: 1;
}

.row .field-group select,
.row .field-group label {
    width: 100%;
}


.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.field-group option {
    color: black;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 15px;
}

/* Quantity Field */
.qty-group .qty-input-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-input-wrapper input {
    text-align: center;
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 15px;
}

.qty-btn {
    padding: 10px 14px;
    background: rgba(23, 116, 132, 0.2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn:hover {
    background: rgba(23, 116, 132, 0.4);
}

.qty-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        width: 97%;
        max-width: 97%;
        max-height: 70vh;
    }

    input,
    textarea,
    select {
        padding: 10px 12px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.93);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* After Submit Order Form - Css for Status Cards Template=== */
.status-card {
    text-align: center;
    padding: 25px 20px;
    /* background: rgba(255, 255, 255, 0.05); */
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    border-radius: 14px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
}

.status-card h3 {
    margin: 10px 0;
    color: #fff;
    font-size: 20px;
}

.status-card p {
    color: #bfbfbf;
    font-size: 15px;
}

/* Loader */
.loader {
    width: 45px;
    height: 45px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #00c9a7;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 12px auto;
}

/* Success Icon */
.status-card.success .icon {
    font-size: 50px;
    color: #2ac769;
    margin-bottom: 12px;
}

/* Failed Icon */
.status-card.failed .icon {
    font-size: 50px;
    color: #ff4b5c;
    margin-bottom: 12px;
}

.cta-btn.danger {
    background: #ff4b5c;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}







/* STICKY BAR (GLASS + PULSE) */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    background: rgba(20, 20, 20, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.sticky-info {
    font-size: 12px;
}

.sticky-info strong {
    font-size: 13px;
}

.sticky-buy-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #24a0b6, #177484);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    animation: pulse 1.8s infinite ease-in-out;
}

.sticky-buy-btn:hover {
    transform: scale(1.08) translateZ(5px);
    box-shadow: 0 12px 25px rgba(23, 116, 132, 0.6);
}


@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(23, 116, 132, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(23, 116, 132, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(23, 116, 132, 0.4);
    }
}