body{
  margin:0;
  font-family: Georgia, serif;
  background:#f3f3f3;
  color:#222;
}

a{
  text-decoration:none;
}

.research-container{
  max-width:1100px;
  margin:0 auto;
  padding:24px 18px 50px;
}

.research-header{
  margin-bottom:28px;
}

.breadcrumb{
  font-size:14px;
  margin-bottom:10px;
  color:#666;
}

.breadcrumb a{
  color:#0d47a1;
}

.research-header h1{
  margin:0 0 10px;
  font-size:34px;
  color:#ef6c00;
  line-height:1.2;
}

.subtitle{
  margin:0;
  font-size:17px;
  color:#555;
  line-height:1.7;
}

.section-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:20px;
}

.section-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:110px;
  border-radius:18px;
  padding:20px 16px;
  color:#fff;
  text-align:center;
  box-shadow:0 10px 24px rgba(0,0,0,0.12);
  transition:0.25s ease;
}

.section-card:hover{
  transform:translateY(-4px);
}

.section-icon{
  font-size:30px;
  margin-bottom:10px;
}

.section-title{
  font-size:20px;
  font-weight:bold;
  line-height:1.4;
  color:#fff;
}

.textbook-card{
  background:linear-gradient(135deg,#2e7d32,#81c784);
}

.question-card{
  background:linear-gradient(135deg,#0d47a1,#64b5f6);
}

.saao-card{
  background:linear-gradient(135deg,#6a1b9a,#ce93d8);
}

.scientific-card{
  background:linear-gradient(135deg,#ef6c00,#ffb74d);
}

.info-box{
  margin-top:30px;
  background:#ffffff;
  border-left:5px solid #ef6c00;
  padding:18px 16px;
  border-radius:14px;
  box-shadow:0 6px 14px rgba(0,0,0,0.06);
}

.info-box h3{
  margin:0 0 10px;
  font-size:18px;
}

.info-box p{
  margin:0;
  color:#555;
  line-height:1.7;
}

.back-wrap{
  margin-top:24px;
  text-align:center;
}

.back-btn{
  display:inline-block;
  background:#eef2f6;
  color:#333;
  padding:10px 16px;
  border-radius:10px;
  font-size:14px;
  font-weight:bold;
}

.section-list{
  max-width:980px;
  margin:24px auto 0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.list-card{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:14px;
  background:#fff;
  border-radius:14px;
  padding:14px 16px;
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
  border:1px solid #e8edf2;
  transition:0.2s ease;
}

.list-card:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 16px rgba(0,0,0,0.08);
}

.list-card-left{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}

.list-icon{
  font-size:20px;
  line-height:1;
  margin-top:3px;
  flex-shrink:0;
}

.list-content{
  min-width:0;
}

.list-title{
  display:block;
  font-size:16px;
  font-weight:bold;
  color:#1a1a1a;
  line-height:1.5;
  word-break:break-word;
}

.list-subtitle{
  display:block;
  font-size:13px;
  color:#666;
  line-height:1.6;
  margin-top:4px;
  word-break:break-word;
}

.badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:bold;
  white-space:nowrap;
  flex-shrink:0;
}

.free-badge{
  background:#e8f5e9;
  color:#2e7d32;
}

.premium-badge{
  background:#fff3e0;
  color:#ef6c00;
}

.page-box{
  background:#fff;
  border-radius:16px;
  padding:18px;
  box-shadow:0 6px 14px rgba(0,0,0,0.06);
  border:1px solid #e8edf2;
}

.empty-note{
  color:#777;
  line-height:1.7;
}

.article-content{
  line-height:1.8;
  font-size:16px;
  color:#333;
}

.article-content h2{
  margin-top:0;
  color:#ef6c00;
}

.article-content ul{
  padding-left:20px;
}

.premium-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:99999;
}

.premium-popup-box{
  width:100%;
  max-width:460px;
  background:#fff;
  border-radius:18px;
  padding:24px 20px;
  box-shadow:0 16px 36px rgba(0,0,0,0.22);
  text-align:center;
}

.premium-popup-box h3{
  margin:0 0 12px;
  font-size:22px;
  color:#ef6c00;
}

.premium-popup-box p{
  margin:0;
  color:#555;
  font-size:15px;
  line-height:1.7;
}

.premium-popup-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:20px;
}

.popup-btn{
  display:inline-block;
  border:none;
  border-radius:12px;
  padding:11px 16px;
  font-size:14px;
  font-weight:bold;
  cursor:pointer;
  text-decoration:none;
}

.popup-login-btn{
  background:#ef6c00;
  color:#fff;
}

.popup-whatsapp-btn{
  background:#2e7d32;
  color:#fff;
}

.popup-close-btn{
  background:#eef2f6;
  color:#333;
}

@media (max-width:700px){
  .research-container{
    padding:20px 14px 40px;
  }

  .research-header h1{
    font-size:28px;
  }

  .subtitle{
    font-size:16px;
  }

  .section-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .section-card{
    min-height:90px;
    padding:18px 14px;
  }

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

  .list-card{
    grid-template-columns:1fr;
    align-items:flex-start;
  }

  .badge{
    margin-top:6px;
  }

  .list-title{
    font-size:15px;
  }

  .list-subtitle{
    font-size:12px;
  }
  }
.semester-grid{
  grid-template-columns:repeat(auto-fit,minmax(170px,220px));
  justify-content:center;
}

.semester-card{
  min-height:70px;
  padding:16px 12px;
  border-radius:14px;
  background:linear-gradient(135deg,#2e7d32,#66bb6a);
  box-shadow:0 8px 18px rgba(0,0,0,0.10);
}

.semester-card .section-title{
  font-size:17px;
  color:#fff;
}/* Login Form Box */
.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border: 1px solid #e8edf2;
  margin-top: 20px;
}

/* Input Fields */
.form-input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s ease;
}

.form-input:focus {
  border-color: #ef6c00;
  outline: none;
  box-shadow: 0 0 6px rgba(239,108,0,0.3);
}

/* Login Box */
.login-box {
  background: #f9f9ff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Login Header */
.agriculture-header h1 {
  color: #6a1b9a; /* বেগুনি */
  font-size: 24px;
  margin-bottom: 10px;
}

.subtitle {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Input Fields */
.form-input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s ease;
}

.form-input:focus {
  border-color: #6a1b9a;
  outline: none;
  box-shadow: 0 0px 6px rgba(106,27,154,0.3);
}

/* Login Button */
.login-submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6a1b9a, #9575cd);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-bottom: 15px;
}

.login-submit-btn:hover {
  background: linear-gradient(135deg, #4a148c, #7e57c2);
  transform: translateY(-2px);
}

/* Logout Button */
.logout-btn {
  margin-top: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #ef6c00, #ff9800);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.logout-btn:hover {
  background: linear-gradient(135deg, #e65100, #f57c00);
  transform: translateY(-2px);
}

/* Login Status */
.login-status-text {
  margin-top: 12px;
  font-size: 15px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  background: #fff3e0;
  color: #ef6c00;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Message Box */
.message-box {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.error-box {
  background: #ffebee;
  color: #c62828;
  border-left: 4px solid #c62828;
}

.success-box {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #2e7d32;
}

/* Info Box */
.info-box {
  background: #eef2ff;
  border-left: 4px solid #6a1b9a;
  padding: 15px;
  margin-top: 20px;
  border-radius: 6px;
}
