/*!
Theme Name: Labtory
Theme URI: https://demo.themedraft.net/wp/labtory/
Author: ThemeDraft
Author URI: https://themedraft.net/
Description: Labtory is a laboratory & science research WordPress theme
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: labtory
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.header-top-area {
    display: none;
}

.main-menu-area
{
    position: fixed;
    width: 100%;
    z-index: 3;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow, padding;
    transform: translateZ(0);
    top: 0;
    left: 0;
	padding: 0;
}

.td-button, input[type="submit"], button[type="submit"] {
    z-index: 1 !important;
}

.td-header-two-wrapper:before {
background-color: #FF8C00;
}
.mobile-menu-trigger span {
    height: 1px;
    display: block;
    width: 20px;
    margin-bottom: 7px;
}
.footer-cta-wrapper {
    margin-bottom: 0px;
    display: none;
}
.td-elementor-footer-template-one-wrapper .footer-widget-area {
    padding-top: 30px !important;
}
.td-header-call-button i {
    background-color: #FF8C00 !important;
}
.footer-widget-area {
    padding: 0px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fafafa;
}
.footer-widget-area .widget-title, .footer-widget-area .widget_block h2 {
    font-size: 20px;
    color: #121f45;
    margin-bottom: 35px;
    letter-spacing: 0;
    font-weight: 600;
}
.widget-about-description {
    color: #111;
}
.footer-widget-area .widget_themedraft_nav_menu ul li a {
     color: #111;
}
.footer-widget-area a.td-recent-post-widget-title {
    color: #111;
    font-weight: 400;
}
.post-meta li i.fa-calendar-check, .post-meta li i.fa-user {
    color: #111;
}

.single-post-wrapper .post-content-wrapper {
    padding: 25px 25px 25px 25px;
    -webkit-transition: .3s;
    transition: .3s;
}
article .post-title {
    margin-top: 0;
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
    word-break: break-word;
    margin-bottom: 10px;
}

.posted-on,
.cat-links
{
	font-size: 13px;
    font-weight: 400;
    text-transform: capitalize;
}
.post-excerpt
{
	font-size:16px; 
	font-weight:400;
	line-height:24px;
}
.post-meta li i.fa-comments, .post-meta li i.fa-folder {
    color: #111;
}
.sidebar-widget-area .widget.widget_block {
    padding: 20px 20px;
}
.sidebar-widget-area .widget {
    margin-bottom: 50px;
    padding: 20px 20px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.wp-block-search__button.wp-element-button
{
    background-color: #FF8C00 !important;
}
.banner-area {
    display: none;
}
.post-details-wrapper .entry-content {
    color: #000c2d;
    font-weight: 400;
}

/* ===================================
   Humanize Hero Section - BEM Style
   =================================== */

.humanize-hero {
  padding: 80px 20px;
  background-color: #fff;
  overflow: hidden;
}

.humanize-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ===== Left Content ===== */
.humanize-hero__content {
  padding-right: 40px;
}

.humanize-hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
}

.humanize-hero__description {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 40px 0;
  max-width: 500px;
}

/* ===== CTA Button ===== */
.humanize-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #ff6b9d 0%, #e84a7e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 74, 126, 0.3);
}

.humanize-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 74, 126, 0.4);
}

.humanize-hero__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.humanize-hero__cta-text {
  line-height: 1;
}

/* ===== Partners Section ===== */
.humanize-hero__partners {
  margin-top: 60px;
}

.humanize-hero__partners-label {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px 0;
}

.humanize-hero__partners-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.humanize-hero__partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #ffe5f0;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #ff6b9d;
}

.humanize-hero__partner-link:hover {
  background-color: #ffd1e5;
  transform: translateY(-3px);
}

.humanize-hero__partner-icon {
  width: 24px;
  height: 24px;
}

/* ===== Gallery Grid ===== */
.humanize-hero__gallery {
  position: relative;
}

.humanize-hero__gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 600px;
}

.humanize-hero__gallery-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.humanize-hero__gallery-item--large {
  grid-row: 1 / 3;
}

.humanize-hero__gallery-item--top-right {
  grid-column: 2;
  grid-row: 1;
}

.humanize-hero__gallery-item--bottom-left {
  grid-column: 1;
  grid-row: 2;
}

.humanize-hero__gallery-item--bottom-right {
  grid-column: 2;
  grid-row: 2;
}

.humanize-hero__gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.humanize-hero__gallery-item:hover .humanize-hero__gallery-img {
  transform: scale(1.05);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .humanize-hero__container {
    gap: 60px;
  }
  
  .humanize-hero__title {
    font-size: 56px;
  }
  
  .humanize-hero__gallery-grid {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .humanize-hero {
    padding: 60px 20px;
  }
  
  .humanize-hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .humanize-hero__content {
    padding-right: 0;
  }
  
  .humanize-hero__title {
    font-size: 48px;
    margin-bottom: 24px;
  }
  
  .humanize-hero__description {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .humanize-hero__partners {
    margin-top: 40px;
  }
  
  .humanize-hero__gallery-grid {
    height: 450px;
  }
}

@media (max-width: 480px) {
  .humanize-hero__title {
    font-size: 36px;
  }
  
  .humanize-hero__cta {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .humanize-hero__partner-link {
    width: 48px;
    height: 48px;
  }
  
  .humanize-hero__partner-icon {
    width: 20px;
    height: 20px;
  }
  
  .humanize-hero__gallery-grid {
    height: 350px;
    gap: 12px;
  }
  
  .humanize-hero__gallery-item {
    border-radius: 12px;
  }
}

/* ===================================
   Stats Section - Pure CSS
   =================================== */

.stats-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

/* Background Decoration */
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.stats-section__container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stats-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: stretch;
}

/* ===== Stat Item ===== */
.stats-section__item {
  text-align: center;
  position: relative;
  padding: 50px 30px 40px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(34, 197, 94, 0.1);
  overflow: hidden;
}

.stats-section__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #10b981, #22c55e);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.stats-section__item:hover::before {
  opacity: 1;
}

.stats-section__item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
}

/* ===== Icon ===== */
.stats-section__icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-section__icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, #22c55e, #10b981);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.stats-section__item:hover .stats-section__icon-wrapper {
  transform: rotate(10deg) scale(1.1);
}

.stats-section__item:hover .stats-section__icon-wrapper::before {
  opacity: 0.2;
}

.stats-section__icon {
  width: 36px;
  height: 36px;
  color: #166534;
  transition: all 0.5s ease;
}

.stats-section__item:hover .stats-section__icon {
  color: #22c55e;
  transform: scale(1.1);
}

/* Special Icon */
.stats-section__icon-wrapper--special {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.stats-section__icon-wrapper--special .stats-section__icon {
  color: #92400e;
}

.stats-section__item--special:hover .stats-section__icon-wrapper--special .stats-section__icon {
  color: #f59e0b;
}

/* ===== Number ===== */
.stats-section__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1;
}

.stats-section__value {
  font-size: 56px;
  background: linear-gradient(135deg, #166534 0%, #22c55e 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.02em;
  transition: all 0.5s ease;
}

.stats-section__item:hover .stats-section__value {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.05);
}

.stats-section__plus,
.stats-section__percent {
  font-size: 40px;
  background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== Label ===== */
.stats-section__label {
  font-size: 16px;
  color: #166534;
  font-weight: 500;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.stats-section__item:hover .stats-section__label {
  color: #22c55e;
}

/* ===== Decorative Line ===== */
.stats-section__line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.stats-section__item:hover .stats-section__line {
  width: 80%;
}

/* ===== Special Item ===== */
.stats-section__item--special {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.stats-section__item--special:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.2);
}

.stats-section__item--special::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  background-size: 200% 100%;
}

.stats-section__item--special .stats-section__value {
  background: linear-gradient(135deg, #92400e 0%, #f59e0b 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-section__item--special:hover .stats-section__value {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-section__item--special .stats-section__label {
  color: #92400e;
}

.stats-section__item--special:hover .stats-section__label {
  color: #f59e0b;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .stats-section__grid {
    gap: 30px;
  }
  
  .stats-section__value {
    font-size: 48px;
  }
  
  .stats-section__plus,
  .stats-section__percent {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .stats-section {
    padding: 80px 20px;
  }
  
  .stats-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stats-section__item {
    padding: 40px 25px 35px;
  }
}

@media (max-width: 640px) {
  .stats-section {
    padding: 60px 20px;
  }
  
  .stats-section__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stats-section__value {
    font-size: 44px;
  }
  
  .stats-section__plus,
  .stats-section__percent {
    font-size: 32px;
  }
  
  .stats-section__label {
    font-size: 15px;
  }
  
  .stats-section__icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  
  .stats-section__icon {
    width: 32px;
    height: 32px;
  }
  
  .stats-section__item {
    padding: 35px 20px 30px;
  }
}

/* Popular Categories Section */
.popular-categories {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.popular-categories__container {
  max-width: 1200px;
  margin: 0 auto;
}

.popular-categories__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.popular-categories__subtitle {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #6b7280;
  margin: 0 0 48px 0;
}

.popular-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.popular-categories__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.popular-categories__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #e5e7eb;
}

.popular-categories__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.popular-categories__icon svg {
  width: 24px;
  height: 24px;
}

.popular-categories__icon--green {
  background-color: #d1fae5;
  color: #059669;
}

.popular-categories__icon--orange {
  background-color: #fed7aa;
  color: #ea580c;
}

.popular-categories__icon--blue {
  background-color: #dbeafe;
  color: #2563eb;
}

.popular-categories__icon--yellow {
  background-color: #fef3c7;
  color: #f59e0b;
}

.popular-categories__icon--pink {
  background-color: #fce7f3;
  color: #ec4899;
}

.popular-categories__icon--cyan {
  background-color: #cffafe;
  color: #06b6d4;
}

.popular-categories__icon--purple {
  background-color: #e9d5ff;
  color: #9333ea;
}

.popular-categories__icon--green-light {
  background-color: #d1fae5;
  color: #10b981;
}

.popular-categories__card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.popular-categories__card-count {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .popular-categories {
    padding: 40px 16px;
  }

  .popular-categories__title {
    font-size: 24px;
  }

  .popular-categories__subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .popular-categories__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .popular-categories__card {
    padding: 24px 16px;
  }

  .popular-categories__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .popular-categories__card-title {
    font-size: 16px;
  }

  .popular-categories__card-count {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .popular-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}