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

:root {
    --primary-color: #006a4e;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.modal-text-title {
    font-size: 18px !important;
    color: #2c2c2c !important;
    line-height: 1.6 !important;
}
#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;
    padding: 0.7rem 0;
}

.navbar-brand {
    width: 130px;
    height: 100%;
}

.nav-link {
    color: var(--primary-color);
    margin-left: 2.5rem;
    font-size: 16px;
}
.nav-items-link-btn {
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    padding: 3px 30px;
    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: 3rem;
}

.nav-link:hover {
    color: #1a5f4a !important;
}

.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;
}

/* Bangladesh Section */
.bangladesh-section {
    display: flex;
    align-items: center;
    gap: 6rem;
}
.banladesh-section-left {
    width: 50%;
}
.banladesh-section-right {
    width: 50%;
}
.banladesh-section-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.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;
}

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

.btn-outline-custom {
    background-color: #006a4e1a;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border: 1px solid var(--primary-color);
}

.btn-outline-custom:hover i {
    color: #ffffff !important;
}

.btn-primary-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

/* Content Sections */
.opinion-section {
    padding-top: 3rem;
}
.small-title {
    font-size: 20px;
    color: #2c2c2c;
}
.opinion-content-grid {
    display: grid;
    grid-template-columns: 46% 2% 46%;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
}

.opinion-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 24px;
}
.line-hr {
    width: 1px;
    height: 100%;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.content-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #7b7b7b;
    font-size: 16px;
    border-radius: 10px;
}

.item-number {
    color: var(--primary-color);
}

.opinion-link {
    color: #2c2c2c;
    text-decoration: underline;
}
.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.2rem 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 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.nationally-seat-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: 86%;
    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 */
}

.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 {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #005239;
}


/* Responsive */
@media (max-width: 768px) {

    .footer-main {
        flex-direction: column;
        gap: 1rem;
    }

    .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: 20px;
        width: 20px;
        color: #121212;
        border-radius: 6px;
        padding: 20px;
        font-size: 18px;
        border: 1px solid #7b7b7b;
        font-weight: 600;
        outline: none;
        transition: border-color 0.2s ease;
    }
    .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: 3rem;
        margin-bottom: 3rem;
    }
    .bangladesh-section {
        flex-direction: row-reverse;
        gap: 2rem;
    }
    .banladesh-section-left {
        width: 100%;
    }
    .bangladesh-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: column;
        gap: 8px;
    }

    .item-number {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .item-text {
        margin: 0.5rem 0;
    }

    .item-link {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .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: 20px;
        width: 20px;
        color: #121212;
        border-radius: 6px;
        padding: 20px;
        font-size: 18px;
        border: 1px solid #7b7b7b;
        font-weight: 600;
        outline: none;
        transition: border-color 0.2s ease;
    }
    .content-item {
        flex-direction: column;
        gap: 8px;
    }
    .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;
    }
    .bangladesh-section {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .banladesh-section-left {
        width: 100%;
    }
    .bangladesh-section-right {
        width: 100%;
        text-align: center;
    }
    .title-section {
        font-size: 26px;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-banner {
        height: 150px;
    }

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