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

    body {
      font-family: 'Noto Sans Bengali', sans-serif;
      color: #ffffff;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      position: relative;
      background: linear-gradient(-45deg, #020b1c, #0a1a3c, #0f2b6b, #051433);
      background-size: 400% 400%;
      animation: gradientBG 15s ease infinite;
    }

    @keyframes gradientBG {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .bg-shapes {
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: -1; overflow: hidden; pointer-events: none;
    }
    .shape {
      position: absolute;
      background: rgba(77, 163, 255, 0.08);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      animation: floatAndSpin infinite linear;
    }
    .shape.rect { border-radius: 20px; }
    .shape.circle { border-radius: 50%; }
    .shape:nth-child(1) { width: 300px; height: 300px; top: -50px; left: -50px; animation-duration: 25s; }
    .shape:nth-child(2) { width: 400px; height: 400px; bottom: -100px; right: -100px; animation-duration: 35s; animation-delay: -5s; }
    .shape:nth-child(3) { width: 200px; height: 200px; top: 40%; left: 10%; animation-duration: 20s; animation-delay: -10s; background: rgba(0, 229, 255, 0.05); }
    .shape:nth-child(4) { width: 250px; height: 250px; top: 15%; right: 15%; animation-duration: 30s; animation-delay: -15s; }
    .shape:nth-child(5) { width: 150px; height: 150px; bottom: 10%; left: 20%; animation-duration: 18s; animation-delay: -2s; }
    .shape:nth-child(6) { width: 350px; height: 350px; top: 50%; left: 50%; margin-top: -175px; margin-left: -175px; animation-duration: 40s; animation-delay: -20s; background: rgba(162, 155, 254, 0.05); }

    @keyframes floatAndSpin {
      0% { transform: translate(0, 0) rotate(0deg) scale(1); }
      50% { transform: translate(30px, -50px) rotate(180deg) scale(1.05); }
      100% { transform: translate(0, 0) rotate(360deg) scale(1); }
    }

    .top-header {
      background: rgba(10, 26, 60, 0.4);
      backdrop-filter: blur(16px) saturate(150%);
      -webkit-backdrop-filter: blur(16px) saturate(150%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      padding: 15px 20px;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .header-right { display: flex; gap: 25px; justify-content: center; flex-wrap: wrap; }
    .header-right a {
      color: #dbe6ff; text-decoration: none; font-size: 16px; font-weight: 600;
      transition: 0.3s; position: relative; padding-bottom: 5px; cursor: pointer;
    }
    .header-right a:hover, .header-right a.active { color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.8); }
    .header-right a.active::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 100%; height: 3px; background-color: #fff; border-radius: 2px;
    }

    .main-wrapper { flex: 1; max-width: 1200px; width: 100%; margin: 0 auto; padding: 40px 20px; z-index: 10; position: relative; }
    .page-content { display: none; }
    .page-content.active-page { display: block; animation: fadeIn 0.4s ease-in-out; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    .page-title {
      font-size: 26px; color: #fff; border-left: 5px solid #4da3ff;
      padding-left: 15px; font-weight: 700; margin-bottom: 25px;
      text-shadow: 0 0 15px rgba(77, 163, 255, 0.6);
    }

    /* ================= হোমপেজ ৭০/৩০ ================= */
    .home-hero-layout { display: flex; gap: 30px; align-items: center; margin-bottom: 50px; min-height: 300px; position: relative; }
    .hero-left { flex: 0 0 70%; max-width: 70%; }

    .hero-title {
      font-size: clamp(32px, 9vw, 128px);
      font-weight: 700; line-height: 1.1;
      text-shadow: 0 0 30px rgba(77, 163, 255, 0.8);
      margin-bottom: 25px;
      background: linear-gradient(90deg, #fff, #4da3ff, #fff, #4da3ff);
      background-size: 300% 100%;
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      animation: gradientMove 3s linear infinite;
      word-break: break-word;
    }

    @keyframes gradientMove {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

    .hero-brand-en {
      font-size: clamp(28px, 7vw, 90px);
      font-weight: 700; line-height: 1.1;
      margin-bottom: 15px;
      background: linear-gradient(90deg, #fff, #00e5ff, #fff, #00e5ff);
      background-size: 300% 100%;
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      animation: gradientMove 3s linear infinite;
      word-break: break-word;
    }

    .hero-slogan-bn {
      font-size: clamp(16px, 3.5vw, 36px);
      font-weight: 500; color: #dbe6ff; line-height: 1.3;
      margin-bottom: 15px; border-left: 6px solid #4da3ff; padding-left: 20px;
    }

    .hero-slogan-en {
      font-size: clamp(12px, 2.3vw, 24px);
      font-weight: 600; color: #00e5ff;
      letter-spacing: 1.5px; line-height: 1.3;
      border-left: 6px solid #00e5ff; padding-left: 20px;
      text-transform: uppercase;
    }

    /* মোবাইল ৩-ডট মেনু */
    .mobile-menu-btn {
      display: none; background: rgba(77, 163, 255, 0.15);
      border: 1px solid rgba(77, 163, 255, 0.3); color: #fff;
      font-size: 22px; width: 44px; height: 44px;
      border-radius: 10px; cursor: pointer;
      align-items: center; justify-content: center;
      transition: 0.3s; position: absolute;
      top: 15px; left: 15px; z-index: 100;
    }
    .mobile-menu-btn:hover { background: rgba(77, 163, 255, 0.3); }

    .mobile-menu-dropdown {
      display: none; position: absolute;
      top: 70px; left: 15px;
      background: rgba(10, 26, 60, 0.95);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(77, 163, 255, 0.3);
      border-radius: 12px; padding: 10px;
      z-index: 99; min-width: 180px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      transform: translateY(-10px); opacity: 0;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .mobile-menu-dropdown.show {
      display: block; transform: translateY(0); opacity: 1;
    }
    .mobile-menu-dropdown a {
      display: flex; align-items: center; gap: 10px;
      padding: 12px 15px; color: #dbe6ff; text-decoration: none;
      font-size: 15px; font-weight: 600;
      border-radius: 8px; transition: 0.2s; cursor: pointer;
    }
    .mobile-menu-dropdown a:hover { background: rgba(77, 163, 255, 0.15); color: #fff; }
    .mobile-menu-dropdown a .dd-icon { font-size: 20px; }

    /* ডান দিকের মেনু কার্ড গ্রিড */
    .hero-right-menu { flex: 0 0 30%; max-width: 30%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

    .home-menu-card {
      background: rgba(18, 38, 84, 0.7);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(77, 163, 255, 0.2);
      border-radius: 12px; padding: 20px 10px;
      text-align: center; cursor: pointer;
      transition: 0.3s; display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 10px;
    }
    .home-menu-card:hover {
      transform: translateY(-5px);
      border-color: #4da3ff;
      background: rgba(77, 163, 255, 0.15);
      box-shadow: 0 10px 25px rgba(77, 163, 255, 0.3);
    }
    .menu-icon { font-size: 30px; }
    .menu-text { font-size: 15px; font-weight: 600; color: #fff; }
    .home-menu-card.contact-card { grid-column: span 2; width: 50%; justify-self: center; }

    /* পোস্ট গ্রিড — Desktop: Grid, Mobile: Single Column */
.post-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
  gap: 20px; 
}

.post-card {
  background: rgba(18, 38, 84, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(77, 163, 255, 0.2);
}

.post-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 15px 40px rgba(77, 163, 255, 0.3); 
  border-color: rgba(77, 163, 255, 0.6); 
}

.post-image { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  background-color: #0a1a3c; 
}

.post-content { 
  padding: 15px; 
  display: flex; 
  flex-direction: column; 
  flex: 1; 
}

.post-date { 
  font-size: 12px; 
  color: #00e5ff; 
  font-weight: 600; 
  margin-bottom: 10px; 
}

.post-headline { 
  font-size: 18px; 
  font-weight: 700; 
  color: #fff; 
  line-height: 1.4; 
  margin-bottom: 10px; 
}

.post-excerpt { 
  font-size: 14px; 
  color: #b0c4de; 
  line-height: 1.6; 
  flex: 1; 
}

    /* সার্ভিস / ফর্ম / গ্লাস বক্স */
    .services-section, .reg-form, .action-box, .verify-box, .success-box {
      background: rgba(18, 38, 84, 0.7);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      border: 1px solid rgba(77, 163, 255, 0.2);
      padding: 30px; margin-bottom: 30px;
    }

    .verify-box h3 { font-size: 20px; color: #fff; margin-bottom: 20px; border-bottom: 2px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; text-align: left; }
    .verify-box input { width: 100%; padding: 12px 15px; border: 1px solid rgba(77, 163, 255, 0.3); border-radius: 8px; font-size: 15px; background: rgba(0, 0, 0, 0.2); color: #fff; font-family: 'Noto Sans Bengali', sans-serif; margin-bottom: 15px; display: block; }
    .verify-box input:focus { outline: none; border-color: #4da3ff; box-shadow: 0 0 10px rgba(77, 163, 255, 0.3); }
    .verify-box input::placeholder { color: #b0c4de; }

    .notice-table-container, .post-table-container, .membership-table-container {
      background: rgba(18, 38, 84, 0.7); backdrop-filter: blur(10px);
      border-radius: 12px; border: 1px solid rgba(77, 163, 255, 0.2);
      padding: 20px; margin-bottom: 30px; max-height: 400px; overflow-y: auto;
    }
    .notice-table-container::-webkit-scrollbar, .post-table-container::-webkit-scrollbar, .membership-table-container::-webkit-scrollbar { width: 8px; }
    .notice-table-container::-webkit-scrollbar-track, .post-table-container::-webkit-scrollbar-track, .membership-table-container::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 10px; }
    .notice-table-container::-webkit-scrollbar-thumb, .post-table-container::-webkit-scrollbar-thumb, .membership-table-container::-webkit-scrollbar-thumb { background: #4da3ff; border-radius: 10px; }
    .notice-table-container::-webkit-scrollbar-thumb:hover, .post-table-container::-webkit-scrollbar-thumb:hover, .membership-table-container::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

    .services-section h3 { font-size: 20px; color: #fff; margin-bottom: 20px; border-bottom: 2px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; }

    .involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .member-sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
    .admin-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .admin-dashboard-grid.three-col { grid-template-columns: repeat(3, 1fr); }
    .office-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .involve-card, .member-sub-card, .admin-role-card, .admin-dashboard-card, .office-admin-card {
      background: rgba(255, 255, 255, 0.05);
      padding: 30px 20px; border-radius: 12px;
      text-align: center; border: 1px solid rgba(255, 255, 255, 0.1);
      text-decoration: none; color: #fff; transition: 0.3s; cursor: pointer;
    }
    .involve-card:hover, .member-sub-card:hover, .admin-role-card:hover, .admin-dashboard-card:hover, .office-admin-card:hover {
      transform: translateY(-5px); border-color: #4da3ff; background: rgba(77, 163, 255, 0.1);
    }
    .involve-icon, .icon { font-size: 40px; margin-bottom: 15px; display: block; }
    .involve-title, .title { font-size: 18px; font-weight: 700; color: #fff; }
    .involve-desc, .desc { font-size: 13px; color: #b0c4de; margin-top: 8px; }

    /* ফর্ম */
    .reg-header h2 { font-size: 36px; color: #4da3ff; font-weight: 700; margin: 0; text-shadow: 0 0 15px rgba(77, 163, 255, 0.6); }
    .reg-subtitle { font-size: 16px; color: #b0c4de; margin-bottom: 30px; border-bottom: 2px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
    .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #dbe6ff; font-size: 15px; }
    .form-group label .required { color: #ff4d4d; }
    .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid rgba(77, 163, 255, 0.3); border-radius: 8px; font-size: 15px; background: rgba(0, 0, 0, 0.2); color: #fff; font-family: 'Noto Sans Bengali', sans-serif; }
    .form-group input:focus, .form-group select:focus { outline: none; border-color: #4da3ff; box-shadow: 0 0 10px rgba(77, 163, 255, 0.3); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-submit-btn, .verify-btn, .add-btn { background: linear-gradient(90deg, #0a1a3c, #4da3ff); color: #fff; padding: 15px; border: none; border-radius: 10px; font-size: 18px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 20px; transition: 0.3s; }
    .form-submit-btn:hover, .verify-btn:hover, .add-btn:hover { box-shadow: 0 0 20px rgba(77, 163, 255, 0.6); }

    .section-box { background: rgba(77, 163, 255, 0.1); color: #4da3ff; padding: 12px 20px; border-radius: 8px; font-size: 18px; font-weight: 700; margin-top: 30px; margin-bottom: 20px; border-left: 4px solid #4da3ff; }

    /* রেজিস্ট্রেশন লেআউট */
    .reg-layout-wrapper { display: flex; gap: 30px; align-items: stretch; margin-bottom: 20px; flex-direction: row; }
    .reg-image-section { flex: 0 0 35%; max-width: 35%; order: 2; display: flex; flex-direction: column; }
    .reg-image-box { width: 100%; flex: 1; background: rgba(0, 0, 0, 0.3); border: 2px dashed rgba(77, 163, 255, 0.5); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; cursor: pointer; min-height: 250px; }
    .reg-image-box img { width: 100%; height: 100%; object-fit: cover; display: none; }
    .reg-image-box .placeholder-text { color: #b0c4de; font-size: 14px; text-align: center; padding: 20px; }
    .reg-form-section { flex: 1; order: 1; }

    /* ✅ ঠিকানা গ্রিড সিস্টেম */
    .address-grid { 
      display: grid; 
      grid-template-columns: repeat(4, 1fr); 
      gap: 15px; 
    }
    .mobile-address-wrapper { display: contents; } /* ডেস্কটপে wrapper কোনো বক্স তৈরি করবে না */

    .address-grid-header { background: rgba(77, 163, 255, 0.1); color: #4da3ff; padding: 10px; border-radius: 8px; font-weight: 700; text-align: center; border: 1px solid rgba(77, 163, 255, 0.3); margin-bottom: 10px; }
    .grid-header-present { grid-column: 1 / 3; }
    .grid-header-permanent { grid-column: 3 / 5; }
    .address-item { display: flex; flex-direction: column; }
    .address-item label { font-size: 13px; color: #dbe6ff; margin-bottom: 5px; font-weight: 600; }
    .address-item input { width: 100%; padding: 10px; border: 1px solid rgba(77, 163, 255, 0.3); border-radius: 8px; background: rgba(0, 0, 0, 0.2); color: #fff; font-family: 'Noto Sans Bengali', sans-serif; height: auto; }
    .address-item input:focus { outline: none; border-color: #4da3ff; box-shadow: 0 0 10px rgba(77, 163, 255, 0.3); }

    /* টেবিল */
    table { width: 100%; border-collapse: collapse; text-align: left; }
    thead { background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid rgba(77, 163, 255, 0.3); position: sticky; top: 0; }
    th { padding: 15px 20px; font-weight: 700; color: #fff; font-size: 15px; }
    td { padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 15px; color: #b0c4de; }
    tbody tr:hover { background: rgba(255, 255, 255, 0.05); }

    .membership-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 25px; }
    .membership-stat-card { background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
    .membership-stat-card .num { font-size: 28px; font-weight: 700; color: #4da3ff; margin-bottom: 5px; }

    .site-footer { background: transparent; color: #b0c4de; text-align: center; padding: 25px; margin-top: 40px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); z-index: 10; position: relative; }
    .site-footer b { color: #4da3ff; }

    /* সার্চ / ডেট ফিল্টার */
    .title-action-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
    .filter-box { display: flex; justify-content: space-between; align-items: center; width: 100%; flex-wrap: wrap; gap: 15px; }
    .search-box { position: relative; width: 300px; margin-right: auto; }
    .search-box input { width: 100%; padding: 10px 15px 10px 40px; border: 1px solid rgba(77, 163, 255, 0.3); border-radius: 8px; font-size: 15px; font-family: 'Noto Sans Bengali', sans-serif; transition: all 0.3s; background: rgba(0, 0, 0, 0.2); color: #fff; }
    .search-box input::placeholder { color: #b0c4de; }
    .search-box input:focus, .date-box input:focus { outline: none; border-color: #4da3ff; box-shadow: 0 0 10px rgba(77, 163, 255, 0.3); background: rgba(0, 0, 0, 0.4); }
    .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #b0c4de; font-size: 16px; pointer-events: none; }
    .date-box { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #b0c4de; }
    .date-box input { padding: 9px 12px; border: 1px solid rgba(77, 163, 255, 0.3); border-radius: 8px; font-family: 'Noto Sans Bengali', sans-serif; font-size: 14px; background: rgba(0, 0, 0, 0.2); color: #fff; transition: all 0.3s; }
    .date-box input::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }

    /* ================= মোবাইল রেসপন্সিভ ================= */
    @media (max-width: 768px) {
      .mobile-menu-btn { display: flex; }
      .home-hero-layout { position: relative; padding-top: 60px; flex-direction: column; gap: 30px; }
      .hero-left { flex: 0 0 100%; max-width: 100%; }
      .hero-right-menu { display: none !important; }

      .hero-title { text-align: center; }
      .hero-brand-en { text-align: center; }
      .hero-slogan-bn {
        font-size: clamp(16px, 4.5vw, 24px);
        text-align: center;
        border-left: none;
        border-top: 4px solid #4da3ff;
        padding-left: 0; padding-top: 15px;
      }
      .hero-slogan-en {
        font-size: clamp(12px, 3.2vw, 18px);
        text-align: center;
        border-left: none;
        border-top: 4px solid #00e5ff;
        padding-left: 0; padding-top: 15px;
      }

      .top-header { padding: 15px 20px; }
      .header-right { gap: 15px; flex-wrap: wrap; }

      .involve-grid, .member-sub-grid, .form-row, .admin-role-grid,
      .admin-dashboard-grid, .admin-dashboard-grid.three-col, .office-admin-grid {
        grid-template-columns: 1fr;
      }

      .shape:nth-child(4), .shape:nth-child(5), .shape:nth-child(6) { display: none; }

      .filter-box { flex-direction: column; align-items: stretch; }
      .search-box { width: 100%; margin-right: 0; }
      .date-box { width: 100%; justify-content: space-between; }
      .date-box input { width: 48%; }

      /* ✅ মোবাইলে রেজিস্ট্রেশন / আপডেট ফর্ম (ছবি সবার আগে) */
      .reg-layout-wrapper { 
        display: flex !important;
        flex-direction: column !important; 
        gap: 20px;
      }
      .reg-image-section { 
        display: flex !important;
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
        width: 100% !important;
        order: 1 !important; /* ছবি সবার আগে */
        margin-bottom: 15px;
      }
      .reg-form-section { 
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
        width: 100% !important;
        order: 2 !important; /* ফর্ম তথ্য দ্বিতীয় */
      }
      
      /* ✅ মোবাইলে ঠিকানার ফিল্ডগুলো সাজানোর নতুন নিয়ম */
      .address-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important; 
      }
      .mobile-address-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
        margin-bottom: 25px;
      }
      .address-grid-header {
        width: 100% !important;
        display: block !important;
        margin-bottom: 5px !important;
        margin-top: 0 !important;
        box-sizing: border-box !important;
      }
      .grid-header-present,
      .grid-header-permanent {
        grid-column: auto !important; /* গ্রিড স্প্যান রিমুভ করলাম */
        margin-top: 0 !important;
      }
      .address-item {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
      }

      .main-wrapper { padding: 25px 15px; }
  
      /* ===== মোবাইলে পোস্ট ফিড (এক কলাম) ===== */
      .post-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }
      .post-image {
        height: auto;
        max-height: 400px;
      }
      .post-content {
        padding: 15px 16px 18px;
      }
      .post-headline {
        font-size: 17px;
      }
      .post-excerpt {
        font-size: 14px;
      }
    }

    /* ================= Tablet (769px - 1024px) — DESKTOP VIEW ================= */
    @media (min-width: 769px) and (max-width: 1024px) {
      /* Homepage Tablet */
      .home-hero-layout { gap: 20px; }
      .hero-left { flex: 0 0 65%; max-width: 65%; }
      .hero-right-menu { flex: 0 0 35%; max-width: 35%; gap: 12px; }
      
      .hero-title { font-size: 70px; }
      .hero-brand-en { font-size: 50px; }
      .hero-slogan-bn { font-size: 22px; padding-left: 15px; border-left-width: 4px; }
      .hero-slogan-en { font-size: 15px; padding-left: 15px; border-left-width: 4px; }
      
      .home-menu-card { padding: 18px 10px; }
      .menu-icon { font-size: 26px; }
      .menu-text { font-size: 13px; }
      
      /* Dashboard Tablet - Post Grid 2 column */
      .post-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 18px;
      }
      .post-image { height: 180px; }
      .post-headline { font-size: 17px; }
      .post-excerpt { font-size: 13px; }
      
      /* Services Tablet */
      .involve-grid { grid-template-columns: repeat(3, 1fr); }
      .member-sub-grid { grid-template-columns: repeat(2, 1fr); }
      .admin-role-grid { grid-template-columns: repeat(2, 1fr); }
      .admin-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
      .admin-dashboard-grid.three-col { grid-template-columns: repeat(3, 1fr); }
      .office-admin-grid { grid-template-columns: repeat(2, 1fr); }
      
      /* Form Tablet */
      .form-row { grid-template-columns: 1fr 1fr; }
      .main-wrapper { padding: 30px 18px; }
      
      /* ✅ Registration & Update Form Tablet — DESKTOP LAYOUT */
      .reg-layout-wrapper { 
        flex-direction: row;   /* ডেস্কটপের মতো */
        gap: 25px; 
      }
      .reg-image-section { 
        flex: 0 0 35%; 
        max-width: 35%; 
        order: 2; /* ডানে ছবি */
      }
      .reg-form-section { 
        flex: 1; 
        order: 1; /* বামে ফর্ম */
      }
      .address-grid { 
        grid-template-columns: repeat(4, 1fr); /* ৪ কলাম */
      }
      .grid-header-present { 
        grid-column: 1 / 3; /* ২ কলাম জুড়ে */
      }
      .grid-header-permanent { 
        grid-column: 3 / 5; /* ২ কলাম জুড়ে */
      }
      
      /* Notice Board Tablet */
      .notice-table-container, .post-table-container, .membership-table-container { 
        padding: 15px; 
        overflow-x: auto;
      }
      th { padding: 12px 10px; font-size: 13px; }
      td { padding: 12px 10px; font-size: 13px; }
      
      /* Membership Tablet */
      .membership-stats { grid-template-columns: repeat(3, 1fr); }
    }

    /* ================= Notice & Delete Notice: Mobile Horizontal Scroll ================= */
    @media (max-width: 768px) {
      .notice-table-container {
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px;
      }
      #noticeTable, #deleteNoticeTable {
        min-width: 600px;
        width: 100%;
        table-layout: auto;
      }
      #noticeTable thead th, #deleteNoticeTable thead th {
        background: rgba(10, 26, 60, 0.98);
        padding: 12px 10px;
        font-size: 13px;
        white-space: nowrap;
        position: sticky;
        top: 0;
        z-index: 5;
      }
      #noticeTable td, #deleteNoticeTable td {
        padding: 12px 10px;
        font-size: 13px;
        white-space: nowrap;
        vertical-align: middle;
      }
      #noticeTable td:nth-child(2), #deleteNoticeTable td:nth-child(3) {
        min-width: 200px;
        white-space: normal;
        line-height: 1.4;
      }
      .notice-table-container::-webkit-scrollbar { width: 6px; height: 6px; }
      .notice-table-container::-webkit-scrollbar-thumb { background: #4da3ff; border-radius: 10px; }
    }

    /* খুব ছোট ফোন */
    @media (max-width: 380px) {
      .hero-title { font-size: 34px; }
      .hero-brand-en { font-size: 30px; }
      .page-title { font-size: 20px; }
      .menu-text { font-size: 13px; }
      .menu-icon { font-size: 26px; }
    }
/* ================= SERVICES (আইকন ছাড়া) ================= */
.services-intro {
  color: #c7d8f0;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 26px;
  max-width: 900px;
}
.services-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.secondary-btn, .back-btn, .card-link-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.secondary-btn:hover, .back-btn:hover, .card-link-btn:hover { background: rgba(255, 255, 255, 0.18); }

/* ================= রেজিস্ট্রেশন ফর্ম ================= */
.psd-upload-group { margin-top: 20px; }
.field-note { display: block; margin-top: 6px; font-size: 12px; color: #9db4d0; }
.psd-upload-group input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(77, 163, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
}
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; line-height: 1.6; display: none; }
.form-status:not(:empty) { display: block; }
.form-status.info { color: #8cc4ff; }
.form-status.success { color: #3ddc97; }
.form-status.error { color: #ff7a7a; }

/* ================= MEMBER CARD ================= */
.member-card-box { display: flex; justify-content: center; margin-top: 26px; }
.member-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #c9d8ea;
  border-top: 6px solid #0d2f5c;
  border-radius: 16px;
  padding: 16px 20px 14px;
  color: #12233a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  font-family: 'Noto Sans Bengali', sans-serif;
}
.mc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #cfd8e6; padding-bottom: 8px; }
.mc-org { font-size: 18px; font-weight: 700; color: #0d2f5c; }
.mc-sub { font-size: 10px; letter-spacing: 0.4px; color: #6b86a8; text-transform: uppercase; }
.mc-body { display: flex; gap: 16px; padding: 14px 0 10px; }
.mc-photo { width: 88px; height: 104px; object-fit: cover; border-radius: 8px; border: 2px solid #0d2f5c; background: #eef4fb; flex: 0 0 auto; }
.mc-photo-empty { display: flex; align-items: center; justify-content: center; font-size: 11px; color: #6b86a8; text-align: center; }
.mc-info { flex: 1; min-width: 0; }
.mc-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; color: #0d2f5c; }
.mc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 2px 0; }
.mc-row span { color: #5b7fae; }
.mc-row b { font-weight: 600; text-align: right; color: #12233a; }
.mc-foot { display: flex; justify-content: space-between; font-size: 11px; color: #6b86a8; border-top: 1px solid #cfd8e6; padding-top: 8px; }
.card-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.card-toolbar .form-submit-btn { width: auto; margin: 0; padding: 11px 22px; }

/* ================= PDF টেমপ্লেট (লুকানো) ================= */
#pdf-template { position: fixed; left: -10000px; top: 0; width: 794px; background: #ffffff; color: #111111; font-family: 'Noto Sans Bengali', sans-serif; }
/* A4: left/right ১ ইঞ্চি (96px), top/bottom ০.২ ইঞ্চি (19px) */
.pdf-page { width: 794px; min-height: 1000px; padding: 19px 96px; background: #ffffff; color: #111111; box-sizing: border-box; }
.pdf-head { display: flex; justify-content: space-between; align-items: flex-end; }
.pdf-org { font-size: 26px; font-weight: 700; color: #0d2f5c; }
.pdf-est { font-size: 12px; color: #444444; }
.pdf-rule { height: 3px; background: #0d2f5c; margin: 10px 0 18px; }
.pdf-top { display: flex; gap: 22px; align-items: flex-start; }
.pdf-meta { flex: 1; }
.pdf-meta p { font-size: 14px; line-height: 1.9; margin: 0; color: #111111; }
.pdf-meta p span { font-weight: 600; color: #333333; }
.pdf-photo { width: 120px; height: 145px; border: 2px solid #0d2f5c; border-radius: 6px; overflow: hidden; flex: 0 0 auto; background: #f2f2f2; }
.pdf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdf-section-title { margin: 18px 0 8px; font-size: 15px; font-weight: 700; color: #0d2f5c; border-bottom: 1px solid #cfd8e6; padding-bottom: 4px; }
.pdf-addr { width: 100%; border-collapse: collapse; font-size: 13px; }
.pdf-addr th, .pdf-addr td { border: 1px solid #b9c5d6; padding: 7px 10px; text-align: left; vertical-align: top; color: #111111; }
.pdf-addr th { background: #eaf0f8; font-weight: 700; color: #0d2f5c; }
.pdf-issue { margin-top: 22px; border-top: 1px solid #cfd8e6; padding-top: 10px; font-size: 13px; color: #111111; }

/* ---------------- পোস্ট সংযুক্তি ও খালি অবস্থার লেখা ---------------- */
.post-attachment {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 8px;
  text-decoration: none;
}
.post-attachment + .post-attachment { margin-left: 8px; }
.post-attachment:hover { background: rgba(0, 229, 255, 0.22); }

.empty-note {
  grid-column: 1 / -1;
  padding: 26px 10px;
  text-align: center;
  font-size: 15px;
  color: #b0c4de;
}
#noticeTbody .empty-note { padding: 22px 10px; display: block; }
