/* =========================
   ROOT THEME
========================= */
:root {
  --primary: #0ea5ff;
  --primary-dark: #0284c7;
  --accent: #d9f70f;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbe3ee;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1240px;
  --transition: 0.3s ease;
}

:root {
  --primary: #0ea5ff;
  --primary-dark: #0284c7;
  --accent: #d9f70f;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbe3ee;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.14);
}

section ,div{
    font-family: inherit !important;
}

html {
  scroll-behavior: smooth;
}

.image-search-thumb img {
    width: 135px;
    height: 212px;
    display: block;
    object-fit: cover;
}

.archive-search-thumb img {
    max-width: 135px !important;
    height: 212px;
    display: block;
    object-fit: cover;
}

.counter-item{
    text-decoration:none;
}


/* ==== search in view all ===== */

.category-top-search {
    margin-bottom: 24px;
}

.top-search-form {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.top-search-input {
    flex: 1;
    min-width: 280px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.top-search-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

.top-search-btn:hover {
    background: #444;
}

.top-search-count {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* =========================
   TOP BAR
========================= */
.topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  padding: 12px 0;
}

.topbar-inner {
  width: min(100% - 32px, var(--container));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-sm);
}

.icon:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

/* Individual Colors */
.fb { background: #1877f2; }
.ig { background: linear-gradient(135deg, #fd5949, #d6249f, #285AEB); }
.pin { background: #e60023; }
.yt { background: #ff0000; }
.map { background: #22c55e; }
.tw { background: #1d9bf0; }
.tk { background: #111111; }

/* Search */
.search-wrapper {
  display: flex;
  width: min(100%, 460px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.topbar .search-input {
  flex: 1;
  height: 46px;
  border: none;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  background: transparent;
}

.search-button {
  width: 60px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: filter var(--transition);
}

.search-button:hover {
  filter: brightness(1.05);
}

/* =========================
   MAIN HEADER
========================= */
.main-header {
  background: var(--surface);
  padding: 20px 0;
}

.main-header-inner {
  width: min(100% - 32px, var(--container));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-logo {
  height: 50px;
  width: auto;
  margin-left: 0;
  object-fit: contain;
      transform: scale(1.4);
    transform-origin: center;
}

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  margin-right: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface-2);
  transition: transform var(--transition), background var(--transition);
}

.login-link:hover {
  transform: translateY(-2px);
  background: #e8eef6;
}

/* =========================
   HERO BANNER
========================= */
.hero-banner {
  position: relative;
  min-height: 700px;
  background:
    linear-gradient(rgba(8, 15, 31, 0.55), rgba(8, 15, 31, 0.65)),
    url("https://static.wixstatic.com/media/95504a_517c8f8d45e34a2b9e0afe5de76ec78d~mv2.jpg/v1/fill/w_1920,h_552,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/95504a_517c8f8d45e34a2b9e0afe5de76ec78d~mv2.jpg") center/cover no-repeat;
  display: flex;
      flex-direction: column;
  align-items: center;

  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

.about_section {
    position: relative;
    justify-content: center;
    padding-block-start: 120px;
    text-align: center;
    max-width: 1190px;
    margin: auto;
}
.about_section p {
        font-size: large;
        text-align: start;
}

.about_us{
    max-width: 1190px;
        margin: auto;
        position: relative;
    justify-content: center;

 }

 .about_us .content1, .content2 {
    background: #7fcfff0f;
    padding: 20px;
    box-shadow: 0 15px 20px -10px rgba(0, 0, 0, 0.15);
    margin-bottom: 70px;
}

 .about_us .content2{
    margin-top: 70px;
}

 .about_us .content3{
    margin-top: 70px;
}

 .about_us .content4{
    margin-top: 70px;
}


.main_resources{
        display: flex;
    gap: 20px;
    text-align: start;
}

.more_aboutus{
    display:flex;
    justify-content:space-between;
}
.more_aboutus p{
    max-width:580px
}

.read_more_button{
        position: relative;
    left: 45%;
    background: black;
    color: #ffff;
    border-radius: 6px;
    padding: 5px 10px;
}



.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 110px 20px;
  animation: fadeUp 0.9s ease both;
}

.hero-subtitle {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 10px 0 18px;
}

.hero-text {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  border: none;
  background: linear-gradient(135deg, var(--accent), #b9e70d);
  color: #111;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.4px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);

}

.hero-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
  box-shadow: var(--shadow-lg);
}

/* =========================
   NAVBAR
========================= */
.nav-top {
      position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgb(8 14 32 / 7%);
    backdrop-filter: blur(5px);
}

.nav-top.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.nav-bar {
  width: 100%;

  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 50px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.18);
}
.nav-bar_nav-bottom {
  width: 100%;
  background: rgba(14, 165, 255, 0.9);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.18);
}

.nav-item_bottom {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    /* border: 1px solid rgba(255, 255, 255, 0.18); */
    border-radius: 0px;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-item {
         background: linear-gradient(135deg, #0f172a, #020617);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-item:hover {
  transform: translateY(-2px);
  background: white;
    color: var(--primary-dark);
    border-color: #e5e5e5;
}


.archive_filter-bar {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin: auto;
    width: 877px;
    margin-bottom: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item.active {
  background: #f6f6f6ad;
    color: var(--primary-dark);
    border-color: #e5e5e5;
}

.menu-toggle {
    display: none;
    width: 50px;
    height: 73px;
    border: none;
        background: linear-gradient(135deg, #ffffff00, #02061700);

    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: 0.3s ease;
}

/* animate hamburger to X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* wrapper for nav links */
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

/* login visibility control */
.mobile-login {
  display: none;
}

.desktop-login {
  display: block;
}

/* =========================
   COUNT SECTION
========================= */
.count-section {
  padding: 80px 0;
  text-align: center;
  background: var(--surface);
}

.count-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 24px;
}

.count-search {
  display: flex;
  justify-content: center;
}

.count-input {
  width: min(100%, 600px);
  padding: 15px 18px;
  font-size: 16px;
  border: 1px solid var(--border);
  background: #ffffff08;
  border-radius: 999px 0 0 999px;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.count-btn {
  width: 58px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 0 999px 999px 0;
  box-shadow: var(--shadow-sm);
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(100%, 1200px);
  margin: auto;
}

.count-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 28px 24px;
  text-align: left;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.count-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.count-box p {
  margin: 0;
  font-size: 15px;
  opacity: 0.92;
}

.count-box h3 {
  margin: 6px 0 0;
  font-size: 30px;
  font-weight: 800;
}

.count-icon {
  font-size: 38px;
}

.count-box.blue {
  background: linear-gradient(135deg, #0ea5ff, #0284c7);
}

.count-box.dark {
  background: linear-gradient(135deg, #0f172a, #020617);
}

/* =========================
   PAGE WRAP
========================= */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

/* Top Search */
.top-search {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.page-wrap .search-input {
    width: min(100%, 920px);
    padding: 12px 20px;
    border: 1px solid var(--border);
    font-size: 16px;
    outline: none;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    /* flex: 1; */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

/* Filter Bar */
.filter-bar {
      display: flex;
    justify-content: space-around;
    gap: 12px;
    margin: auto;
    width: 783px;
    margin-bottom: 40px;
    align-items: center;

}

.filter-bar select,
.filter-bar button {
  padding: 12px 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
    width: 155px;

  text-align: center;
  cursor: pointer;
}

.archive_filter-bar select,
.archive_filter-bar button {
  padding: 12px 18px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  min-width: 160px;
  text-align: center;
  cursor: pointer;
}


.tab-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.tab-btn.active {
  background: #fff;
}

/* Header Section */
.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.collection-header .small-title {
  font-size: 16px;
  margin: 0;
  color: var(--muted);
}

.collection-header h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 6px 0 0;
  letter-spacing: 1px;
}

.collection-header .count {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #26aeff;
}


.title-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.slideshow-btn {
display:none;
  background: #111827;
  color: #fff;
  padding: 12px 24px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), background var(--transition);
}

.slideshow-btn:hover {
  transform: translateY(-2px);
  background: #000;
}

.divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, #cfd8e3, transparent);
  margin: 14px 0 28px;
}

.category-section {
  margin-bottom: 70px;
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card {
  background: #fff;
  text-align: center;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(219, 227, 238, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #b9dfff;
}

.card img {
  width: 100%;
  height:250px;
  object-fit: cover;
}

.card-title {
    /* margin: 5px; */
        background: linear-gradient(135deg, #0ea5ff, #0284c7) !important;
    /* border-radius: 1rem; */
    color: #ffffff !important;
    width:100%;
    font-size: 14px;
    font-weight: 600;
    padding: 16px 14px;
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.45;
    margin-bottom:0px !important;
}


.placeholder-image{
        width: 100%;
    height: 250px;
    object-fit: cover;
        position: relative;
}

.pdf-preview{
    height:250px;
}

.card.view-all {
    /* background: linear-gradient(135deg, #26aeff, #26aeff91); */
    color: #26aeff;
    min-height: 85px;
    box-shadow:none;
        min-height: 45px;
        margin-top: 67%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
}

.view-all .card-title{
    background:#26aeff !important;
    width:150px !important;
        min-height: 30px;
    position: relative;
  transition: all 0.3s ease-in-out;
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(0 107 179);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  cursor: pointer;
}



/* =========================
   DETAIL PAGE
========================= */
.detail-page {
  max-width: 1000px;
  margin: 50px auto 70px;
  text-align: center;
  color: var(--text);
  padding: 0 20px;
}

.detail-title {
  font-size: 28px;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align:center;
}

.detail-meta {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.meta-icon {
  font-size: 40px;
  margin-bottom: 8px;
  color: var(--primary);
}



.detail-ref {
  font-size: 13px;
  letter-spacing: 1px;
      width: 99px;
    margin: auto;
  margin-bottom: 12px;
  color: var(--muted);
}

.detail-line {
  width: 90px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto;
  border-radius: 999px;
}

/* =========================
   CATEGORY PAGE
========================= */
.category-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 16px;
}

.filters {
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 110px;
}

.filters h3 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.filter-form {
  display: flex;
  flex-direction: column;
  text-align: start;
  gap: 5px;
}

.filter-block {
  margin-bottom: 10px;
}

.filter-block h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

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

.filters li {
  margin: 12px 0;
}

.filters a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}

.filters a:hover {
  color: #26aeff;
  transform: translateX(3px);
}

.filters a.active {
  color: var(--primary-dark);
  font-weight: 800;
}

.filter-select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  padding-right: 42px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background-color: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.filter-select:hover {
  border-color: #26aeff;
}

.filter-select:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-actions {
    display: flex;
    flex-direction: row;
    /* gap: 10px; */
    margin-top: 4px;
    justify-content: space-around;
}


.filter-btn,
.clear-btn {
  height: 46px;
  width: 115px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-btn {
  border: none;
  background: #26aeff;
  color: #fff;
  cursor: pointer;
}

.filter-btn:hover {
  cursor: pointer;
  bottom:1px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  position:relative;
}

.clear-btn {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: var(--text);
}

.clear-btn:hover {
  cursor: pointer;
  bottom:1px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  position:relative;
}


.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.category-card {
  border: 1px solid rgba(219, 227, 238, 0.9);
  background: #fff;
  text-align: center;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.category-card-title {
  background: #fff;
  color: var(--text);
  padding: 16px 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.45;
}

/* Pagination */
.pagination {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pagination a {
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 10px 14px;
  color: var(--primary-dark);
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================
   AUTOCOMPLETE
========================= */
.autocomplete {
  position: relative;
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 76%;
    margin-inline: 12%;
  max-height: 300px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  border-radius: 18px;
}

.suggestion-item {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid #edf2f7;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: #eef8ff;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--surface);
  text-align: center;
  padding-top: 70px;
}

.site-footer .icon {
  width: 50px;
  height: 50px;
  font-size: 28px;
  border-radius: 18px;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.footer-content h2 {
  font-size: 32px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: 800;
}

.footer-content p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  font-style: normal;
  line-height: 1.7;
}

.footer-bottom {
        background: linear-gradient(135deg, #0f172a, #020617);
    color: rgba(255, 255, 255, 0.9);
    padding: 22px 10px;
    font-size: 14px;
    margin-top: 25px;
}

/* =========================
   REVEAL ANIMATION CLASSES
========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  text-align:center;

  transform: translateY(0);
}

.archive-search-thumb{
    width: 208px;
}

.float-in {
  animation: fadeUp 0.8s ease both;
}

.pulse-hover:hover {
  animation: pulseSoft 0.8s ease;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseSoft {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}


/* ===================
    ARCHIVE_TRANSLATION
========================*/


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .category-page {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .count-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-meta {
    gap: 24px;
  }

  .image-frame {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
.count-section ,.about_section ,.faq_section,.footer-content,.about_us {
    padding-inline: 8px;
}

.navigation-card {
    width: fit-content;
    height: fit-content;
    width: 200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 50px;
}

.read_more_button {
    position: relative;
    left: 33%;
}
.more_aboutus , .main_resources {
    display: flex;
    flex-direction:column;

}
.archive_filter-bar {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin: auto;
            width: 280px !important;
    margin-bottom: 40px;
    align-items: center;
    flex-wrap: wrap;
}
.filter-bar {
    display: block;
    justify-content: space-around;
    gap: 12px;
    margin: auto;
    width: 321px  !important;
    margin-bottom: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-bar select, .filter-bar button, .archive_filter-bar button ,.archive_filter-bar select {
    padding: 12px 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 15px;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

#introVideo{
    height: 200px !important;
    width: 330px !important;
    border: 1px solid #cccbcb;
}

  .topbar-inner,
  .main-header-inner,
  .collection-header,
  .title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 73px 20px;
}

  .site-logo {
    height: 74px;
    margin: 0 auto;
  }

  .login-link {
    justify-content: center;
  }

      nav-bar {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    max-height: none;
    position: relative;
  }
  .menu-toggle {
    display: flex;
  }

  .desktop-login {
    display: none;
  }

  .mobile-login {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 15px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.18);
}



  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 14px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 1000;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-item {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .grid,
  .category-grid,
  .count-grid {
    grid-template-columns: 1fr;
  }

  .image-frame {
    min-height: 300px;
    border-radius: 18px;
  }

  .hero-banner {
    min-height: 420px;
  }

  .hero-text {
    font-size: 16px;
  }

  .footer-icons
 {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}
}

@media (max-width: 840px) {
.count-section ,.about_section ,.faq_section,.footer-content,.about_us {
    padding-inline: 8px;
}

.faq_image img {
    position: relative;
    top: 275px;
    opacity: 90%;
}

.read_more_button {
    position: relative;
    left: 33%;
}
.more_aboutus , .main_resources {
    display: flex;
    flex-direction:column;

}

.documents_button button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    font-size: 20px;
    font-weight: 600;
    width: 220px;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.archive_filter-bar {
        display: flex;
        justify-content: space-around;
        gap: 12px;
        margin: auto;
                width: 790px ;
        margin-bottom: 40px;
        align-items: center;
        /* flex-wrap: wrap; */
    }
    .filter-bar {
        display: block;
        justify-content: space-around;
        gap: 12px;
        margin: auto;
        /* width: 808px !important; */
        margin-bottom: 40px;
        align-items: center;
        /* flex-wrap: wrap; */
    }
    .filter-bar > * {
        margin-bottom: 12px;  /* 👈 acts like gap */
    }

    .filter-bar > *:last-child {
        margin-bottom: 0; /* remove extra space at end */
    }

.filter-bar select, .filter-bar button, .archive_filter-bar button ,.archive_filter-bar select {
    padding: 12px 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 15px;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

#introVideo{
    height: 200px !important;
    width: 330px !important;
    border: 1px solid #cccbcb;
}

  .topbar-inner,
  .main-header-inner,
  .collection-header,
  .title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 73px 20px;
}

  .site-logo {
    height: 74px;
    margin: 0 auto;
  }

  .login-link {
    justify-content: center;
  }

      nav-bar {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    max-height: none;
    position: relative;
  }
  .menu-toggle {
    display: flex;
  }

  .desktop-login {
    display: none;
  }

  .mobile-login {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 15px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.18);
}



  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 14px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 1000;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-item {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .grid,
  .category-grid,
  .count-grid {
    grid-template-columns: 1fr;
  }

  .image-frame {
    min-height: 300px;
    border-radius: 18px;
  }

  .hero-banner {
    min-height: 420px;
  }

  .hero-text {
    font-size: 16px;
  }

  .footer-icons
 {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

}
.paper-search-results-wrap {
    margin-top: 30px;
}

.paper-search-summary {
    text-align: center;
    margin-bottom: 30px;
}

.search-results-label {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #333;
}

.paper-search-summary h2 {
    font-size: 42px;
    margin: 0 0 20px;
    color: #111;
}

.search-query-title {
        max-width: 1200px;
    margin: 0 auto;
    padding: 5px 24px;
    border: 2px solid #14aaf591;
    font-size: 28px;
    line-height: 1.4;
    color: #111111a8;
    background: #ffffff;
}

.paper-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}



.paper-search-card {
        display: flex;
        gap: 25px;
        background: #7fcfff1c;
    padding: 24px;
    border-radius: 1rem;
        border-bottom: 1px solid #26aeff4a;
    text-decoration: none;
    color: #000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paper-search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.paper-search-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paper-search-content h3 {
    font-size: 28px;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #000;
}

.paper-search-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: #111;
}

.paper-search-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.paper-search-meta span {
        font-size: 14px;
    background: rgb(215 212 255 / 39%);
    padding: 6px 10px;
    color: #111;
    border-radius: 0.5rem;
}

@media (max-width: 991px) {
    .search-query-title {
        font-size: 20px;
        padding: 14px 18px;
    }

    .paper-search-summary h2 {
        font-size: 30px;
    }

    .paper-search-content h3 {
        font-size: 22px;
    }

    .paper-search-content p {
        font-size: 16px;
    }
}

