@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@100..900&display=swap");

:root {
    --primary-color: #b72f04;
    --primary-color-dark: #9c2603;
    /* --secondary-color: #262161; */
    --secondary-color: #fdece8;
    --offwhite-bg-color: #fff2f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #f6f8f7;
    overflow-x: hidden;
}

/* Bengali Font Support */
body[lang="bn"],
html[lang="bn"] body {
    font-family: "Noto Serif Bengali", "Inter", sans-serif;
}

@keyframes blink {
    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.3;
    }
}

/* Recording Card */
.recording-card {
    background: var(--accent-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Timer Section */
.recording-timer-section {
    margin-bottom: 20px;
}

/* Visible Progress Bar */
.recording-progress-bar-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.recording-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.recording-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        var(--primary-color-dark) 0%,
        var(--secondary-color) 100%
    );
    border-radius: 10px;
    transition: width 0.1s linear;
}

.timer-display {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timer-subtitle {
    font-size: 14px;
    color: #666;
}

/* Action Buttons */
.recording-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.rec-action-btn {
    background: white;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.rec-action-btn:hover {
    background: var(--accent-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.rec-action-btn .rec-icon {
    font-size: 20px;
    line-height: 1;
}

.rec-action-btn .rec-label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.rec-stop-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff2f0;
}

.rec-stop-btn .rec-icon,
.rec-stop-btn .rec-label {
    color: white;
}

.rec-stop-btn:hover {
    background: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

/* Submit Button */
.rec-submit-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rec-submit-btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 63, 0.3);
}

.rec-submit-btn .rec-icon {
    font-size: 18px;
}

/* Recording waves animation */
.recording-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 30px;
}

.recording-waves .wave {
    display: inline-block;
    width: 3px;
    height: 6px;
    background: linear-gradient(to top, #dc3545, #ff6b6b);
    border-radius: 10px;
    animation: wave-pulse 0.8s ease-in-out infinite;
}

/* Paused state - flat line */
.recording-waves.paused .wave {
    height: 3px !important;
    animation: none;
    opacity: 0.8;
}

.recording-waves .wave:nth-child(1) {
    animation-delay: 0s;
}

.recording-waves .wave:nth-child(2) {
    animation-delay: 0.1s;
}

.recording-waves .wave:nth-child(3) {
    animation-delay: 0.2s;
}

.recording-waves .wave:nth-child(4) {
    animation-delay: 0.3s;
}

.recording-waves .wave:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes wave-pulse {
    0%,
    100% {
        height: 6px;
        opacity: 0.6;
    }

    50% {
        height: 30px;
        opacity: 1;
    }
}

/* opinion Type Selection Styles */
.opinion-type-selection {
    margin-bottom: 2rem;
}

.opinion-type-label,
.opinion-category-label {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.opinion-type-radio,
.opinion-category-radio {
    cursor: pointer;
    position: relative;
}

.opinion-type-radio input[type="radio"],
.opinion-category-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.opinion-type-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--primary-color);
}

.opinion-type-box-checked {
    border-color: var(--primary-color);
    background: white;
}

.opinion-type-radio:hover .opinion-type-box {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(183, 47, 4, 0.2);
}

.opinion-type-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.opinion-type-icon::after {
    content: "✓";
    position: absolute;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.opinion-type-box-checked .opinion-type-icon {
    background: var(--primary-color);
    padding: 2px;
}

.opinion-type-box-checked .opinion-type-icon::after {
    opacity: 1;
    transform: scale(1);
}

.opinion-category-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--primary-color);
}

.opinion-category-box-checked {
    border-color: var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.opinion-category-icon {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.opinion-category-icon::after {
    content: "✓";
    position: absolute;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.opinion-category-box-checked .opinion-category-icon {
    background: var(--primary-color);
}

.opinion-category-box-checked .opinion-category-icon::after {
    opacity: 1;
    transform: scale(1);
}

.opinion-category-radio:hover .opinion-category-box {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(183, 47, 4, 0.2);
}

.opinion-category-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.opinion-category-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(183, 47, 4, 0.1);
}

.opinion-category-input::placeholder {
    color: #999;
}

/* Video Grid Layout */
.video-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* Row 1 → 3 videos */
.v-item.v1 {
    grid-column: span 4;
}

.v-item.v2 {
    grid-column: span 4;
}

.v-item.v3 {
    grid-column: span 4;
}

/* Row 2 → 2 videos */
.v-item.v4 {
    grid-column: span 6;
}

.v-item.v5 {
    grid-column: span 6;
}

/* Item Style */
.v-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    /* border-radius: 8px; */
}

.v-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.v-item:hover img {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.v-item:hover .video-play-icon {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Modal */
.video-modal .modal-dialog {
    max-width: 900px;
}

.video-modal .btn-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border-radius: 50%;
    padding: 4px;
    opacity: 1;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .v-item {
        grid-column: span 6 !important;
    }
}

@media (max-width: 576px) {
    .video-gallery-section-container {
        padding: 40px 0 !important;
    }

    .video-gallery-header {
        gap: 0.5rem !important;
    }

    .video-gallery-header .title-section {
        font-size: 1.25rem !important;
    }

    .video-gallery-view-all {
        padding: 8px 16px !important;
        font-size: 0.875rem !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .video-gallery-view-all span {
        display: inline;
    }

    .video-gallery-view-all svg {
        width: 16px;
        height: 16px;
    }

    .v-item {
        grid-column: span 12 !important;
    }

    .video-grid {
        gap: 1rem !important;
    }

    .opinion-type-radio,
    .opinion-category-radio {
        flex: 1 1 100%;
    }
}

.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.modal-text-title {
    font-size: 18px !important;
    color: #2c2c2c !important;
    line-height: 1.6 !important;
}

/* -----------Video Gallery Styles-------------------------------------------  */

/* HERO */
.video-gallery-hero {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.video-gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GRID LAYOUT (3 + 2 + 4) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* Row 1 → 3 videos */
.v-item.v1 {
    grid-column: span 4;
}

.v-item.v2 {
    grid-column: span 4;
}

.v-item.v3 {
    grid-column: span 4;
}

/* Row 2 → 2 videos */
.v-item.v4 {
    grid-column: span 6;
}

.v-item.v5 {
    grid-column: span 6;
}

/* Row 3 → 4 videos */
.v-item.v6 {
    grid-column: span 3;
}

.v-item.v7 {
    grid-column: span 3;
}

.v-item.v8 {
    grid-column: span 3;
}

.v-item.v9 {
    grid-column: span 3;
}

/* Item Style */
.v-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    /* border-radius: 12px; */
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.v-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-select {
    color: var(--primary-color);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal */
.video-modal .modal-dialog {
    max-width: 900px;
}

.video-modal .btn-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border-radius: 50%;
    padding: 4px;
    opacity: 1;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .v-item {
        grid-column: span 6 !important;
    }
}

@media (max-width: 576px) {
    .v-item {
        grid-column: span 12 !important;
    }
}

/* -----------Video Gallery Styles End--------------------------- */

#accordionQuestion .accordion-item {
    border-top: 1px solid #7b7b7b !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
}

#accordionQuestion .accordion-item .accordion-button:not(.collapsed) {
    color: #2c2c2c !important;
    background-color: #f2f2f2 !important;
    box-shadow: none !important;
    border-top: 3px solid var(--primary-color) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
}

#accordionQuestion .accordion-button {
    color: #2c2c2c !important;
    font-weight: 600 !important;
    position: relative;
    padding-right: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#accordionQuestion .accordion-button:focus {
    box-shadow: none !important;
    border: none !important;
    background-color: #f2f2f2 !important;
}

#accordionQuestion .accordion-body {
    background-color: #f2f2f2 !important;
    padding-top: 0px !important;
    color: #616161 !important;
}

/* Remove default Bootstrap arrow */
#accordionQuestion .accordion-button::after {
    display: none !important;
}

/* Style for icons */
#accordionQuestion .accordion-button .arrow-icons {
    display: flex;
    align-items: center;
}

/* Hide up arrow (default collapsed state) */
#accordionQuestion .accordion-button .fa-arrow-up {
    display: none;
    color: #2c2c2c !important;
    font-size: 16px !important;
}

/* When accordion is expanded, show up arrow, hide down arrow */
#accordionQuestion .accordion-button:not(.collapsed) .fa-arrow-up {
    display: inline-block;
    color: #2c2c2c !important;
    font-size: 16px !important;
}

#accordionQuestion .accordion-button:not(.collapsed) .fa-arrow-down {
    display: none;
    color: #2c2c2c !important;
    font-size: 16px !important;
}

.search-filed:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.input-search {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 4px 4px 4px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Styles */
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none !important;
}

.navbar {
    background-color: #fff;
}

.navbar-brand {
    height: 100%;
}

.navbar-brand img {
    width: auto;
    height: 50px;
    object-fit: contain;
    transform: scale(1.3);
}

.nav-link {
    color: gray;
    margin-right: 1rem;
    font-size: 16px;
}

.nav-link-active {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-items-link-btn {
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    text-align: center;
    color: var(--primary-color);
    font-size: 16px;
    text-decoration: none;
}

.nav-items-link-btn-color {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-nav-items {
    margin-left: 1rem;
    margin-right: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-beta-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-beta-icon {
    color: #dc3545;
    font-size: 16px;
    border: 2px solid #dc3545;
    border-radius: 19px;
    font-weight: 600;
    padding: 2px 10px;
}

/* Hero Banner */

.hero-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.section-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 30px !important;
    height: 30px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.5) !important;
    background: transparent;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-prev:hover,
.hero-next:hover {
    transform: scale(1.1);
}

.swiper,
.swiper-slide {
    width: 100%;
    min-height: 500px;
    height: min(100vh, 1080px);
    overflow: hidden;
}

.swiper {
    margin-top: -4rem;
}

.swiper-slide {
    position: relative !important;
}

.hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper pagination bullet styles */
.hero-swiper .swiper-pagination-bullet {
    background-color: var(--offwhite-bg-color) !important; /* inactive color */
    opacity: 1; /* make sure it's solid */
    width: 20px;
    height: 5px;
    border-radius: 5px;
    margin: 0 6px;
    transition: background-color 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important; /* active color */
}

/* About Section */

.about-section-container {
    background-color: var(--secondary-color);
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.about-section-left {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-section-right {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.about-section-left img {
    width: auto;
    height: 400px;
    object-fit: contain;
}

/* ----Opinion Section --------------------- */

.opinion-section-container {
    background-color: var(--offwhite-bg-color);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.manifesto-left {
    width: 60%;
}

.manifesto-image {
    width: 40%;
    height: 350px;
}

.manifesto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.title-section {
    color: #2c2c2c;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 1rem;
}

.content-text {
    font-size: 16px;
    color: #474747;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: justify;
}

.btn-custom {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-outline-custom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #ffffff;
}

.btn-primary-custom:hover {
    background-color: var(--primary-color-dark);
    color: #ffffff;
}

.question-text {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Content Sections */
.opinion-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.small-title {
    font-size: 20px;
    color: #2c2c2c;
    font-weight: 700;
}

.opinion-content-grid {
    display: grid;
    grid-template-columns: 46% 2% 46%;
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
    justify-items: center;
}

.opinion-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
}

.line-hr {
    width: 1px;
    min-height: 400px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    align-self: stretch;
}

.content-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    transition: all 0.3s ease;
    min-height: 70px;
    cursor: pointer;
}

.content-item:hover {
    background-color: #005239;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 106, 78, 0.2);
    color: #ffffff;
}

.content-item:hover .item-text,
.content-item:hover .item-number {
    color: #ffffff;
}

.item-number {
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    min-width: 30px;
    flex-shrink: 0;
}

.item-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    padding: 0 2px;
}

.content-item .item-number,
.item-text {
    color: #ffffff;
}

.opinion-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 12px;
    background-color: #ffffff;
    border-radius: 8px;
}

.modal-close-btn {
    display: inline-block;
    border: 2px solid #ff0b0f;
    color: #ff0b0f;
    font-size: 16px;
    height: 30px;
    width: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.custom-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Label */
.custom-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #f6f8f7;
    padding: 0 6px;
    font-weight: 600;
    font-size: 14px;
    color: #2c2c2c;
    border-radius: 4px;
}

/* Input Field */
.custom-input {
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 1.5rem 1.25rem;
    font-size: 1rem;
    width: 100%;
    font-size: 14px;
    height: auto;
    line-height: normal;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
}

.custom-input::placeholder {
    color: #969696;
}

/* Focus Effect */

.otp-field {
    height: 70px;
    width: 70px;
    color: #121212;
    border-radius: 8px;
    padding: 20px;
    font-size: 18px;
    border: 1px solid #7b7b7b;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    line-height: 55px;
    /* Centers text & caret vertically */
    caret-color: var(--primary-color);
    /* Red visible cursor */
}

.otp-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 6px var(--primary-color);
}

/* Prevent cursor "jumping" */
.otp-field::-webkit-inner-spin-button,
.otp-field::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-field:focus {
    border: 2px solid var(--primary-color);
}

/* Hide arrows in Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nationally-seat-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 65%;
    margin: auto;
}

.nationally-seat-card {
    border-radius: 16px;
    border: 1px solid #cacaca;
}

.seat-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nationally-seat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.ed-seat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.nationally-seat-title,
.nationally-occupation-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.nationally-seat-content,
.nationally-occupation-content {
    font-size: 15px;
    color: #2c2c2c;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.gird-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.voice-mail {
    border: 1px solid #7b7b7b;
    border-radius: 12px;
    padding: 10px 30px;
    width: 80%;
    background: #fff;
}

.mail-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.text-filed {
    border: 1px solid #7b7b7b;
    border-radius: 12px;
    padding: 15px;
}

.text-filed::placeholder {
    color: #7b7b7b;
}

.text-filed:focus {
    border: 1px solid var(--primary-color);
    outline: none;
}

.checkbox-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(13, 115, 119, 0.1);
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 12px;
    background-color: white;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-item:has(input[type="checkbox"]:checked) {
    background-color: #f2f2f2;
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

.checkbox-item input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.checkbox-label {
    font-size: 16px;
    color: #333;
    margin: 0;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

/* recoding css start  */
.waveform-container {
    position: relative;
}

.recording-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.canvas {
    width: 100%;
    height: 60px;
    display: block;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    border: 1px solid #7b7b7b;
}

.recording-info {
    text-align: center;
    margin-bottom: 20px;
}

.timer {
    font-size: 14px;
    font-weight: 600;
    color: #7b7b7b;
    margin-bottom: 6px;
}

.timer-label {
    font-size: 14px;
    color: #474747;
    line-height: 1.5;
    font-weight: 600;
}

.controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-control {
    border: 1px solid #b0b0b0;
    background: white;
    color: #7b7b7b;
    padding: 3px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-control:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f9f9;
}

.btn-control.active {
    border-color: var(--primary-color);
    background: #006a4e1a;
    color: #006a4e;
}

.btn-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    background: #0d7377;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0a5a62;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 115, 119, 0.3);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.icon {
    font-size: 18px;
}

.recording-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #dc3545;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.recording-status.inactive {
    animation: none;
    opacity: 0.3;
}

/* recoding css end */
/* Hide arrows in Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
    /* Add this line */
}

.qrn-input {
    width: 80%;
}

.qrn-btn {
    width: 20%;
}

/* Language Toggle Switch */
.language-toggle {
    position: relative;
    display: inline-block;
}

.language-switch-checkbox {
    display: none;
}

.language-switch-label {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 4px;
    cursor: pointer;
    position: relative;
    width: 130px;
    height: 44px;
    transition: all 0.3s ease;
}

.language-labels {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 0;
    justify-content: space-between;
}

.language-labels span {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 4px;
    transition: all 0.3s ease;
    color: var(--primary-color);
    z-index: 2;
    border-radius: 50px;
}

.language-labels .label-bn.active,
.language-labels .label-en.active {
    color: #ffffff;
}

.language-switch-switch {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background-color: var(--primary-color);
    border-radius: 50px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.language-switch-checkbox:checked
    + .language-switch-label
    .language-switch-switch {
    transform: translateX(calc(100%));
}

.footer-main {
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom {
    padding: 0.5rem 0;
    text-align: center;
}

.social-icon {
    border: 1px solid var(--primary-color);
    height: 35px;
    width: 35px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--offwhite-bg-color);
    background-color: var(--primary-color);
}

@media (max-width: 576.98px) {
    .swiper {
        margin-top: 0rem;
    }
    .footer-main {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-custom {
        width: 100% !important;
    }

    .hero-next,
    .hero-prev {
        display: none !important;
    }

    .swiper,
    .swiper-slide {
        width: 100%;
        min-height: 150px;
        height: min(25vh, 1080px);
        overflow: hidden;
    }

    .language-labels span {
        font-size: 12px;
        padding: 6px 2px;
    }

    .language-switch-label {
        width: 85px !important;
        height: 40px !important;
        padding: 4px;
    }

    .header-beta-icon {
        color: #dc3545;
        font-size: 8px;
        border: 1.5px solid #dc3545;
        border-radius: 19px;
        font-weight: 800;
        padding: 2px 4px;
    }

    .qrn-input {
        width: 100%;
    }

    .qrn-btn {
        width: 100%;
    }

    .voice-mail {
        width: 100%;
    }

    .gird-4 {
        grid-template-columns: 1fr;
    }

    .nationally-seat-section {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .btn-nav-items {
        margin-left: 0rem;
        margin-top: 1rem;
    }

    .otp-field {
        height: 50px;
        width: 50px;
        color: #121212;
        border-radius: 6px;
        padding: 10px;
        font-size: 18px;
        border: 1px solid #7b7b7b;
        font-weight: 600;
        outline: none;
        transition: border-color 0.2s ease;
        text-align: center;
    }

    .content-item {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        min-height: auto;
        padding: 14px 16px;
    }

    .content-item > div:first-child {
        width: 100%;
        margin-bottom: 8px;
    }

    .opinion-link {
        width: 100%;
        text-align: center;
    }

    .small-title {
        font-size: 18px;
    }

    .opinion-section {
        padding-top: 2rem;
    }

    .line-hr {
        display: none;
    }

    .opinion-title {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .opinion-content-grid {
        grid-template-columns: 100%;
        gap: 2rem;
    }

    .br {
        display: none;
    }

    .section-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .about-section {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .about-section-left {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about-section-left img {
        height: 300px;
    }

    .about-section-right {
        width: 100%;
        text-align: center;
    }

    .manifesto-left {
        width: 100%;
    }

    .manifesto-image {
        width: 100%;
        height: auto;
    }

    .title-section {
        font-size: 26px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        transform: translateX(10px);
    }

    .hero-banner {
        height: 150px;
    }

    .section-title {
        font-size: 1.1rem;
    }
}

@media (min-width: 577px) and (max-width: 767.98px) {
    .footer-main {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-custom {
        width: 100%;
    }

    .about-section {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .manifesto-left {
        width: 100%;
    }

    .manifesto-image {
        width: 100%;
        height: auto;
    }

    .hero-next,
    .hero-prev {
        display: none !important;
    }

    .swiper,
    .swiper-slide {
        height: 150px;
        overflow: hidden;
    }

    .qrn-input {
        width: 100%;
    }

    .qrn-btn {
        width: 100%;
    }

    .voice-mail {
        width: 100%;
    }

    .gird-4 {
        grid-template-columns: 1fr;
    }

    .nationally-seat-section {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .btn-nav-items {
        margin-left: 0rem;
        margin-top: 1rem;
    }

    .otp-field {
        height: 50px;
        width: 50px;
        color: #121212;
        border-radius: 6px;
        padding: 10px;
        font-size: 18px;
        border: 1px solid #7b7b7b;
        font-weight: 600;
        outline: none;
        transition: border-color 0.2s ease;
        text-align: center;
    }

    .small-title {
        font-size: 18px;
    }

    .opinion-section {
        padding-top: 2rem;
    }

    .line-hr {
        display: none;
    }

    .opinion-title {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .opinion-content-grid {
        grid-template-columns: 100%;
        gap: 2rem;
    }

    .br {
        display: none;
    }

    .section-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .about-section-left {
        width: 100%;
    }

    .about-section-right {
        width: 100%;
        text-align: center;
    }

    .title-section {
        font-size: 26px;
    }

    .hero-banner {
        height: 180px;
    }

    .nav-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .bangladesh-card {
        margin-bottom: 2rem;
    }

    .content-item {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        min-height: auto;
        padding: 14px 16px;
    }

    .content-item > div:first-child {
        width: 100%;
        margin-bottom: 8px;
    }

    .opinion-link {
        width: 100%;
        text-align: center;
    }

    .item-number {
        font-size: 18px;
    }

    .item-text {
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-main {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-custom {
        width: 80%;
    }

    .about-section {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .about-section-left {
        width: 100%;
    }

    .about-section-right {
        width: 100%;
        text-align: center;
    }

    .manifesto-left {
        width: 100%;
    }

    .manifesto-image {
        width: 100%;
        height: auto;
    }

    .hero-next,
    .hero-prev {
        display: none !important;
    }

    .swiper,
    .swiper-slide {
        height: 200px;
        overflow: hidden;
    }
}

@media (max-width: 1199.98px) {
    .footer-main {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar > .container {
        flex-wrap: wrap;
        position: relative;
    }

    .navbar .navbar-collapse {
        flex-basis: 100%;
        order: 3;
    }

    .navbar > .container > .navbar-buttons {
        order: 2;
        margin-left: auto;
    }
}

@media (min-width: 1921px) {
    .no-stretch {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
}
