/* -----------------------------------
   Global tweaks
----------------------------------- */

.google-auto-placed {
  display: none !important;
}

/* Better default link styling (Bootstrap already removes underline on .btn etc.) */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -----------------------------------
   Article display cards
----------------------------------- */

.article_display {
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0; /* padding handled by inner .card-body now */
  font-style: normal;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  background-color: #ffffff;
}

.article_display h4 {
  clear: both;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.article_display .abstract-btn {
  padding: 0.25rem 0.75rem;
  background-color: #00b4f0;
  border: 1px solid #00b4f0;
}

.article_display .pdf-btn {
  padding: 0.25rem 0.75rem;
  background-color: #90c400;
  border: 1px solid #90c400;
}

.article_display:hover {
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.18) !important;
  transform: translateY(-2px);
}

/* -----------------------------------
   Home banner (if used elsewhere)
----------------------------------- */

.home-banner {
  background: url("../images/banner.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.home-banner h3 {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* -----------------------------------
   Navbar tweaks
----------------------------------- */

/* Add separators only on larger screens, 
   for mobile stacked nav they look weird */
@media (min-width: 992px) {
  .nav-item {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 0.75rem;
  }

  .nav-item:last-child {
    border-right: none;
  }
}

/* -----------------------------------
   Home feature cards
----------------------------------- */

.home-card {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.08) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, translate 0.2s ease;
}

.home-card:hover {
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.18) !important;
  transform: translateY(-3px);
}

/* -----------------------------------
   Journal cards on homepage
----------------------------------- */

/* ================= Journal Card ================= */
.journal-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: box-shadow .2s ease, transform .2s ease;
}

.journal-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

/* ================= Thumbnail (NO GAP GUARANTEED) ================= */
.journal-thumb {
    width: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.journal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;      /* removes inline-image gap */
}

/* ================= Text Polish ================= */
.journal-card h6 {
    font-size: 16px;
    margin-bottom: 4px;
}

.journal-card p {
    line-height: 1.5;
}

/* -----------------------------------
   Index images (if used somewhere else)
----------------------------------- */

.indeximg-hight {
  margin-bottom: 1rem;
  background-color: #ffffff !important;
}

.indeximg-hight img {
  height: 120px;
  object-fit: contain;
}

/* -----------------------------------
   Theme color overrides for Bootstrap
----------------------------------- */

.bg-primary {
  background-color: #0c5791 !important;
}

.btn-primary {
  background-color: #0c5791 !important;
  border-color: #0c5791 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #08416b !important;
  border-color: #08416b !important;
}

.btn-outline-primary {
  color: #0c5791;
  border-color: #0c5791;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #0c5791;
  color: #ffffff;
}

/* -----------------------------------
   Testimonials section
----------------------------------- */

.testinomials {
  margin-top: 1rem;
}

/* Let carousel be responsive: full width but capped */
.testinomials .carousel {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.testinomials .carousel .carousel-item {
  color: #4b5563;
  font-size: 0.95rem;
  text-align: center;
  overflow: hidden;
}

.testinomials .carousel .carousel-item a {
  color: #0c5791;
}

.testinomials .carousel .img-box {
  width: 145px;
  height: 145px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.15);
}

.testinomials .carousel .img-box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.testinomials .carousel .testimonial {
  padding: 20px 0 10px;
  line-height: 1.6;
}

.testinomials .carousel .overview {
  text-align: center;
  padding-bottom: 5px;
  margin-bottom: 0;
}

.testinomials .carousel .overview b {
  color: #111827;
  font-size: 0.95rem;
  text-transform: uppercase;
  display: block;
  padding-bottom: 5px;
}

.testinomials .carousel .star-rating i {
  font-size: 18px;
  color: #ffdc12;
}

/* Make only testimonial carousels use the small round controls */
.testinomials .carousel-control-prev,
.testinomials .carousel-control-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #9ca3af;
  text-shadow: none;
  top: 4px;
}

.testinomials .carousel-control-prev i,
.testinomials .carousel-control-next i {
  font-size: 20px;
}

.testinomials .carousel-control-prev {
  left: auto;
  right: 48px;
}

.testinomials .carousel-control-next {
  right: 8px;
}

/* Indicators */
.testinomials .carousel .carousel-indicators {
  bottom: 0;
}

.testinomials .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background-color: #e5e7eb;
}

.testinomials .carousel-indicators .active {
  background-color: #6b7280;
}

/* Section title for testimonials */
.testinomials h4 {
  color: #111827;
  text-align: center;
  text-transform: uppercase;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  position: relative;
  margin: 25px 0 40px;
  letter-spacing: 0.06em;
}

.testinomials h4::after {
  content: "";
  width: 100px;
  position: absolute;
  margin: 0 auto;
  height: 3px;
  background: #ffdc12;
  left: 0;
  right: 0;
  bottom: -12px;
}

/* -----------------------------------
   Main banner slider caption
----------------------------------- */

.carousel-caption {
  bottom: 30% !important;
}

.carousel-caption h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.85);
}

.carousel-caption h3 {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.8rem;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.85);
}

/* Smaller screens: bring caption down & shrink fonts */
@media (max-width: 767.98px) {
  .carousel-caption {
    bottom: 10% !important;
  }

  .carousel-caption h1 {
    font-size: 1.6rem;
  }

  .carousel-caption h3 {
    font-size: 1.1rem;
  }
}

/* -----------------------------------
   Small utility styles (optional)
----------------------------------- */

/* To help with object-fit where needed */
.object-fit-cover {
  object-fit: cover;
}


.letter-spacing-1 {
    letter-spacing: 0.08em;
}


/* slider  */

/* ===================================
   Hero carousel (Elsevier-style)
=================================== */

.hero-carousel {
  background: #050608;
  color: #f9fafb;
  position: relative;
  overflow: hidden;
}

/* Slides */
.hero-slide {
  min-height: 420px;
  padding: 3rem 0;
}

@media (min-width: 992px) {
  .hero-slide {
    min-height: 520px;
  }
}

/* Panels */
.hero-panel {
  flex: 1 1 50%;
}

.hero-text {
  padding: 1.5rem 1.5rem 2.5rem;
}

@media (min-width: 992px) {
  .hero-text {
    padding: 3rem 4rem;
  }
}

.hero-image {
  position: relative;
  padding: 1.5rem;
}

@media (min-width: 992px) {
  .hero-image {
    padding: 3rem 3rem 3rem 0;
  }
}

/* Image styling */
.hero-img {
  border-radius: 1.25rem;
  box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.6);
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

/* Title & subtitle */
.hero-title {
  font-size: 2.3rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
  color: #d1d5db;
  margin-bottom: 1.75rem;
}

/* Indicators styled like Elsevier dots */
.hero-indicators {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

.hero-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background-color: rgba(148, 163, 184, 0.5);
}

.hero-indicators button.active {
  width: 22px;
  background-color: #ffffff;
}

/* Make sure default Bootstrap indicators don't interfere */
/* .carousel-indicators {
  display: none;
} */

/* Buttons in hero */
.hero-carousel .btn-outline-light {
  border-width: 2px;
}

.hero-carousel .btn-outline-light:hover {
  color: #0c5791;
  background-color: #ffffff;
  border-color: #ffffff;
}

/* Mobile tweaks: stack text above image */
@media (max-width: 767.98px) {
  .hero-slide {
    padding: 2rem 0 1.5rem;
  }

  .hero-text {
    padding-inline: 1.25rem;
  }

  .hero-image {
    padding-inline: 1.25rem;
    padding-top: 0;
  }

  .hero-img {
    max-height: 260px;
  }
}


/* KEEP your custom design and override Bootstrap defaults */

/* Reset Bootstrap indicator styles */
.carousel-indicators.hero-indicators {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    justify-content: center;
}

.carousel-indicators.hero-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(148, 163, 184, 0.5) !important;
    border: none !important;
    margin: 0 4px !important;
    opacity: 1 !important;
}

.carousel-indicators.hero-indicators .active {
    width: 22px !important;
    height: 10px !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
}


/* Main header look */
    .main-header {
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .nav-link {
        font-weight: 500;
        color: #000;
        padding: 0.75rem 1rem !important;
    }

    .navbar-nav .nav-link:hover {
        color: #0d6efd;
    }

    /* “Publish with us” button */
    .btn-publish {
        background: #0054ff;
        color: #fff !important;
        border-radius: 999px;
        padding: 0.4rem 1.4rem;
        font-weight: 500;
    }

    .btn-publish:hover {
        background: #003fcc;
        color: #fff !important;
    }

    /* Right-side icons */
    .header-icon {
        font-size: 1.2rem;
        cursor: pointer;
        color: #111;
        margin-left: 0.75rem;
    }

    .header-icon:hover {
        color: #0054ff;
    }


	/* Feature tiles under testimonials */
.feature-tiles .feature-card {
    border: none;
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-tiles .feature-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    right: -40px;
    bottom: -40px;
    filter: blur(1px);
}

.feature-tiles .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.feature-tiles h3 {
    letter-spacing: 0.04em;
}

.feature-tiles p {
    opacity: 0.9;
}


article h5 a:hover {
    text-decoration: underline;
}

article {
    line-height: 1.6;
}
.az-index a {
    color: #0d6efd;
    text-decoration: none;
}
.az-index a:hover {
    text-decoration: underline;
}
.journal-item:last-child {
    border-bottom: none !important;
}


/* ===== Journal Footer ===== */
.journal-footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.footer-title {
    font-weight: 600;
    border-bottom: 1px solid #000;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 14px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-text a {
    color: #0056b3;
    text-decoration: none;
}

.footer-links a:hover,
.footer-text a:hover {
    text-decoration: underline;
}

.footer-text {
    color: #333;
    line-height: 1.6;
}

.footer-social a {
    color: #0056b3;
    font-size: 20px;
    margin-right: 10px;
}

.footer-social a:hover {
    color: #003d82;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: 16px 0;
    background: #fafafa;
}
.journal-metric {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.journal-metric:last-child {
    border-bottom: none;
}

.journal-metric strong {
    font-weight: 500;
    color: #333;
}

.journal-metric span {
    color: #000;
}


/* Container */
.pubmed-box {
    max-height: 420px;
    overflow: hidden;
    position: relative;
}

/* Scrolling list */
.pubmed-scroll {
    display: flex;
    flex-direction: column;
    animation: scroll-up 40s linear infinite;
}

/* Pause on hover */
.pubmed-box:hover .pubmed-scroll {
    animation-play-state: paused;
}

/* Individual article */
.pubmed-article {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.pubmed-article:last-child {
    border-bottom: none;
}

.pubmed-article h6 {
    font-size: 0.95rem;
    line-height: 1.4;
}

.pubmed-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.pubmed-authors {
    font-size: 0.85rem;
    color: #555;
}

/* Keyframes */
@keyframes scroll-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.author-review {
    min-height: 160px;
}

.author-photo img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.author-name {
    font-weight: 600;
    margin-top: 8px;
}

.author-role {
    font-size: 0.85rem;
    color: #6c757d;
}


/* ===== Archive Design ===== */

/* ===== Archive Refinement ===== */

.archive-year-box {
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    padding: 16px 18px;
    background-color: #fff;
}

.archive-year-header {
    border-bottom: 1px dashed #dcdcdc;
    padding-bottom: 8px;
}

.archive-year {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.archive-volume {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.archive-issues-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.archive-issue-pill {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #0d6efd;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
    background-color: #f8faff;
    transition: all 0.2s ease-in-out;
}

.archive-issue-pill:hover {
    background-color: #0d6efd;
    color: #fff;
    text-decoration: none;
}
