/* custom css */
header#masthead{
	padding: 0px;
}
.navbar-brand img{
	max-height: 48px;
}
/* genaral custom css */
html {
  scroll-behavior: smooth;
}

.brand-text {
    color: #78C2AD !important;
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateX(8px);
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
}

#backToTop::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  margin: auto;
}


/* Top menu */
.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #78C2AD !important;
  color: #fff !important;
}

/*
.menu-item-type-post_type>a{position:relative;padding-left:12px}
.menu-item-type-post_type>a::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:60%}

#menu-item-429>a::before{background:#78C2AD}
#menu-item-431>a::before{background:#56CC9D}
#menu-item-432>a::before{background:#6CC3D5}
#menu-item-433>a::before{background:#F3969A}
#menu-item-438>a::before{background:#F3969A}
#menu-item-435>a::before{background:#FFCE67}
#menu-item-436>a::before{background:#FFCE67}
#menu-item-440>a::before{background:#78C2AD}
#menu-item-447>a::before{background:#78C2AD}
#menu-item-441>a::before{background:#78C2AD}
#menu-item-443>a::before{background:#56CC9D}
#menu-item-444>a::before{background:#6CC3D5}
*/

/* popup Needs help API section */
.api-help-trigger {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.api-help-trigger:hover {
  background: #0b5ed7;
  color: #fff;
  text-decoration: none;
}

.api-help-popup {
  position: fixed;
  top: 140px;
  right: 20px;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 30px);
  display: none;
}

.api-help-popup.is-open {
  display: block;
}

.api-help-popup-dialog {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

.api-help-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.api-help-dont-show {
  font-size: 13px;
  color: #6c757d;
  text-decoration: underline;
  cursor: pointer;
}

.api-help-dont-show:hover {
  color: #343a40;
}

.api-help-popup-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
}

.api-help-popup .wpcf7-form p {
  margin-bottom: 0;
}

.api-help-popup .text-muted {
  font-size: 14px;
}

.api-help-popup textarea,
.api-help-popup input[type="email"] {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.api-help-popup textarea {
  height: 150px;
  resize: vertical;
}

.api-help-popup input[type="submit"] {
  display: inline-block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  background: #0d6efd;
  color: #fff;
  cursor: pointer;
}

.api-help-popup input[type="submit"]:hover {
  background: #0b5ed7;
}

.api-help-popup .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 12px;
}

.api-help-popup .wpcf7-list-item {
  display: block;
  margin: 0 0 8px 0;
}

.api-help-popup .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.api-help-popup .wpcf7-list-item input[type="radio"] {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.api-help-dont-show {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #6c757d;
  text-decoration: underline;
  cursor: pointer;
}

.api-help-dont-show:hover {
  color: #343a40;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .api-help-trigger {
    top: 65px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .api-help-popup {
    top: 126px;
    right: 14px;
    width: calc(100vw - 28px);
  }

  .api-help-popup textarea {
    height: 120px;
  }
}

/* api pages price section */
.api-page-pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 1.25rem;
    align-items: stretch;
  }

.api-page-pricing .pricing-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    border: 1px solid #e6f0ec;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
  }

.api-page-pricing .pricing-card h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
  }

.api-page-pricing .pricing-subtitle {
    color: #4b5563;
    margin-bottom: 18px;
    min-height: 48px;
  }

.api-page-pricing .pricing-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }

.api-page-pricing .pricing-price .main-price {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #1f2937;
  }

.api-page-pricing .pricing-price .secondary-price {
    font-size: .95rem;
    color: #6b7280;
  }

.api-page-pricing .pricing-badge {
    display: inline-block;
    align-self: flex-start;
    background: #eef7f3;
    color: #1f3b33;
    border: 1px solid rgba(120,194,173,.35);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 16px;
  }

.api-page-pricing .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

.api-page-pricing .pricing-features li {
    padding: 10px 0;
    border-top: 1px solid #edf2f0;
    color: #374151;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

.api-page-pricing .pricing-features li:first-child {
    border-top: none;
  }

.api-page-pricing .pricing-actions {
    margin-top: auto;
    padding-top: 18px;
  }

.api-page-pricing .pricing-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 8px 18px rgba(120,194,173,.18);
    transition: .25s ease;
  }

.api-page-pricing .pricing-btn:hover {
    background: var(--success);
    color: #fff;
    transform: translateY(-1px);
  }

.api-page-pricing .pricing-btn.secondary {
    background: #f6fbf9;
    color: #1f3b33;
    border: 1px solid rgba(120,194,173,.45);
    box-shadow: none;
  }

.api-page-pricing .pricing-btn.secondary:hover {
    background: #eef7f3;
    color: #1f3b33;
  }

.api-page-pricing .pricing-card.popular {
    border: 1px solid rgba(120,194,173,.65);
    box-shadow: 0 14px 34px rgba(120,194,173,.18);
    transform: translateY(-4px);
  }

.api-page-pricing .pricing-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    right: 18px;
    background: var(--primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(120,194,173,.26);
  }

.api-page-pricing .pricing-note-box {
    background: #f6fbf9;
    border-left: 4px solid var(--primary);
    padding: 18px;
    border-radius: 12px;
    margin-top: 1rem;
  }

/* home page */

/* page_home__api_slider */
.page_home__api_slider .api-list .btn {
  font-weight: 600;
  border-radius: .25rem;
  padding: .5rem .75rem;
  text-align: left;
  transition: all .2s ease;
  transform: translateX(0); /* base */
  z-index:2;
}

/* hover */
.page_home__api_slider .api-list .btn:hover {
  transform: translateX(4px);
}

.page_home__api_slider .api-list .btn.active {
  transform: translateX(8px);
}

.page_home__api_slider pre {
  direction: ltr;
  text-align: left;
  background: #f6f8fa;
  padding: 1rem;
  border-radius: .5rem;
  overflow-x: auto;
  font-size: 0.9rem;
  margin-bottom: 0;
  max-height: 550px;
  overflow-y: auto;
}

/* page_home__api_list */

.page_home__api_list .card-descriptions {
  padding: 15px;
  height: 100%;
}

.page_home__api_list .sub-block {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  height: 100%;
  transition: all 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.page_home__api_list .sub-block:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.page_home__api_list .sub-block h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2c3e50;
}

.page_home__api_list .sub-block p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page_home__api_list .sub-block a.btn {
  align-self: center;
}




/* page ALL tariffs */
.pricing-section .card {
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.pricing-section .card:hover {
  transform: translateY(-5px);
}

/* page tariff */
.membership-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* page Cancellation & Refund Policy */
.page_cancellation .terms-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.page_cancellation .terms-list li {
    margin-bottom: 0.8rem;
}

.page_cancellation .terms-list li::marker {
    font-size: 1.2em; /* big dot */
}

/* page Term and Conditions License Agreement */
.page_license_agreement .terms-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.page_license_agreement .terms-list li {
    margin-bottom: 0.8rem;
}

.page_license_agreement .terms-list li::marker {
    font-size: 1.2em; /* big dot */
}

/*social*/
.social-links a {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, .05);
  border-radius: 5px;
  display: inline-block;
  opacity: 1;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 80px;
  height: 80px;
  line-height: 80px;
  align-content: center;
  background-color: transparent;
  z-index: 1;
  margin: 0 15px;
}

.social-links a {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, .05);
  display: inline-block;
  opacity: 1;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 80px;
  height: 80px;
  line-height: 80px;
  align-content: center;
  background-color: transparent;
  z-index: 1;
  margin: 0 15px;
  transition: all .35s cubic-bezier(.31, -.105, .43, 1.59);
  transform: translateX(0);
}

.social-links a:hover {
  background: linear-gradient(-90deg, #1da19d, #075367);
  transform: translateX(5px);
}

.social-links a i {
  color: #1da19d;
  transition: all .35s cubic-bezier(.31, -.105, .43, 1.59);
  position: relative;
  z-index: 2;
}

.social-links a:hover i {
  color: #ffffff;
}


/* ===== Fin2Dev Blog ===== */

.blog-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-category-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.blog-category-count {
    margin-left: 6px;
    opacity: 0.75;
}

/* Blog topic-intro */

.topic-intro {
  display: flex;
  justify-content: flex-end;
  margin-top: -10px;
}

.view-topic-toggle {
    font-size: 14px;
    font-weight: 500;
    color: #78C2AD;
    text-decoration: none !important;
}

.view-topic-toggle:hover,
.view-topic-toggle:focus {
    color: #5eae99;
    text-decoration: none !important;
    box-shadow: none;
}

.view-topic-toggle .caret {
    display: inline-block;
    transition: transform .2s ease;
}

.view-topic-toggle[aria-expanded="true"] .caret {
    transform: rotate(180deg);
}

.topic-intro-grid {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
}

/* Blog posts */
.blog-post-content pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 14px 16px;
  overflow-x: auto;
}

.blog-post-content pre code {
  font-family: Consolas, Monaco, "Courier New", monospace;
}