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

a {
    text-decoration: none;
    color: inherit;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif Bengali', serif;
    background: #ffffff;
}

/* ===== SECTION ===== */
section {
    min-height: calc(100vh - 70px); /* sticky header fix */
    width: 100%;
    scroll-margin-top: 80px; /* anchor + scroll spy fix */
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: #0b5f3c;
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding-left: 50px;
}

.logo-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.logo-sub {
    color: #ffffff;
    font-size: 14px;
}

/* ===== MENU ===== */
.nav ul {
    list-style: none;
    display: flex;
    gap: 12px;
    padding-right: 50px;
}

.nav a {
    color: #ffffff;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.nav a:hover {
    background: #b11226;
}

/* ACTIVE MENU (DESKTOP) */
.nav ul li.active > a {
    background: #b11226;
    color: #ffffff;
}

/* ===== CONTACT BUTTON ===== */
.btn {
    border: 2px solid #ffffff;
    padding: 6px 14px;
    border-radius: 12px;
}

.btn:hover {
    background: #b11226;
    color: #ffffff;
}

/* ===== TOGGLE ===== */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}

/* =====================
   MOBILE MENU CLOSE (X)
===================== */

/* default: সব ডিভাইসে লুকানো */
.menu-close {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 40px;
    height: 40px;

    border-radius: 50%;
    font-size: 24px;

    color: #ffffff;
    background: #0b5f3c;   /* গাড় সবুজ */

    cursor: pointer;
    z-index: 10000;

    display: none;         /* 🔒 desktop + default hide */

    align-items: center;
    justify-content: center;

    transition: background 0.3s ease, transform 0.3s ease;
}

.menu-close:hover {
    background: #b11226;   /* লাল */
    transform: rotate(90deg);
}

/* শুধু mobile + menu open হলে দেখাবে */
@media (max-width: 768px) {
    .nav.active .menu-close {
        display: flex;
    }
}


/* ===== SCROLL BAR ===== */
.scroll-bar {
    background: #b11226;
    overflow: hidden;
    height: 25px;
    position: relative;
    z-index: 1;
}

/* Scroll text container */
.scroll-text {
    display: inline-block;
    white-space: nowrap;
    color: #ffffff;
    font-weight: 700;
    position: absolute;
    padding-left: 100%; /* শুরুতে বাম দিকে বাইরে থাকবে */
    animation: scroll 60s linear infinite;
    animation-delay: 1s; /* ১ সেকেন্ডে শুরু হবে */
}

/* Individual spans inside scroll-text */
.scroll-text span {
    color: #ffffff;
    margin: 0 24px; /* স্পেস বাড়ানো হয়েছে */
    display: inline-block;
}

/* Keyframes for scrolling */
@keyframes scroll {
    0% {
        transform: translateX(0%); /* শুরুতে বাম দিকে বাইরে */
    }
    100% {
        transform: translateX(-100%); /* শেষে পুরোটা বাম দিকে চলে যাবে */
    }
}


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

    .logo {
        padding-left: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #0b5f3c;
        padding-top: 80px;
        transition: 0.4s ease;
        z-index: 9999;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-right: 0;
    }

    /* ACTIVE MENU (MOBILE) */
    .nav ul li.active > a {
        width: 100%;
        text-align: center;
        background: #b11226;
        border-radius: 8px;
    }
}

/* ================= PDF BUTTONS ================= */
.pdf-buttons {
    display: flex;
    gap: 14px;
    margin-top: 25px;

    flex-wrap: nowrap;          /* এক লাইনে */
    overflow-x: auto;           /* ছোট স্ক্রিনে স্ক্রল হবে */
    -webkit-overflow-scrolling: touch;
}

.pdf-buttons::-webkit-scrollbar {
    display: none;              /* scrollbar hide */
}

.pdf-btn {
    flex-shrink: 0;             /* ভাঙবে না */
    padding: 12px 20px;
    background: transparent;        /* png */
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
    text-decoration: none;

    border-radius: 10px;
    border: 2px solid #ffffff; /* স্টক সাদা বর্ডার */
}

.pdf-btn:hover {
    background: #b11226;        /* hover লাল */
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}


/* =====================
   HOME SECTION
===================== */
.home-section{
    position:relative;
    box-sizing: border-box;
    padding-left: 50px;
    padding-right: 50px;
    background-color:#0b5f3c;
    overflow:hidden;
    z-index: 1;
}

.home-section::before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:600px;
    height:600px;
    background:url("../img/bangladesh_map.png") no-repeat center center;
    background-size:contain;
    opacity:0.1;          /* 10% opacity */
    pointer-events:none;
    z-index: -1;
}

/* Container */
.home-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Text Content */
.home-heading {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: -2px;
    margin-top: 20px;
}

.home-subheading {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.home-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
}

/* Image */
.home-image img{
    width:480px;
    height:425px;
    object-fit:cover;
    border-radius:15px;
    animation:homeBounce 4s ease-in-out infinite;
}

.home-image {
    padding-top: 50px;
}

/* Smooth light bounce animation */
@keyframes homeBounce{
    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

/* =====================
   RESPONSIVE (MOBILE)
===================== */
@media (max-width: 768px) {
    
   .home-section {
    padding-left: 15px;
    padding-right: 15px;
   }

    .home-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-image img{
        width:360px;
        height:320px;
        margin-top: 2px;
    }

    .home-heading {
        font-size: 28px;
        margin-top: 40px;
    }
    
    .home-section::before {
    width: 380px;
    height: 380px;
    margin-top: -150px;
    }
    
    .home-image {
    padding-top: 2px;
}
}


/* =====================
   PROFILE SECTION
===================== */
.profile-section {
    background: #0b5130;
    padding: 80px 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.profile-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* IMAGE FIXED SIZE */
.profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-image img {
    width: 320px;          /* fixed width */
    height: 400px;         /* fixed height */
    object-fit: cover;     /* image crop করে same size করবে */
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.03);
    /* হালকা zoom hover */
}

/* CONTENT */
.profile-content {
    flex: 2;
}

.profile-name {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    border: 2px solid #ffffff;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
}

.profile-designation {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
}

.profile-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    
   .profile-section {
        padding-left: 15px;
        padding-right: 15px;
   }

    .profile-container {
        flex-direction: column;   /* mobile এ image উপরে */
        text-align: center;
    }

    .profile-image img {
        width: 260px;
        height: 340px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-designation {
        font-size: 16px;
    }
}

/* =====================
   MANIFESTO / ACCORDION
===================== */
.manifesto-section {
    background: #0b5f3c;
    padding: 80px 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.manifesto-section .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.manifesto-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Desktop only */
@media (min-width: 992px) {
    .manifesto-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 8px;
        align-items: start;
    }
}

.section-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ffffff;
    display: inline-block;
    text-align: centre;
}

/* ACCORDION */
.accordion-item {
    margin-bottom: 2px;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.accordion-btn {
    width: auto;
    display: inline-block;
    padding: 4px 4px;        /* ⬇ উপরে–নিচে padding কমানো */
    background: #0b5f3c;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 6px;
    margin-bottom: 0;      /* ⬇ নিচের গ্যাপ কম */
}

.accordion-btn:hover {
    background: #b11226;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    background: #0b5f3c;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

/* ACTIVE */
.accordion-item.active .accordion-content {
    max-height: 300px;      /* 🔥 height ঠিক রাখবে */
    padding: 10px 14px;
}

/* Apply Noto Serif Bengali font to accordion titles and content */
.manifesto-section,
.manifesto-section .accordion-btn,
.manifesto-section .accordion-content {
    font-family: 'Noto Serif Bengali', serif;
}

/* RESPONSIVE */
@media(max-width:768px) {
    
   .manifesto-section, {
        padding-left: 15px;
        padding-right: 15px;
   }
    .accordion-btn {
        font-size: 16px;
        padding: 4px 4px;
    }
    
    .accordion-content {
        font-size: 15px;
        padding: 0 8px;
    }
}


/* =====================
   AREA / NOAKHALI-05 SECTION
===================== */
.area-section {
    background: #0b5130;
    padding: 80px 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.area-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row-reverse;
}

/* IMAGE FIXED SIZE */
.area-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.area-image img {
    width: 380px;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.3s ease;
}

.area-image img:hover {
    transform: scale(1.03);
    /* হালকা zoom hover */
}

/* CONTENT */
.area-content {
    flex: 2;
}

.area-heading {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Noto Serif Bengali', serif;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ffffff;
    display: inline-block;
}

.area-subheading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: 'Noto Serif Bengali', serif;
}

.area-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
    font-family: 'Noto Serif Bengali', serif;
}

/* RESPONSIVE */
@media(max-width:768px) {
    
   .area-section {
        padding-left: 15px;
        padding-right: 15px;
   }
    .area-container {
        flex-direction: column;
        text-align: center;
    }
    
    .area-image img {
        width: 260px;
        height: 220px;
    }
    
    .area-heading {
        font-size: 26px;
    }
    
    .area-subheading {
        font-size: 16px;
    }
    
    .area-text {
        font-size: 15px;
    }
}

/* =====================
   REFERENDUM / VOTE SECTION
===================== */
.referendum-section {
    background: #0b5f3c;
    padding: 80px 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.referendum-section .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Noto Serif Bengali', serif;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ffffff;
    display: inline-block;
}

.section-sub {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: 'Noto Serif Bengali', serif;
}

.referendum-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* IMAGE */
.referendum-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.referendum-image img {
    width: 360px;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.3s ease;
}

.referendum-image img:hover {
    transform: scale(1.03);
    /* হালকা zoom hover */
}

/* CONTENT */
.referendum-content {
    flex: 2;
}

.referendum-content p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Noto Serif Bengali', serif;
}

.referendum-questions-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
}

.referendum-questions {
    list-style: none;
    padding-left: 18px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Noto Serif Bengali', serif;
}

.referendum-questions li {
    margin-bottom: 12px;        /* প্রতিটি আইটেমের নিচে gap */
    padding-left: 0;            /* left padding remove */
    text-align: left;           /* left aligned */
}

.referendum-questions li::before {
    content: "• ";
    color: #ffffff;
}

/* NOTE */
.referendum-note {
    margin-top: 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

/* =====================
   MAIN VOTE BOXES
===================== */
.vote-boxes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.vote-box {
    padding: 12px 24px;
    background: #ffffff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Noto Serif Bengali', serif;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* YES box */
.vote-box.yes {
    color: #0b5f3c; /* গাঢ় সবুজ */
}

/* NO box */
.vote-box.no {
    color: #b11226; /* লাল */
}

/* ACTIVE STATE */
.vote-box.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Hover effects */
.vote-box.yes:hover {
    background: #e0f2e9;
}

.vote-box.no:hover {
    background: #fbeaea;
}

/* =====================
   INLINE VOTE BOXES (হ্যাঁ/না)
===================== */
.vote-box-inline {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Noto Serif Bengali', serif;
    text-align: center;
    min-width: 40px;
    margin: 0 2px;
}

.vote-box-inline.yes {
    color: #0b5f3c;
    background: #ffffff;
}

.vote-box-inline.no {
    color: #b11226;
    background: #ffffff;
}

.vote-box-inline:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width:768px){
   
  .referendum-section {
        padding-left: 15px;
        padding-right: 15px;
  }
    .referendum-inner {
        flex-direction: column;
        text-align: center;
    }
    .referendum-image img {
        width: 280px;
        height: 200px;
    }
    .vote-box {
        font-size: 16px;
        padding: 10px 18px;
        min-width: 80px;
    }
}

/* =====================
   CONTACT SECTION (NO BOX, WHITE TEXT)
===================== */
.contact-section {
    background: #0b5130; /* মূল সবুজ */
    padding: 80px 20px;
    padding-left: 50px;
    padding-right: 50px;
}

.contact-section .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.contact-section .section-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Noto Serif Bengali', serif;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ffffff;
    display: inline-block;
}

/* CONTACT INNER: 3 columns */
.contact-inner {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* EACH BOX (No background) */
.contact-box {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-box h3 {
    font-size: 20px;
    color: #ffffff;
    text-align: left;
    margin-bottom: 12px;
    font-weight: 700;
    display: inline-block;
    background-color: #b11226;
    padding: 5px;
    border-radius: 4px;
    font-family: 'Noto Serif Bengali', serif;
}

.contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box ul li {
    font-size: 16px;
    line-height: 2;
    color: #ffffff;
    text-align: left;
    font-family: 'Noto Serif Bengali', serif;
}

.contact-box ul li span {
    font-weight: 700;
}

.contact-box ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-box ul li a:hover {
    color: #b11226;
    background: #ffffff;
    padding: 2px;
    border-radius: 5px;
}

/* RESPONSIVE */
@media (max-width:992px){
    
   .contact-section {
        padding-left: 15px;
        padding-right: 15px;
   }
    .contact-inner {
        flex-direction: column;
        gap: 20px;
    }
}

/* =====================
   FOOTER SECTION
===================== */
.footer-section {
    background: #0b5f3c; /* মূল সবুজ কালার */
    padding: 30px 20px;
    text-align: center;
}

.footer-section .footer-copy,
.footer-section .footer-dev {
    color: #ffffff;
    margin: 5px 0;
    font-family: 'Noto Serif Bengali', serif;
    font-weight: 400;
    font-size: 16px;
}

.footer-section .footer-dev {
    font-size: 14px;
    opacity: 0.9;
}

.footer-section .footer-dev a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section .footer-dev a:hover {
    background: #b11226; /* hover red */
    padding: 2px;
    border-radius: 5px;
}

/* RESPONSIVE */
@media (max-width:768px){
    .footer-section .footer-copy,
    .footer-section .footer-dev {
        font-size: 14px;
    }
}