/* =========================================================
   OJS Custom CSS - Computers and Education Letters
   Clean Flat Modern Style
   ========================================================= */

/* ---------- Base ---------- */
:root {
  --primary: #1f4fa3;
  --secondary: #6c63ff;
  --accent: #00a6d6;
  --text: #1f2937;
  --muted: #5f6b7a;
  --bg: #f4f7fb;
  --white: #ffffff;
  --border: #d9e2ec;
  --light-blue: #eef4ff;
  --light-purple: #f4f1ff;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
  font-size: 15px;
}

/* ---------- Links ---------- */
a {
  color: var(--primary) !important;
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover,
a:focus {
  color: var(--secondary) !important;
  text-decoration: underline;
}

/* ---------- Header ---------- */
.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_structure_head {
  background: #f3f3f3 !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.pkp_site_name {
  padding-top: 14px !important;
  padding-bottom: 10px !important;
}

.pkp_site_name a {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  letter-spacing: 0.2px;
}

.pkp_site_name img {
  max-height: 78px !important;
  width: auto !important;
  vertical-align: middle !important;
}

/* ---------- Top User Nav ---------- */
.pkp_navigation_user_wrapper,
.pkp_navigation_user {
  background: transparent !important;
}

.pkp_navigation_user > li > a {
  color: var(--text) !important;
  font-weight: 500 !important;
}

.pkp_navigation_user > li > a:hover {
  color: var(--secondary) !important;
}

/* ---------- Main Menu ---------- */
.pkp_navigation_primary > li > a {
  color: #222 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  background: transparent !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li.current > a {
  background: var(--light-blue) !important;
  color: var(--primary) !important;
  text-decoration: none !important;
}

/* ---------- Dropdown ---------- */
.pkp_navigation_primary .dropdown-menu,
.pkp_nav_list ul {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.pkp_navigation_primary .dropdown-menu a,
.pkp_nav_list ul a {
  color: var(--text) !important;
  padding: 10px 14px !important;
}

.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_nav_list ul a:hover {
  background: var(--light-purple) !important;
  color: var(--secondary) !important;
}

/* ---------- Search ---------- */
.pkp_head_wrapper .search_prompt,
.pkp_search,
.pkp_search.is_open .search_prompt {
  color: var(--text) !important;
  font-weight: 500 !important;
}

.pkp_search:hover,
.search_prompt:hover {
  color: var(--secondary) !important;
}

/* ---------- Layout ---------- */
.pkp_structure_content {
  background: transparent !important;
  padding-top: 20px !important;
  padding-bottom: 30px !important;
}

.pkp_structure_main {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-right: none !important;
  padding: 28px !important;
  min-height: 400px;
}

.pkp_structure_sidebar {
  background: #fafafa !important;
  border: 1px solid var(--border) !important;
  padding: 28px 24px !important;
}

/* ---------- Content Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: #222 !important;
  font-weight: 700 !important;
  line-height: 1.4;
  margin-top: 0;
}

.page_index_journal h2,
.current_issue h2,
.obj_issue_summary h2,
.cmp_breadcrumbs + h1 {
  font-size: 20px !important;
  margin-bottom: 18px !important;
  position: relative;
}

.page_index_journal h2::after,
.current_issue h2::after,
.obj_issue_summary h2::after,
.cmp_breadcrumbs + h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  margin-top: 8px;
  border-radius: 3px;
}

p {
  color: var(--text) !important;
  margin-bottom: 18px !important;
  font-size: 15px !important;
}

strong {
  color: #111827 !important;
}

/* ---------- Main Article/Content Blocks ---------- */
.page_index_journal .journal-description,
.page_index_journal .additional_content,
.current_issue,
.obj_issue_summary,
.obj_article_summary,
.pkp_block,
.block {
  background: var(--white) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ---------- Sidebar ---------- */
.pkp_structure_sidebar .block_title,
.pkp_structure_sidebar h2,
.pkp_structure_sidebar h3,
.pkp_block .title,
.block .title {
  font-size: 17px !important;
  color: #5e6470 !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}

.pkp_structure_sidebar p,
.pkp_structure_sidebar li,
.pkp_structure_sidebar div {
  color: var(--text) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.pkp_structure_sidebar ul {
  margin: 0;
  padding-left: 18px;
}

.pkp_structure_sidebar li {
  margin-bottom: 8px !important;
}

/* ---------- Current Issue Image ---------- */
.current_issue .cover img,
.obj_issue_summary .cover img,
.current_issue img,
.issue_cover {
  max-width: 180px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin-top: 10px !important;
  border: 1px solid var(--border) !important;
  padding: 4px !important;
  background: #fff !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

/* ---------- Sidebar / Indexing / Logo Images Normal Size ---------- */
.pkp_structure_sidebar img,
.pkp_block img,
.block img,
.pkp_block .content img,
.block .content img {
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 12px auto !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* ---------- Buttons ---------- */
button,
input[type="submit"],
input[type="button"],
.cmp_button,
.obj_galley_link,
a.read_more {
  background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.cmp_button:hover,
.obj_galley_link:hover,
a.read_more:hover {
  background: linear-gradient(90deg, var(--secondary), var(--accent)) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  background: #fff !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}

/* ---------- Issue / Article Lists ---------- */
.obj_article_summary,
.cmp_article_list > li,
.articles > li {
  border: 1px solid var(--border) !important;
  padding: 18px !important;
  margin-bottom: 16px !important;
  background: #fff !important;
  border-radius: 8px !important;
  transition: all 0.25s ease;
}

.obj_article_summary:hover,
.cmp_article_list > li:hover,
.articles > li:hover {
  border-color: #b8c7dc !important;
  background: #fcfdff !important;
}

/* ---------- Tables ---------- */
table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #fff !important;
}

table th {
  background: var(--light-blue) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}

table th,
table td {
  border: 1px solid var(--border) !important;
  padding: 10px 12px !important;
}

/* ---------- Notifications ---------- */
.cmp_notification,
.pkp_form_error,
.pkp_form_success {
  border-radius: 6px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

/* ---------- Footer ---------- */
.pkp_structure_footer_wrapper {
  background: #f3f3f3 !important;
  border-top: 1px solid var(--border) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
}

.pkp_footer_content,
.pkp_brand_footer {
  color: var(--muted) !important;
  font-size: 14px !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  .pkp_structure_main,
  .pkp_structure_sidebar {
    border-right: 1px solid var(--border) !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .pkp_site_name a {
    font-size: 21px !important;
  }

  .pkp_site_name img {
    max-height: 58px !important;
  }

  .pkp_structure_main,
  .pkp_structure_sidebar {
    padding: 18px !important;
  }

  .pkp_structure_sidebar img,
  .pkp_block img,
  .block img {
    max-width: 120px !important;
  }

  .current_issue .cover img,
  .obj_issue_summary .cover img,
  .current_issue img,
  .issue_cover {
    max-width: 140px !important;
  }
}
2nd matrix coloum
.metrics-highlight {
    background: #f5f6f8;
    padding: 50px 20px;
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.metrics-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #1d3557;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.metric-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.65),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.metric-card:hover::before {
    left: 130%;
}

.metric-card h3 {
    margin: 0 0 18px 0;
    font-size: 22px;
    font-weight: 700;
    color: #223b5a;
    line-height: 1.35;
}

.metric-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    transition: transform 0.35s ease;
}

.metric-card:hover .metric-value {
    transform: scale(1.08);
}

.metric-value.green {
    color: #16a34a;
}

.metric-value.blue {
    color: #2563eb;
}

.metric-value.purple {
    color: #9333ea;
}

.metric-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5b6b80;
}

@media (max-width: 900px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}
3rd card option

.publish-with-us {
    background: #f5f6f8;
    padding: 60px 20px;
}

.publish-container {
    max-width: 1250px;
    margin: 0 auto;
}

.publish-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: #1d3557;
    margin: 0 0 34px 0;
    line-height: 1.2;
}

.publish-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.publish-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.publish-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.65),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.publish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.publish-card:hover::before {
    left: 130%;
}

.publish-icon {
    font-size: 34px;
    margin-bottom: 14px;
    line-height: 1;
}

.publish-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #223b5a;
    line-height: 1.35;
}

.publish-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5b6b80;
}

/* responsive */
@media (max-width: 1100px) {
    .publish-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .publish-with-us {
        padding: 45px 16px;
    }

    .publish-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .publish-grid {
        grid-template-columns: 1fr;
    }

    .publish-card {
        padding: 24px 18px;
    }

    .publish-icon {
        font-size: 30px;
    }

    .publish-card h3 {
        font-size: 17px;
    }

    .publish-card p {
        font-size: 14px;
    }
}

4th about card
.cel-about-section {
    background: #f5f6f8;
    padding: 70px 24px;
}

.cel-about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.cel-about-left h2 {
    margin: 0 0 24px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #1d3557;
}

.cel-about-left p {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.7;
    color: #556274;
    max-width: 760px;
}

.cel-about-right-wrap {
    background: #dbe9fb;
    border-radius: 24px;
    padding: 36px;
}

.cel-about-right {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 36px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.cel-about-right h3 {
    margin: 0 0 26px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    color: #2952d1;
}

.cel-about-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cel-about-right ul li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.6;
    color: #1f2f46;
}

.cel-about-right ul li:last-child {
    margin-bottom: 0;
}

.cel-about-right ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1100px) {
    .cel-about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cel-about-left h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .cel-about-section {
        padding: 45px 16px;
    }

    .cel-about-left h2 {
        font-size: 26px;
    }

    .cel-about-left p,
    .cel-about-right ul li {
        font-size: 15px;
    }

    .cel-about-right-wrap {
        padding: 18px;
        border-radius: 18px;
    }

    .cel-about-right {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .cel-about-right h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}