/*importance of journal publication*/
.journal-publication {
  padding: 50px 20px;
  background: #f9f9f9;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

.journal-publication h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #0c0c0f;
}

.importance-list {
  max-width: 800px;
  margin: 0 auto;
}

.importance-item {
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #185f88, #18c46e); 
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  animation: fadeIn 1s ease-in-out;
}

.importance-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #2a6e9b, #28678b); 
}

.importance-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff; 
}

.importance-item p {
  font-size: 1rem;
  color: #f1f1f1; 
}

/* Keyframe animation for fade-in effect*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .journal-publication h2 {
    font-size: 1.75rem;
  }

  .importance-item h3 {
    font-size: 1.25rem;
  }

  .importance-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .journal-publication {
    padding: 30px 15px;
  }

  .journal-publication h2 {
    font-size: 1.5rem;
  }

  .importance-item {
    padding: 15px;
  }

  .importance-item h3 {
    font-size: 1.1rem;
  }

  .importance-item p {
    font-size: 0.9rem;
  }
}




/*Types of Journals*/
ul.ul-types {
  width: min(100%, 60rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  background-color: skyblue;
}
ul.ul-types>li{
  --bg-color: #F2F2F2;
  --text-color: #333;
  --padding: 1rem;
  --circle-size: 5rem;
  --circle-expand: 1rem;
  --flap-height: 1.25rem;
  --flap-offset: 0.5rem;
  max-width: 15rem;
  margin-top: calc(var(--circle-size) / 2 + var(--circle-expand));
  margin-bottom: var(--flap-offset);
  background-color: var(--bg-color);
  background-image: linear-gradient(to bottom left, transparent 50%, rgba(0 0 0  / .125));
  border-radius: var(--padding);
  padding: var(--padding);

  --bs-rim: inset -0.1rem 0.1rem 0.1rem rgb(255 255 255 / .5);
  --bs-card-spread: 0.25rem;
  --bs-card-color:  rgb(0 0 0 / 0.02);
  --bs-card: 
      -0.1rem 0.1rem var(--bs-card-spread) var(--bs-card-color),
      -0.2rem 0.2rem var(--bs-card-spread) var(--bs-card-color),
      -0.3rem 0.3rem var(--bs-card-spread) var(--bs-card-color),
      -0.4rem 0.4rem var(--bs-card-spread) var(--bs-card-color),
      -0.5rem 0.5rem var(--bs-card-spread) var(--bs-card-color),
      -0.6rem 0.6rem var(--bs-card-spread) var(--bs-card-color),
      -0.7rem 0.7rem var(--bs-card-spread) var(--bs-card-color),
      -0.8rem 0.8rem var(--bs-card-spread) var(--bs-card-color),
      -0.9rem 0.9rem var(--bs-card-spread) var(--bs-card-color),
      -1.0rem 1.0rem var(--bs-card-spread) var(--bs-card-color),
      -1.1rem 1.1rem var(--bs-card-spread) var(--bs-card-color),
      -1.2rem 1.2rem var(--bs-card-spread) var(--bs-card-color),
      -1.3rem 1.3rem var(--bs-card-spread) var(--bs-card-color),
      -1.4rem 1.4rem var(--bs-card-spread) var(--bs-card-color),
      -1.5rem 1.5rem var(--bs-card-spread) var(--bs-card-color),
      -1.6rem 1.6rem var(--bs-card-spread) var(--bs-card-color),
      -1.7rem 1.7rem var(--bs-card-spread) var(--bs-card-color),
      -1.8rem 1.8rem var(--bs-card-spread) var(--bs-card-color),
      -1.9rem 1.9rem var(--bs-card-spread) var(--bs-card-color);
  box-shadow: var(--bs-rim), var(--bs-card);
  display: grid;
grid-template-rows: max-content max-content auto ;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
  position: relative;
}
ul.ul-types>li>.icon{
  width: var(--circle-size);
  margin-top: calc(var(--circle-size) / -2 - var(--padding));
  aspect-ratio: 1;
  background-color: var(--bg-color);
  justify-self: center;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:var(--bs-rim), -0.1rem 0.1rem 0.25rem rgb(0 0 0 / .25);
}
ul.ul-types>li>.icon>i{
  font-size: calc(var(--circle-size) / 3);
  color: var(--accent-color);
}
ul.ul-types>li>.title{
  margin-top: 0.5rem;
  color: var(--accent-color);
  font-weight: 700;
}
ul.ul-types>li>.content{
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align:center;
}
ul.ul-types>li::before, ul>li::after{
  content: "";
  position: absolute;
}
ul.ul-types>li::before{
  top: calc(var(--circle-size) / -2 - var(--circle-expand));
  width: calc(var(--circle-size) * 1 + var(--circle-expand) * 2);
  height: calc(100% + var(--circle-size) / 2 + var(--padding) + var(--flap-offset)) ;
  background-color: var(--accent-color);
  background-image: linear-gradient( transparent 50%, rgb(0 0 0 / .25) 0);
  border-top-left-radius: calc(var(--circle-size) / 2 + var(--circle-expand));
  border-top-right-radius: calc(var(--circle-size) / 2 + var(--circle-expand));
  clip-path: polygon(
    0 0, 
    100% 0, 
    100% calc(100% - var(--flap-offset)), 
    calc(100% - var(--flap-offset)) 100%, 
    var(--flap-offset) 100%,  
    0 calc(100% - var(--flap-offset))
  );
  z-index: -1;
}
ul.ul-types>li::after{
  width: calc(var(--circle-size) * 1 + var(--circle-expand) * 2 - var(--flap-offset) * 2);
  height: var(--flap-height);
  bottom: calc(var(--flap-offset) * -1);
  border-top-left-radius: var(--flap-height);
  border-top-right-radius: var(--flap-height);
  background-color: var(--accent-color);
}
h1 { 
  text-align: center; 
  margin-bottom: 2rem;
}
/* Responsive Design */
@media (max-width: 1024px) {
  ul.ul-types {
    gap: 1.5rem;
    padding: 15px;
  }
  ul.ul-types > li {
    max-width: 12rem;
  }
  ul.ul-types > li > .content {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  ul.ul-types {
    flex-direction: column;
    align-items: center;
  }
  ul.ul-types > li {
    max-width: 90%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  ul.ul-types {
    gap: 1rem;
  }
  ul.ul-types > li {
    max-width: 100%;
  }
  ul.ul-types > li > .title {
    font-size: 1rem;
  }
  ul.ul-types > li > .content {
    font-size: 0.8rem;
  }
  ul.ul-types > li > .icon {
    width: 4rem;
  }
}

/*-Steps to Find the Right Journal for Publication*/
.sec-icon {
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0 auto;
}

.sec-icon::before {
  content: "";
  position: absolute;
  height: 1px;
  left: -70px;
  margin-top: -5.5px;
  top: 60%;
  background: #252424;
  width: 50px;
}

.sec-icon::after {
  content: "";
  position: absolute;
  height: 1px;
  right: -70px;
  margin-top: -5.5px;
  top: 60%;
  background: #0f0e0e;
  width: 50px;
}

.advertisers-service-sec {
  background-color: #f5f5f5;
}

.advertisers-service-sec span {
  color: rgb(255, 23, 131);
}

.advertisers-service-sec .col {
  padding: 0 1em 1em 1em;
  text-align: center;
}

.advertisers-service-sec .service-card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #fff;
}

.advertisers-service-sec .service-card::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(#0dcaf0, rgb(255, 23, 131));
  position: absolute;
  left: 0%;
  top: -98%;
  z-index: -2;
  transition: all 0.4s cubic-bezier(0.77, -0.04, 0, 0.99);
}

.advertisers-service-sec h3 {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
  z-index: 3;
}

.advertisers-service-sec p {
  color: #575a7b;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  z-index: 3;
}

.advertisers-service-sec .icon-wrapper {
  background-color: #2c7bfe;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
  z-index: 3;
}

.advertisers-service-sec .service-card:hover:after {
  top: 0%;
}

.service-card .icon-wrapper {
  background-color: #ffffff;
  color: rgb(255, 23, 131);
}

.advertisers-service-sec .service-card:hover .icon-wrapper {
  color: #0dcaf0;
}

.advertisers-service-sec .service-card:hover h3 {
  color: #ffffff;
}

.advertisers-service-sec .service-card:hover p {
  color: #f0f0f0;
}
/* Responsive Design */
@media (max-width: 1024px) {
.advertisers-service-sec {
  padding: 30px 10px;
}

.advertisers-service-sec h3 {
  font-size: 18px;
}

.advertisers-service-sec p {
  font-size: 14px;
}

.sec-icon::before,
.sec-icon::after {
  width: 40px;
  left: -50px;
  right: -50px;
}
}

@media (max-width: 768px) {
.advertisers-service-sec .col {
  padding: 0.5em;
}

.advertisers-service-sec .service-card {
  padding: 1.5em;
}

.sec-icon::before,
.sec-icon::after {
  display: none;
}
}

@media (max-width: 480px) {
.advertisers-service-sec {
  padding: 20px 5px;
}

.advertisers-service-sec .service-card {
  padding: 1em;
}

.advertisers-service-sec h3 {
  font-size: 16px;
}

.advertisers-service-sec p {
  font-size: 13px;
}

.advertisers-service-sec .icon-wrapper {
  font-size: 24px;
  height: 2em;
  width: 2em;
}
}

/* Why choose our services for journal publication*/
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0; 
  background: linear-gradient(45deg, #3498db, #284a92, #3c94e7); 
  border-radius: 8px; 
  animation: timelineGradientAnimation 5s linear infinite, timelineSlideIn 1s ease-out; 
  padding: 20px;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #2e4ad8;
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: itemSlideIn 1s ease-out;
  opacity: 0;
  animation-fill-mode: forwards; 
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) {
  flex-direction: row;
}

.timeline-item:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 3px solid #2e4ad8;
  border-radius: 50%;
  z-index: 1;
}
.timeline-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(41, 18, 126, 0.1);
  text-align: left;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid transparent; 
  background-image: linear-gradient(45deg, #3498db, #3157aa, #3c94e7); 
  background-origin: border-box; 
  background-clip: border-box; 
  animation: gradientAnimation 5s linear infinite, cardAnimation 1s ease-in-out; 
}

.timeline-content:hover {
  transform: translateY(-10px); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.timeline-content p {
  font-size: 1rem;
  color: white;
  line-height: 1.5;
}
@keyframes gradientAnimation {
  0% {
    background-image: linear-gradient(45deg, #3498db, #306699, #3c6ec9);
  }
  50% {
    background-image: linear-gradient(45deg, #2a50a1, #3498db, #1d3480);
  }
  100% {
    background-image: linear-gradient(45deg, #3498db, #3665ac, #245caf);
  }
}
@keyframes cardAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); 
  }
  100% {
    transform: scale(1);
  }
}
@keyframes timelineGradientAnimation {
  0% {
    background: linear-gradient(45deg, #3498db, #8e44ad, #31b2bb);
  }
  50% {
    background: linear-gradient(45deg, #17a8ad, #3498db, #8e44ad);
  }
  100% {
    background: linear-gradient(45deg, #3498db, #8e44ad, #1c898d);
  }
}
@keyframes itemSlideIn {
  0% {
    transform: translateX(50%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Design*/
@media screen and (max-width: 768px) {
  .timeline:before {
    left: 4%;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .timeline-item:before {
    left: 4%;
  }

  .timeline-content {
    max-width: 100%;
  }
}

.benefits-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* Adds spacing between circles */
}

.context-circle {
  text-align: center;
  background: #27496D;
  border: 10px solid transparent;
  color: #fff;
  font-family: Montserrat;
  padding: 50px;
  border-radius: 50%;
  max-width: 100%;
  width: 350px; /* Default width */
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all ease-in-out 0.2s;
}

.context-circle .context-title {
  font-weight: 600;
  font-size: 22px;
}

.context-circle .context-text {
  font-weight: 400;
}

.context-circle:hover {
  border: 10px solid #00A8CC;
}

.context-circle:nth-child(2) {
  background: #142850;
}

/* Large Screens */
@media only screen and (min-width: 1200px) {
  .benefits-container {
    flex-direction: row;
  }

  .context-circle {
    width: 400px;
    height: 400px;
  }

  .context-circle:nth-child(2) {
    transform: scale(1.2);
    box-shadow: 1px 2px 20px 8px rgba(241, 235, 235, 0.12);
  }
}

/* Medium Screens */
@media only screen and (min-width: 991px) and (max-width: 1200px) {
  .context-circle {
    width: 340px;
    height: 340px;
  }
}

/* Small Screens */
@media only screen and (max-width: 991px) {
  .benefits-container {
    flex-direction: column;
  }

  .context-circle {
    width: 90%;
    height: auto;
    padding: 30px;
  }
}





