/* ===================================================================
   HOME PAGE STYLES
   - Main stylesheet for TalentzQ homepage
   - Organized by sections for better maintainability
   - Includes responsive mobile accordion for smarter features
=================================================================== */

/* ===================================================================
   SECTION: HERO SECTION STYLES
   - Main landing area with title, tagline, and video slider
=================================================================== */

section.Home_hero_section {
  text-align: center;
  height: calc(100vh - 75px);
}
.Home_hero_section .container{
  max-width: 100%;
  padding: 0px;
  padding-left: 13%;
  overflow: hidden;
}
.home-hero-content {
  text-align: left;
}
  h4.timeline-title{
    font-weight: 400 !important;
  }
.home-hero-title {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--Heading, #32254C);
}
.lottie-animation{
  height: 340px;
}

.home-hero-subtitle {
  color: var(--Heading, #32254C);
  font-family: Inter;
  font-size: 95px;
  font-style: normal;
  font-weight: 800;
  line-height: 100%;
  letter-spacing: -1.9px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.home-hero-tagline {
  font-weight: 600;
  color: var(--Heading, #32254C);
}

.home-hero-text {
  color: var(--Body, #484452);
  margin: 24px 0 40px 0;
}

.home_hero_demo_btn {
  border-radius: 50px;
  background: var(--CTA-BG, #340C97);
  padding: 16px 24px;
  border: none !important;
  color: white;
  text-decoration: none;
  display: inline;
}

.home_hero_demo_btn:hover {
  background: var(--Icon-Color, #733BFD);
  transform: translateY(-2px);
}

/* Hero Video Slider Styles */
.home-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.home-hero-slide .features_video{
  height: 80%;
  margin-right: -40px;
}

.home-hero-slide.active {
  opacity: 1;
}

/* Hero Pagination Dots */
.home-pagination {
  text-align: center;
  position: absolute;
  margin-top: -40px;
  z-index: 9999;
  right: 33px;
}

.home-pagination-dot {
  height: 8px;
  width: 24px;
  border-radius: 20px;
  background: var(--Stroke, #DEDDE1);
  margin: 0 5px;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.home-pagination-dot.active {
  background: var(--CTA-BG, #340C97);
  border-radius: 20px;
  height: 8px;
  width: 24px;
}

/* Hero Tagline Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.fade-in {
  animation: fadeIn 0.8s forwards;
}

.fade-out {
  animation: fadeOut 0.8s forwards;
}

/* ===================================================================
 SECTION: EVOLVE SECTION STYLES
 - Interactive recruitment evolution showcase
=================================================================== */

section.home_evolve_section {
  padding: 80px 0;
  background: var(--color-light-bg);
}

h1.home_evolve_title {
  margin-bottom: 60px;
  text-align: center;
  color: var(--color-heading);
}

.home_evolve_banner_sec {
  text-align: center;
  padding-bottom: 40px;
}

img.home_evolve_banner {
  width: 100%;
}

/* Evolve Tab Menu Styles */
.evolve-side-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.evolve-tab-item {
  background-color: var(--color-white);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 18px 22px;
  display: flex;
  align-items: center;
}

.evolve-tab-item.active {
  color: var(--color-white);
  background: var(--CTA-BG, #340C97);
}

.evolve-tab-icon {
  margin-right: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
}

.evolve-tab-title {
  font-size: var(--font-size-small-body);
  margin: 0;
  font-weight: 400;
}

/* Process Visualization Styles */
.process-viz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 500px;
  position: relative;
}

/* Connection Lines Animation */
.connection-lines {
  position: absolute;
  top: 36%;
  left: 4%;
  z-index: 0;
  pointer-events: none;
}

.left-line {
  left: 60px;
  right: calc(50% + 140px);
}

.right-line {
  left: calc(50% + 140px);
  right: 60px;
}

.red-lines {
  position: absolute;
  top: 45%;
  height: 1px;
  background-color: var(--color-light-red);
  z-index: 1;
}

.left-red-line {
  left: 60px;
  width: 100px;
}

.right-red-line {
  right: 60px;
  width: 100px;
}

.flow-arrows {
  position: absolute;
  top: 47%;
  left: -25px !important;
  transform: translateY(-50%);
}

.arrow-left {
  left: 0px;
}

.arrow-right {
  right: 0px;
}

/* Navigation Arrow Buttons */
.nav-arrow-btn {
  width: 36px;
  height: 36px;
  background: var(--CTA-BG, #340C97);
  border-radius: 50%;
  display: flex;
  color: var(--color-white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 2;
  transition: all 0.3s ease;
}

.nav-arrow-btn.disabled {
  background-color: var(--Stroke, #DEDDE1);
  cursor: not-allowed;
}

.nav-arrow-btn:hover:not(.disabled) {
  transform: scale(1.05);
}

button#prevBtn {
  position: absolute;
  bottom: 48px;
  left: 180px;
}

button#nextBtn {
  position: absolute;
  bottom: 48px;
  left: 40%;
}

/* Center Problem Circle */
.process-problem {
  width: 280px;
  height: 280px;
  border: 1px solid var(--Stroke, #DEDDE1);
  background: var(--White, #FFF);
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: -44px;
  margin-left: 16%;
}

.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-icon);
  margin-bottom: 15px;
}

.problem-title {
  margin-bottom: 10px;
  color: var(--color-heading);
}

.problem-subtitle {
  font-size: var(--font-size-small-body);
  color: var(--text-light);
  line-height: var(--line-height-small-body);
}

/* Solutions Container */
.solutions-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 300px;
  align-self: center;
  z-index: 1;
}

.solution-box {
  border-radius: 16px;
  padding: 24px 20px 16px 20px;
  position: relative;
  text-align: center;
  height: 90px;
}

.solution-box.blue {
  background: var(--Light-Blue, #E6F0FF);
}

.solution-box.green {
  background: var(--Light-Green, #D8FCDA);
}

.solution-box.yellow {
  background: var(--Light-Yellow, #F9EECF);
}

.solution-box.red {
  background: var(--Light-Red, #FADDDB);
}

.solution-text {
  font-size: var(--font-size-small-body);
  font-weight: 400;
  color: var(--Heading, #32254C);
}

.check-icon {
  position: absolute;
  top: -20px;
  right: 48%;
  width: 32px;
  height: 32px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  border: 2px solid var(--Medium-Grey, #C0BEC6);
}

/* Google Icon */
.google-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.google-icon i {
  background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335);
}

/* Navigation Dots */
.nav-dots {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: -72px;
  margin-left: 260px;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-medium-grey);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background-color: var(--color-icon);
  width: 20px;
  border-radius: 100px;
}

/* ===================================================================
 SECTION: SMARTER FEATURES TAB STYLES (DESKTOP ONLY)
 - Feature showcase with interactive tabs and image sliders
 - This section is hidden on mobile/tablet and replaced with accordion
=================================================================== */

section.smarter_tab_section {
  padding: 80px 0;
  background: var(--color-white);
}

h1.smarter_tab_title {
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-heading);
}

/* Tab List Styles */
.tab-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style-type: none;
}

.tab-item {
  background-color: #f5f5f7;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-item.active .tab-header {
  border-radius: 16px 16px 0 0;
  background: var(--CTA-BG, #340C97);
  color: white;
  padding: 24px 24px 12px 24px;
}

.tab-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  background: var(--Light-Bg, #F8F7F8);
}

.tab-title {
  font-weight: 600;
  margin: 0;
}

.tab-icon {
  font-size: 1.2rem;
  font-weight: 600;
}

.tab-item.active .tab-icon {
  display: none;
}

.tab-content {
  padding: 0 20px 16px 20px;
  display: none;
}

.tab-item.active .tab-content {
  display: block;
  background: var(--CTA-BG, #340C97);
  color: white;
  padding: 0 24px 24px 24px;
}

.tab-text {
  margin-bottom: 16px;
}

.know-more {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.know-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.know-more:hover i {
  transform: translateX(3px);
}

/* Screenshot Container Styles */
.col-lg-7.smater_tab_images {
  display: flex;
  align-items: center;
}

.screenshot-container {
  overflow: visible;
  position: relative;
  width: 122%;
  margin-top: 0px;
}

.screenshot {
  display: none;
}

.screenshot.active {
  display: block;
}

/* Tab Slider Styles */
.tab-slider {
  overflow: hidden;
  display: none;
  cursor: grab;
  user-select: none;
}

.tab-slider:active {
  cursor: grabbing;
}

.tab-slider.active {
  display: block;
}

.slider-wrapper {
  display: flex;
  width: 200%;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.slider-slide .screenshot {
  display: block !important;
}

/* Hide single screenshots when sliders are active */
.tab-slider.active ~ .screenshot {
  display: none !important;
}

/* ===================================================================
 SECTION: MOBILE ACCORDION STYLES (MOBILE/TABLET ONLY)
 - Alternative to desktop smarter features section
 - Shows accordion-style interface for smaller screens
 - Hidden by default, shown only on mobile/tablet breakpoints
=================================================================== */

/* Hide mobile accordion by default (desktop view) */
.mobile_smarter_tab {
  display: none;
}

.mobile_smarter_tab_container {
  padding: 0 20px;
}

.mobile_smarter_tab_title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--Heading, #32254C);
}

/* Accordion Wrapper */
.mobile_accordion_wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual Accordion Item */
.mobile_accordion_item {
  /* background-color: var(--Light-Bg, #F8F7F8); */
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Media Container - Shows above accordion header when active */
.mobile_media_container {
  display: none;
  margin-bottom: 12px;
  /* background: #FFFFFF;
  padding: 20px;
  border: 1px solid var(--Stroke, #DEDDE1);
  border-radius: 16px;
  margin-bottom: 12px; */
}

.mobile_accordion_item.active .mobile_media_container {
  display: block;
}

/* Accordion Header */
.mobile_accordion_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: var(--Light-Bg, #F8F7F8);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile_accordion_item.active .mobile_accordion_header {
  background: var(--CTA-BG, #340C97);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 24px 24px 12px 24px;
}

.mobile_accordion_title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--Heading, #32254C);
  margin: 0;
  flex: 1;
}

.mobile_accordion_item.active .mobile_accordion_title {
  color: white;
}

.mobile_accordion_icon {
  font-size: 1.2rem;
  font-weight: 600;
  color: #484452;
  transition: transform 0.3s ease;
}

.mobile_accordion_item.active .mobile_accordion_icon {
  display: none;
}

/* Accordion Content - Only shows when item is active */
.mobile_accordion_content {
  display: none;
  background: var(--CTA-BG, #340C97);
  padding: 0 24px 24px 24px;
  color: white;
  border-radius: 0 0 16px 16px;
}

.mobile_accordion_item.active .mobile_accordion_content {
  display: block;
}

.mobile_accordion_text {
  color: white;
  margin-bottom: 16px;
  line-height: 1.5;
  font-size: 0.9rem;
}

.mobile_know_more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.mobile_know_more:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Media Elements */
.mobile_video,
.mobile_image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
}

.mobile_video {
  aspect-ratio: 775 / 585;
  background-color: transparent !important;
}

/* ===================================================================
 SECTION: CTA (CALL-TO-ACTION) STYLES
 - Promotional sections with demo buttons
=================================================================== */

section.streamline_cta {
  padding: 64px 0;
  background: var(--CTA-BG, #340C97);
  color: var(--color-white);
}

.container.streamline_cta_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

h1.streamline_cta_heading {
  width: 60%;
}

p.streamline_cta_descp.body {
  padding: 16px 0 32px 0;
  width: 52%;
}

.home_cta_btn {
  border-radius: 16px;
  background: var(--White, #FFF);
  padding: 16px 24px;
  border: none !important;
}

/* ===================================================================
 SECTION: TESTIMONIALS STYLES
 - Client testimonial cards and swiper
=================================================================== */

section.Home_testimonial_section {
  padding: 80px 0;
  background: var(--color-light-bg);
  text-align: center;
}

h1.home_testimoinal_title {
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-heading);
}

.testimonial-card {
  border-radius: 16px;
  background: var(--White, #FFF);
  padding: 48px;
  text-align: left;
}

p.testimonnial_descp {
  padding: 32px 0;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
}

img.author_image {
  width: 48px;
  height: 48px;
  border-radius: 100px;
}

/* .swiper {
  padding-bottom: 48px;
} */

.swiper-pagination {
  margin-top: 32px;
  position: relative !important;
  text-align: center;
}

/* ===================================================================
 SECTION: TIMELINE STYLES
 - APTi timeline with features showcase
=================================================================== */

section.Home_timeline_section {
  padding: 80px 0;
  text-align: center;
}

h1.home_timeline_title {
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-heading);
}

.timeline-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.timeline-content-image {
  border-radius: 16px;
  background: var(--Light-Bg, #F8F7F8);
  padding: 24px;
  text-align: center;
  width: 55%;
}

.timeline-text {
  width: 45%;
  text-align: left;
}

.timeline-content-image img {
  width: 100%;
}

.star_list {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

img.star_list_icon {
  margin-top: 6px;
}

p.timeline-descp {
  margin: 8px 0 16px 0;
}

/* Timeline Navigation */
.timeline-indicator {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  justify-content: space-between;
}

.timeline-indicator::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: #ccc;
  top: 50%;
  left: 0%;
  z-index: 0;
}

.timeline-step {
  width: 40px;
  height: 40px;
  background: #DEDDE1;
  color: #484452;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.timeline-prev,
.timeline-next {
  width: 40px;
  height: 40px;
  background-color: #340C97;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  opacity: 1;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.timeline-prev.disabled,
.timeline-next.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===================================================================
 SECTION: NEWSLETTER STYLES
 - Newsletter subscription section
=================================================================== */

section.newsletter {
  padding: 80px 0;
}

.container.newsletter_container {
  display: flex;
  align-items: center;
  padding: 0px 120px;
  border-radius: 24px;
  gap: 120px;
  background: var(--CTA-BG, #340C97);
  color: white;
}

p.newsletter_descp.small-body {
  margin-top: 12px;
}

/* ===================================================================
 SECTION: RELATED POSTS STYLES
 - Resource corner section
=================================================================== */

section.related_post {
  padding: 80px 0 0 0;
}

.related_post_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

a.related_post_btn {
  text-decoration: none;
  border-radius: 16px;
  background: var(--CTA-BG, #340C97);
  color: white;
  padding: 14px 24px;
}

/* ===================================================================
 SECTION: UTILITY STYLES
 - General utility classes and overrides
=================================================================== */

/* Center content in carousel item */
.carousel-item > .row {
  display: flex;
  justify-content: center;
}

/* Responsive cards max width */
.card {
  max-width: 550px;
  margin: auto;
}

/* Dot styles (optional) */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #5f27cd;
  opacity: 0.3;
}

.carousel-indicators .active {
  opacity: 1;
}

/* Video Styles */
video.smarter_video_tab {
  height: 600px;
  width: auto;
  border-radius: 32px 0 0 32px;
}

/* Features Video Styling */
.features_video {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
}

/* Remove any black background or borders */
.features_video {
  background-color: transparent !important;
  border: none;
  outline: none;
  border-radius: 18px 0 0 18px;
}

/* ===================================================================
 RESPONSIVE STYLES
 - Mobile and tablet responsive adjustments
 - Controls visibility of desktop vs mobile accordion sections
=================================================================== */

/* ===================================================================
 RESPONSIVE BEHAVIOR FOR MOBILE ACCORDION
 - Shows mobile accordion and hides desktop version on smaller screens
=================================================================== */

/* Show mobile accordion and hide desktop version on tablets and mobile */
@media (max-width: 991.98px) {
  /* Hide desktop smarter tab section on mobile/tablet */
  section.smarter_tab_section {
    display: none !important;
  }
  
  /* Show mobile accordion section on mobile/tablet */
  .mobile_smarter_tab {
    display: block;
    padding: 40px 0;
    background: var(--color-white, #ffffff);
  }
  .Home_hero_section .container{
    padding-left: 0px;
  }
  .home_evolve_container h1{
    font-size: 18px !important;
  }
  .process-problem{
    height: 95px;
  }
   .process-problem .problem-icon{
    display: none;
   }
   .solution-box{
    padding: 18px 14px 10px 14px;
    height: 60px !important;
   }
}

/* ===================================================================
 MOBILE STYLES (max-width: 575.98px)
=================================================================== */

@media (max-width: 575.98px) {
  /* Hero Section Mobile */
  section.Home_hero_section {
      height: 100vh !important;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: -30px;
  }
  .mobile_accordion_item{
    display: flex;
    flex-direction: column-reverse;
  }
  .lottie-animation{
  height: 100px;
    }
  .home-hero-content {
      text-align: center !important;
  }
  
  .home-hero-title {
      margin-bottom: 12px;
  }
  
  .home_hero_demo_btn {
     /* display: block; */
  }
  .home-hero-slider{
    display: none;
  }
  .home-pagination{
    display: none;
  }
  
  .col-lg-7.home_hero_slide {
      margin-top: 24px;
  }
  
  .home-hero-slider {
      height: 270px !important;
      position: relative;
  }
  
  .home-hero-slide {
      width: 100%;
      height: 100%;
      transition: opacity 1s ease-in-out;
  }

  /* Evolve Section Mobile */
  section.home_evolve_section {
      padding: 40px 0 80px 0;
  }
  
  h1.home_evolve_title {
      margin-bottom: 36px;
      font-size: 36px !important;
      font-weight: 700;
  }
  
  .home_evolve_banner_sec {
      display: none;
  }
  
  .process-problem {
      margin: auto !important;
      margin-bottom: 15px !important;
      border-radius:0%;
      padding: 0px;
      background-color: transparent;
      border: none;
      margin-top: 0px !important;
  }
  
  .evolve-tab-item {
      min-width: fit-content;
      padding: 12px 16px !important;
  }
  
  .evolve-side-tabs {
      flex-direction: row !important;
      overflow-y: scroll;
  }
  
  .process-viz {
      flex-direction: column;
      margin-top: 16px;
      height: 100% !important;
  }
  
  .flow-arrows {
      display: none;
  }
  
  button#prevBtn {
      bottom: 50% !important;
      left: 0px !important;
  }
  
  button#nextBtn {
      bottom: 50% !important;
      left: 92% !important;
  }
  
  .solution-box {
    height: 50px !important;
    padding: 10px 14px 10px 14px;
  }
  

  .nav-dots{
    display: none;
  }
  .connection-lines {
      display: none;
  }
  
  .google-icon {
      display: none !important;
  }

  /* Mobile Accordion Specific Adjustments */
  .mobile_smarter_tab {
    padding: 40px 0;
  }
  
  .mobile_smarter_tab_title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
  
  .mobile_accordion_header {
    padding: 20px;
  }
  
  .mobile_accordion_item.active .mobile_accordion_header {
    padding: 20px 20px 12px 20px;
  }
  
  .mobile_accordion_content {
    padding: 0 20px 20px 20px;
  }
  
  .mobile_media_container {
    padding: 0px;
  }
  
  .mobile_accordion_title {
    font-size: 1rem;
  }

  .screenshot {
    width: 100% !important;
  }

  /* CTA Section Mobile */
  section.streamline_cta {
      padding: 40px 0 0px 0 !important;
  }
  
  .container.streamline_cta_container {
      justify-content: space-between;
      gap: 0px;
      flex-direction: column;
  }
  
  h1.streamline_cta_heading {
      width: 100%;
  }
  
  p.streamline_cta_descp.body {
      padding: 12px 0 24px 0;
      width: 100%;
  }

  /* Testimonials Mobile */
  section.Home_testimonial_section {
      padding: 40px 0;
  }
  
  h1.home_testimoinal_title {
      margin-bottom: 24px;
  }
  
  .testimonial-card {
      border-radius: 16px;
      padding: 24px;
  }
  
  p.testimonnial_descp {
      padding: 20px 0;
  }

  /* Timeline Mobile */
  section.Home_timeline_section {
      padding: 40px 0;
  }
  
  h1.home_timeline_title {
      margin-bottom: 48px;
      font-weight: 700;
      margin-top: 32px;
  }
  .timeline-title{
    margin-bottom: 16px;
    font-weight: 400 !important;
  }

  
  .timeline-indicator {
    margin-top: 16px;
  }
  .timeline-content {
      display: flex;
      align-items: center;
      flex-direction: column-reverse;
      gap: 16px;
  }
  
  .timeline-content-image {
      padding: 24px;
      width: 100%;
  }
  
  .timeline-text {
      width: 100%;
  }
  
  .timeline-step {
      width: 24px;
      height: 24px;
  }
  
  .timeline-prev,
  .timeline-next {
      width: 32px;
      height: 32px;
  }

  /* Tab Content Mobile */
  .tab-content {
      padding: 0 20px 16px 20px;
      display: none;
  }
  
  .tab-item.active .tab-content {
      padding: 0 20px 20px 20px;
  }
  
  .tab-item.active .tab-header {
      padding: 20px 20px 12px 20px;
  }
  
  .tab-header {
      padding: 20px;
  }

  /* Newsletter Mobile */
  section.newsletter {
      padding: 40px 0 !important;
      margin: 0 20px;
  }
  
  .container.newsletter_container {
      display: flex;
      align-items: center;
      padding: 20px;
      flex-direction: column;
      gap: 0px;
  }

  /* Related Posts Mobile */
  section.related_post {
      padding: 40px 0 0 0;
  }
  
  .related_post_top {
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 24px;
      flex-direction: column;
  }
  
  video.smarter_video_tab {
      height: 280px !important;
      width: auto;
  }
}

/* Very small screens specific adjustments */
@media (max-width: 480px) {
  .mobile_smarter_tab_container {
    padding: 0 15px;
  }
  
  .mobile_accordion_header {
    padding: 16px;
  }
  
  .mobile_accordion_item.active .mobile_accordion_header {
    padding: 16px 16px 8px 16px;
  }
  
  .mobile_accordion_content {
    padding: 0 16px 16px 16px;
  }
  
  .mobile_media_container {
    padding: 0px;
  }
}

/* ===================================================================
 TABLET STYLES (min-width: 768px)
=================================================================== */

@media only screen and (min-width: 768px) {
  .container.streamline_cta_container {
      justify-content: space-between;
      gap: 0px;
      flex-direction: column;
  }
  
  h1.streamline_cta_heading {
      width: 100%;
  }
  
  p.streamline_cta_descp.body {
      padding: 12px 0 24px 0;
      width: 100%;
  }
  
  .screenshot-container {
      margin-top: 24px;
  }
  
  .tab-list {
      margin-right: 0px;
  }

  .screenshot-container {
    margin-top: 24px;
  }
  
  .screenshot {
    width: 100% !important;
  }
  
  .home-hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: visible;
    margin-top: 40px;
  }
}

/* ===================================================================
 MEDIUM DESKTOP STYLES (992px - 1199.98px)
=================================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .container.streamline_cta_container {
      justify-content: space-between;
      gap: 24px;
      flex-direction: row;
  }
  
  h1.streamline_cta_heading {
      width: 80%;
  }
  
  p.streamline_cta_descp.body {
      padding: 12px 0 24px 0;
      width: 52%;
  }
  
  .tab-list {
      margin-right: 40px;
  }

  .screenshot-container {
    margin-top: 0px;
  }
  .screenshot {
    width: 100% !important;
  }

  /* Hero Video Slider Styles */
  .home-hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: visible;
    margin-top: 0px;
  }
}

/* ===================================================================
 LARGE DESKTOP STYLES (1200px - 1439.98px)
=================================================================== */

@media (min-width: 1200px) and (max-width: 1439.98px) {
  .container.streamline_cta_container {
      justify-content: space-between;
      gap: 24px;
      flex-direction: row;
  }
  
  h1.streamline_cta_heading {
      width: 70%;
  }
  
  p.streamline_cta_descp.body {
      padding: 12px 0 24px 0;
      width: 52%;
  }
  
  .tab-list {
      margin-right: 60px;
  }

  .screenshot-container {
    margin-top: 0px;
  }
  .screenshot {
    width: auto !important;
  }

  /* Hero Video Slider Styles */
  .home-hero-slider {
    position: relative;
    width: 122%;
    height: 580px;
    overflow: visible;
    margin-top: 0;
  }
}

/* ===================================================================
 EXTRA LARGE DESKTOP STYLES (min-width: 1440px)
=================================================================== */

@media (min-width: 1440px) {
  .container.streamline_cta_container {
      justify-content: space-between;
      gap: 24px;
      flex-direction: row;
  }
  
  h1.streamline_cta_heading {
      width: 70%;
  }
  
  p.streamline_cta_descp.body {
      padding: 12px 0 24px 0;
      width: 55%;
  }
  
  .tab-list {
      margin-right: 60px;
  }

  .screenshot-container {
    margin-top: 0px;
  }
  .screenshot {
    width: auto !important;
  }

  /* Hero Video Slider Styles */
  .home-hero-slider {
    position: relative;
    width: 122%;
    height: 580px;
    overflow: visible;
    margin-top: 0;
  }
}


/* Add fade animation classes for evolve section */
.process-problem,
.solution-box,
.problem-icon img {
  transition: opacity 0.4s ease-in-out;
}

.evolve-content-fade-out {
  opacity: 0;
}

.evolve-content-fade-in {
  opacity: 1;
}

/* Ensure smooth transitions for all evolve slider elements */
.process-problem * {
  transition: opacity 0.4s ease-in-out;
}

.solutions-container .solution-box {
  transition: opacity 0.4s ease-in-out;
}



/* Simple fade animation for smarter tab content - like evolve section */
/* Simple fade animation for smarter tab - exactly like evolve section */
.tab-title,
.tab-text,
.know-more,
.screenshot,
.smarter_video_tab {
  transition: opacity 0.5s ease-in-out;
}