/* ==========================================================
   IARP MASTER CONSOLIDATED CSS
   Primary Brand Teal: #1d596b | Amber Gold: #d97706
   ========================================================== */

/* ১. গ্লোবাল রিসেট ও বেসিক টাইপোগ্রাফি */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background-color: #ffffff;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ২. গ্লোবাল হেডার ও ন্যাভিগেশন বার */
.iarp-header-navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.iarp-nav-inner-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.iarp-main-nav-logo {
  max-height: 52px;
  width: auto;
  display: block;
}

.iarp-desktop-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.2s ease;
}

.menu-link:hover {
  color: #1d596b;
}

.has-dropdown {
  position: relative;
}

.menu-dropdown-box {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1d596b;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 100;
}

.has-dropdown:hover .menu-dropdown-box {
  display: block;
}

.menu-dropdown-box a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
}

.menu-dropdown-box a:hover {
  background: #f8fafc;
  color: #1d596b;
}

.iarp-nav-right-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-submit-nav {
  background: #1d596b;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-submit-nav:hover {
  background: #143e4b;
  transform: translateY(-1px);
}

.btn-login-outline {
  border: 1px solid #1d596b;
  color: #1d596b;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-login-outline:hover {
  background: #1d596b;
  color: #ffffff;
}

/* ৩. হিরো সেকশন ও পপআপ */
.iarp-hero-section {
  width: 100%;
  background: #0b1417 url('/assets/images/banner.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 55px 0 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.iarp-hero-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
}

.iarp-hero-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.iarp-hero-brand {
  max-width: 70%;
}

.iarp-hero-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}

.iarp-hero-tagline {
  font-size: 14.5px;
  color: #cbd5e1;
}

.iarp-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.iarp-action-link {
  color: #f8fafc;
  font-size: 13.5px;
  font-weight: 600;
}

.iarp-action-link:hover {
  color: #d97706;
  text-decoration: underline;
}

.iarp-action-sep {
  color: #64748b;
}

.iarp-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.iarp-stat-item {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.iarp-stat-divider {
  color: rgba(255,255,255,0.3);
}

.iarp-info-trigger {
  display: inline-flex;
  cursor: pointer;
  margin-left: 7px;
  outline: none;
}

.iarp-info-badge {
  font-size: 13px;
  color: #94a3b8;
  transition: all 0.25s ease;
}

.iarp-info-trigger:hover .iarp-info-badge {
  color: #d97706;
  transform: scale(1.2);
}

.iarp-timeline-popup {
  visibility: hidden;
  opacity: 0;
  width: 310px;
  background-color: #0b1417;
  border: 1px solid #1e293b;
  border-top: 3px solid #d97706;
  border-radius: 6px;
  padding: 14px 16px;
  position: absolute;
  z-index: 1000;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
  transition: all 0.25s ease;
  pointer-events: none;
}

.iarp-info-trigger:hover .iarp-timeline-popup {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.iarp-popup-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 6px;
}

.iarp-popup-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #e2e8f0;
}

/* ৪. কোলাবোরেশন ৪-কার্ড সেকশন */
.iarp-collab-section {
  background: #f8fafc;
  padding: 50px 20px;
}

.iarp-container-boxed {
  max-width: 1400px;
  margin: 0 auto;
}

.collab-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #1d596b;
  margin-bottom: 35px;
}

.iarp-collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.iarp-collab-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #1d596b;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, border-top-color 0.2s ease;
}

.iarp-collab-card:hover {
  transform: translateY(-4px);
  border-top-color: #d97706;
}

.card-icon {
  font-size: 28px;
  color: #1d596b;
  margin-bottom: 12px;
}

.iarp-collab-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.iarp-collab-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.btn-read-more {
  align-self: flex-start;
  background: #1d596b;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn-read-more:hover {
  background: #143e4b;
}

/* ৫. মূল দুই-কলাম লেআউট (জার্নাল ও কুইক ফ্যাক্টস) */
.iarp-main-layout-container {
  max-width: 1600px;
  margin: 45px auto;
  padding: 0 30px;
}

.iarp-content-split-grid {
  display: flex;
  gap: 35px;
  align-items: flex-start;
}

.iarp-journals-primary-col {
  flex: 1 1 72%;
  min-width: 0;
}

.iarp-quick-facts-sidebar-col {
  flex: 0 0 28%;
  position: sticky;
  top: 90px;
}

/* জার্নাল আর্চিভ কার্ড ডিজাইন */
.iarp-journals-header {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1d596b;
  border-radius: 4px;
  padding: 30px;
  margin-bottom: 30px;
}

.iarp-header-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #d97706;
  text-transform: uppercase;
}

.iarp-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #1d596b;
  margin: 8px 0;
}

.iarp-header-divider {
  width: 50px;
  height: 3px;
  background-color: #d97706;
  margin: 0 auto 14px auto;
}

.iarp-section-intro {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}

.iarp-journals-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.iarp-journal-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

.iarp-journal-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.iarp-journal-name a:hover {
  color: #1d596b;
  text-decoration: underline;
}

.iarp-journal-desc {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 15px;
  text-align: justify;
}

.iarp-journal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 4px;
  border-left: 3px solid #1d596b;
  margin-bottom: 18px;
}

.iarp-meta-field {
  font-size: 12.5px;
  font-weight: 500;
}

.iarp-meta-field.full-row {
  grid-column: span 2;
}

.iarp-meta-field .lbl {
  font-weight: 700;
  margin-right: 6px;
}

.iarp-issn-link {
  color: #1d596b;
  text-decoration: underline;
  font-weight: 600;
}

.iarp-card-actions {
  display: flex;
  gap: 12px;
}

.iarp-btn {
  display: inline-flex;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
}

.iarp-btn-primary {
  background: #1d596b;
  color: #ffffff;
  border: 1px solid #1d596b;
}

.iarp-btn-outline {
  background: #ffffff;
  color: #1d596b;
  border: 1px solid #cbd5e1;
}

.iarp-btn-outline:hover {
  border-color: #d97706;
  color: #d97706;
}

.iarp-card-right {
  width: 160px;
  flex-shrink: 0;
}

.iarp-book-cover {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-size: contain !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  border: 1px solid #cbd5e1;
}

.jc-cover-ijbssr { background-image: url('/assets/images/IJBSSR_Cover.png'); }
.jc-cover-jhssr  { background-image: url('/assets/images/jhssr_cover.gif'); }
.jc-cover-ijbass { background-image: url('/assets/images/IJBASS_Cover.png'); }
.jc-cover-ijsspp { background-image: url('/assets/images/IJSSPP_Cover.png'); }
.jc-cover-ijhass { background-image: url('/assets/images/IJHASS_Cover.png'); }

/* সাইডবার কুইক ফ্যাক্টস */
.iarp-quick-facts-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.qf-header {
  background: #f1f5f9;
  border-bottom: 2px solid #1d596b;
  padding: 12px;
  text-align: center;
}

.qf-header h2 {
  font-size: 15px;
  font-weight: 800;
  color: #1d596b;
}

.qf-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qf-group {
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 12px;
}

.qf-group:last-child {
  border-bottom: none;
}

.qf-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d596b;
  margin-bottom: 6px;
}

.qf-timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qf-timeline-list li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
}

.qf-meta-value {
  font-weight: 700;
  color: #1e293b;
}

.qf-link {
  color: #1d596b;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
}

/* ৬. ৩টি কাউন্টার স্ট্যাটস সেকশন */
.iarp-stats-counter-strip {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 40px 20px;
  margin: 40px 0;
}

.iarp-counter-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.counter-number {
  font-size: 42px;
  font-weight: 800;
  color: #1d596b;
  line-height: 1;
}

.counter-number .unit {
  font-size: 20px;
}

.counter-title {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-top: 8px;
}

/* ৭. লেটেস্ট আর্টিকেল ও অ্যানাউন্সমেন্ট গ্রিড */
.iarp-articles-wrapper,
.iarp-announcements-wrapper,
.iarp-home-why-section {
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 20px;
}

.iarp-articles-header,
.iarp-announcements-header,
.iarp-home-why-header {
  text-align: center;
  margin-bottom: 35px;
}

.iarp-article-badge,
.iarp-announcement-badge,
.iarp-badge-gold {
  font-size: 11.5px;
  font-weight: 700;
  color: #d97706;
  letter-spacing: 1.5px;
}

.iarp-article-title,
.iarp-announcement-title,
.iarp-home-why-title {
  font-size: 26px;
  font-weight: 800;
  color: #1d596b;
  margin: 6px 0;
}

.iarp-article-divider,
.iarp-announcement-divider,
.iarp-accent-divider {
  width: 50px;
  height: 3px;
  background-color: #d97706;
  margin: 0 auto 14px auto;
}

.iarp-articles-grid,
.iarp-announcements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.iarp-home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.iarp-paper-card,
.iarp-notice-card,
.iarp-home-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #1d596b;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, border-top-color 0.25s ease;
}

.iarp-paper-card:hover,
.iarp-notice-card:hover,
.iarp-home-why-card:hover {
  transform: translateY(-4px);
  border-top-color: #d97706;
}

.iarp-paper-top,
.iarp-notice-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.iarp-paper-tag,
.iarp-notice-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #15803d;
  background: #f0fdf4;
  padding: 3px 8px;
  border-radius: 3px;
}

.iarp-paper-date,
.iarp-notice-date {
  font-size: 11.5px;
  color: #94a3b8;
}

.iarp-paper-journal-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1d596b;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.iarp-paper-heading,
.iarp-notice-heading,
.iarp-hw-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.iarp-paper-footer,
.iarp-notice-footer,
.iarp-hw-action {
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.iarp-paper-btn,
.iarp-notice-btn,
.iarp-hw-readmore {
  font-size: 12.5px;
  font-weight: 700;
  color: #1d596b;
}

.iarp-paper-btn:hover,
.iarp-notice-btn:hover,
.iarp-hw-readmore:hover {
  color: #d97706;
}

/* ৮. নিউজলেটার বক্স */
.iarp-newsletter-section {
  background: #f8fafc;
  padding: 45px 20px;
  border-top: 1px solid #e2e8f0;
}

.iarp-newsletter-box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.newsletter-title {
  font-size: 22px;
  font-weight: 800;
  color: #1d596b;
  margin-bottom: 4px;
}

.newsletter-sub {
  font-size: 13.5px;
  color: #64748b;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}

.input-email {
  flex: 1;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 14px;
  outline: none;
}

.btn-subscribe {
  background: #1d596b;
  color: #ffffff;
  border: none;
  padding: 0 22px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

/* ৯. ফুটার ও কপিরাইট বার */
.iarp-site-footer {
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
}

.iarp-footer-primary {
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 30px 40px 30px;
}

.iarp-footer-grid-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  max-height: 46px;
  margin-bottom: 18px;
}

.footer-about-text {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-widget-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.iarp-footer-copyright-bar {
  background: #070d17;
  padding: 16px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.iarp-copyright__license {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  margin-top: 6px;
}

/* ১০. রেসপনসিভনেস (ট্যাবলেট ও মোবাইল) */
@media (max-width: 1024px) {
  .iarp-desktop-menu { display: none; }
  .iarp-content-split-grid { flex-direction: column; }
  .iarp-quick-facts-sidebar-col { width: 100%; position: static; }
  .iarp-articles-grid, .iarp-announcements-grid { grid-template-columns: repeat(2, 1fr); }
  .iarp-home-why-grid { grid-template-columns: repeat(2, 1fr); }
  .iarp-footer-grid-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .iarp-collab-grid, .iarp-articles-grid, .iarp-announcements-grid, .iarp-home-why-grid { grid-template-columns: 1fr; }
  .iarp-counter-grid-container { flex-direction: column; gap: 24px; }
  .iarp-newsletter-box { flex-direction: column; align-items: stretch; }
  .iarp-footer-grid-container { grid-template-columns: 1fr; }
}