/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* HOME HERO SECTION */
.vertical-drag-gallery {
  position: relative; /* Needed for the pseudo elements positioning */
  display: flex;
  height: 100vh;
  overflow: hidden; /* Hide scrollbars and gradient overflow */
}

.vertical-drag-gallery::before,
.vertical-drag-gallery::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px; /* Height of gradient */
  pointer-events: none; /* So it doesn't block interactions */
  z-index: 10;
}

.vertical-drag-gallery::before {
  top: 0;
  background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.vertical-drag-gallery::after {
  bottom: 0;
  background: linear-gradient(to top, white 0%, transparent 100%);
}

  .column-slider {
    flex: 1;
    overflow: hidden; /* hide scrollbar */
    border-radius: 12px;
    cursor: grab;
    padding: 0.2rem;
    user-select: none;
    position: relative;
  }

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

  .column-slider:nth-child(even) {
    direction: ltr; /* reset scroll direction to normal */
  }

  .carousel {
    display: flex;
    flex-direction: column;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  .carousel img {
      border-radius: 10px;
  }

  /* Scroll down animation for odd columns */
  .column-slider:nth-child(odd) .carousel {
    animation-name: scrollDown;
    animation-duration: 90s;
  }

  /* Scroll up animation for even columns */
  .column-slider:nth-child(even) .carousel {
    animation-name: scrollUp;
    animation-duration: 90s;
  }

  .item {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.5rem;
  }

  /* Animation keyframes */
  @keyframes scrollDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50%)); }
  }

  @keyframes scrollUp {
    0% { transform: translateY(calc(-50%)); }
    100% { transform: translateY(0); }
  }
  
  /* MOBILE / NARROW VIEW */
  @media screen and (max-width: 640px) {
    .vertical-drag-gallery {
      height: 60vh;
    }
  }  


 /* -------------------------------------------------------------------- */


  /* HOW IT WORKS */

  .usp-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .usp-step-card {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    background: #fafafa;
    border: 1px solid #ededed;
    background-image:
      repeating-linear-gradient(
        to right,
        rgba(0,0,0,0.03) 0,
        rgba(0,0,0,0.03) 1px,
        transparent 1px,
        transparent 40px
      ),
      repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,0.03) 0,
        rgba(0,0,0,0.03) 1px,
        transparent 1px,
        transparent 40px
      );
  }
  .usp-step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
  }
  .usp-step-card__title {
    text-align: center;
    margin: 2rem 1rem 0.5rem;
    font-size: 24px;
    color: #191926 !important;
  }
  .usp-step-card__desc {
    text-align: center;
    margin: 0 1rem;
    font-size: 0.95rem;
    color: #52525B;
    line-height: 1.4;
  }

  .usp-illustration {
    position: relative;
    width: 90%;
    padding-bottom: 65%;
    margin: 1.5rem auto 0 auto;
  }
  .usp-paper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .usp-paper-back {
    transform: translate(-10px,10px) rotate(-2deg);
    z-index: 1;
  }
  .usp-paper-middle {
    transform: translate(6px,6px) rotate(1deg);
    z-index: 2;
  }
  .usp-paper-front {
    transform: translate(0,0);
    z-index: 3;
    overflow: visible;
  }
  .usp-icon-circle {
    width: 48px; 
    height: 48px;
    border: 6px solid #eee;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 0;
    transition: border-color 0.3s ease;
  }
  .usp-icon-circle svg {
    width: 24px; height: 24px;
    fill: #4daaff;
  }
  .usp-paper-line {
    width: 70%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin: 0.8rem auto;
  }
  .usp-submit-btn {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem 1rem;
    background: linear-gradient(45deg, #82A8FF, #AD5BFA 33%, #EE5C85 66%, #F7A348 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    z-index: 4;
  }
  /* hover entire card for step 1 */
  .usp-step-card:hover .usp-paper-back {
    transform: translate(-14px,14px) rotate(-2deg);
  }
  .usp-step-card:hover .usp-paper-middle {
    transform: translate(10px,10px) rotate(1deg);
  }
  .usp-step-card:hover .usp-paper-front {
    transform: translate(0,-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  }
  .usp-step-card:hover .usp-icon-circle {
    border-color: #c8f7c5;
  }
  .usp-step-card:hover .usp-submit-btn {
    background: linear-gradient(45deg, #EE5C85 66%, #F7A348 100%);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: translateX(-50%) translateY(-2px);
  }

  .usp-step-image {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
  }
  .usp-step-image img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .usp-step-card:hover .usp-step-image img {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  }

  .usp-globe-container {
    position: relative;
    width: 100%;
  }
  .usp-globe-img {
    display: block;
    width: 100%;
    height: auto;
  }
  .usp-pin {
    position: absolute;
    left: var(--px);
    bottom: var(--py);
    width: 32px;
    height: 32px;
    opacity: 0;
    animation: bounce 2s ease-in-out infinite alternate var(--delay,0s);
    transition: opacity .2s ease;
  }
  .usp-step-card:hover .usp-pin {
    opacity: 1;
  }
  @keyframes bounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-16px); }
  }

  .usp-review-container {
    position: relative;
    width: 100%;
    max-width: 235px;
    aspect-ratio: 1 / 1;
    margin: 1.5rem auto 0;
    padding: 16px;
    box-sizing: border-box;
  }
  .usp-review-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 80%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .usp-review-card--back {
    transform: translate(-10px,10px) rotate(-2deg);
    z-index: 1;
  }
  .usp-review-card--middle {
    transform: translate(6px,6px) rotate(1deg);
    z-index: 2;
  }
  .usp-review-card--front {
    transform: translate(0);
    z-index: 3;
    overflow: visible;
  }
  .usp-review-list-item {
    position: absolute;
    left: 10%;
    width: 80%;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
  }
  .usp-check-icon { margin-right: 0.8rem; }
  .usp-list-text { flex-grow: 1; }
  .usp-list-line--short { height: 6px; background: #eee; border-radius: 3px; margin: 4px 0; width: 40%; }
  .usp-list-line--long  { height: 6px; background: #eee; border-radius: 3px; margin: 4px 0; width: 60%; }
  .usp-avatars { display: flex; gap: 0.4rem; margin-left: 0.8rem; }
  .usp-avatars img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
  .usp-reload-icon {
    position: absolute;
    bottom: 12%; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    background: linear-gradient(45deg, #82A8FF, #AD5BFA 33%, #EE5C85 66%, #F7A348 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.6s ease;
  }
  .usp-reload-icon svg { stroke: white; }
  .usp-step-card:hover .usp-review-card--back {
    transform: translate(-14px,14px) rotate(-2deg);
  }
  .usp-step-card:hover .usp-review-card--middle {
    transform: translate(10px,10px) rotate(1deg);
  }
  .usp-step-card:hover .usp-review-card--front {
    transform: translate(0,-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  }
  .usp-step-card:hover .usp-review-list-item {
    background: #F0FFF4;
  }
  .usp-step-card:hover .usp-reload-icon {
    transform: translateX(-50%) rotate(360deg);
  }
  
.wonder-logo {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #82A8FF, #AD5BFA 33%, #EE5C85 66%, #F7A348 100%);
  border-radius: 8px;
  position: absolute;
  left: 50%;
  top: 20px;           /* adjust as needed */
  transform: translateX(-50%);
  margin: 0 auto;
}

.wonder-logo img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

 /* -------------------------------------------------------------------- */

/* CATO TESTIMONIAL */

  .testimonial-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    background: #fafafa;
    border: 1px solid #ededed;
    padding: 40px;
    border-radius: 20px;
    color: #1F2937;
  }

  .testimonial-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
  }

  .testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .testimonial-content {
    flex: 1;
  }

  .testimonial-quote {
    line-height: 1.5;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 1rem;
    font-size: 18px;
    color: #191926;
  }

  .stars {
    color: #a8ff00; /* bright green */
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .testimonial-author {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 0.2rem;
    color: #000;
  }

  .testimonial-position {
    font-weight: 400;
    font-size: 0.9rem;
    color: #4B5563;
  }

  @media screen and (max-width: 640px) {
    .testimonial-section {
      flex-direction: column;
      gap: 1.5rem;
      padding: 24px;
    }

    .testimonial-photo {
      width: 96px;
      height: 96px;
      margin: 0 auto;
    }

    .testimonial-content {
      text-align: center;
    }

    .testimonial-quote {
      font-size: 16px;
    }
  }

  /* -------------------------------------------------------------------- */

  /* ISSUES */

    .issues-section {
    
    border-radius: 16px;
    color: #000;
    font-weight: 600;
  }

  .issues-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .issues-list li {
    display: flex;
  background: #fafafa;
  border: 1px solid #ededed;
    padding: 17.5px;
    border-radius: 10px;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: .8rem;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #191926;
    font-weight: 700;
    transition: color 0.3s ease;
  }
  
  .issues-list li strong {
      font-weight: 400;
      color: #191926
      
  }

  .issues-list li:last-child {
    margin-bottom: 0;
  }

  .issues-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: black;
  }


  /* SVG icon styles */
  .issues-icon svg {
    width: 15px;
    height: 15px;
    fill: white;
  }


  /* -------------------------------------------------------------------- */


/* NUMBERS */

  .stats-section {
    display: flex;
    justify-content: center;
    gap: 6rem;
    color: #000;
  }
  .stat-item {
    text-align: left;
  }
  .stat-percent {
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
    color: #191926;
    display: block;
    margin-bottom: 0.3rem;
  }
  .stat-text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
  }
  @media (max-width: 600px) {
    .stats-section {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
    }
    .stat-item {
      max-width: 100%;
      text-align: center;
    }
  }

 /* -------------------------------------------------------------------- */

  /* GET MATCHED */

    .hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    padding: 3rem 4rem;
    border: 1px solid #ededed;
    background: #fafafa;
    max-width: 1200px;
  }

  .hero-text {
    max-width: 75%;
    font-weight: 400;
    font-size: 3.2rem;
    line-height: 1.2;
    color: #191926;
  }

  .highlight-word {
    color: #9b9b9b;
    margin-left: 0.25rem;
    display: inline-block;
    border-right: 2px solid #9b9b9b;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 400;
    vertical-align: bottom;
  }
  

  @keyframes blinkCursor {
    0%, 50% {
      border-color: #9b9b9b;
    }
    51%, 100% {
      border-color: transparent;
    }
  }

  .highlight-word.blinking {
    animation: blinkCursor 1s steps(2, start) infinite;
  }

  .email-form {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    width: 700px;
  }

  .email-input {
    border-radius: 40px;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    width: 280px;
    outline: none;
  }

.book-call {
  position: relative;
  display: inline-block;
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  margin-top: 40px;
  color: #fff !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(45deg, 
    #82A8FF, 
    #AD5BFA 33%, 
    #EE5C85 66%, 
    #F7A348 100%);  z-index: 1;
}

  .hero-image {
    max-width: 45%;
        position: absolute;
        right: 0px;
        bottom: -5px;

  }

  .hero-image img {
    width: 100%;
    border-radius: 20px;
  }

  @media (max-width: 900px) {
    .hero-section {
      flex-direction: column;
      padding: 2rem;
    }
    .hero-text, .hero-image {
      max-width: 100%;
      text-align: center;
    }
    .email-form {
      justify-content: center;
    }
    .highlight-word {
      min-width: auto;
      border-right: 2px solid #9b9b9b;
    }
  }
  
@media (max-width: 900px) {
  .hero-text {
    font-size: 44px; 
  }
  .book-call {
    font-size: 16px;   
    padding: 16px 24px;
  }
  .hero-section {
      padding-bottom: 300px;
  }
}

@media (max-width: 600px) {
  .hero-text {
    font-size: 34px; 
    line-height: 1.3;
  }
  .book-call {
    font-size: 14px;
    padding: 12px 20px;
  }
  .hero-section {
      padding-bottom: 150px;
  }
}  

 /* -------------------------------------------------------------------- */

/* TALENTS */

  /* overall grid */
  .scroll-section {
    display: grid;
    gap: 10px;
    margin: 0 auto;
    padding: 20px;
  }


  /* right cards column */
  .right-panel {
    position: relative;
  }

  /* each card box */
  .card-item {
    --fill-level: 0%;
    position: relative;
    margin-bottom: 50px;
    padding: 80px 24px 60px;
    border-radius: 10px;
    overflow: hidden;
    background: #2a2b44;
    color: #fff;
    animation: slideIn 0.6s ease-out forwards;
  }


  /* animated entry */
  @keyframes slideIn {
    from { opacity:0; transform: translateY(20px) }
    to   { opacity:1; transform: translateY(0) }
  }
  .card-item:nth-of-type(1) { animation-delay: .1s }
  .card-item:nth-of-type(2) { animation-delay: .2s }
  .card-item:nth-of-type(3) { animation-delay: .3s }
  .card-item:nth-of-type(4) { animation-delay: .4s }

  /* grey fill bar */
  .card-item::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: var(--fill-level);
    background: #9CA3AF;
    z-index: 0;
    transition: height 0.5s ease;
  }
  .card-item > * { position: relative; z-index: 1 }

  /* stick cards in viewport */
.card-item.sticky-layer {
  position: sticky;
  top: 80px;          /* same for every card */
}

.card-item.sticky-layer:nth-of-type(1) { z-index: 1; }
.card-item.sticky-layer:nth-of-type(2) { z-index: 2; }
.card-item.sticky-layer:nth-of-type(3) { z-index: 3; }
.card-item.sticky-layer:nth-of-type(4) { z-index: 4; }

  /* card header */
  .card-head {
    position: absolute;
    top: 24px; left: 24px; right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .card-label {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
  }
  .card-heading {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #fff !important;
  }

  /* card body */
  .card-body {
    margin-top: 48px;
  }
  .card-stat {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .card-text {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 24px;
    color: #fff;
  }

  /* button on 4th card */
  .action-button {
    display: inline-block;
    padding: 10px 20px;
      background: linear-gradient(45deg, 
    #82A8FF, 
    #AD5BFA 33%, 
    #EE5C85 66%, 
    #F7A348 100%);  z-index: 1;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 24px;
  }

  /* avatars stack */
  .avatar-group {
    position: absolute;
    bottom: 16px;
    left: 24px;
    display: flex;
  }
  .avatar-group img,
  .avatar-group .avatar-more {
    width: 40px; height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -10px;
    background: #fff;
    color: #000;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
  }
  .avatar-group img:first-child { margin-left: 0 }
  
  @media (max-width: 600px) {

  .card-item {
      margin-bottom: 25px;
  }
}  

 /* -------------------------------------------------------------------- */

/* SERVICES */

  .category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 350px);
    grid-gap: 1.5rem;
    margin: 0 auto;

    grid-template-areas:
      "design design dev dev video video"
      "design design seo seo hosting hosting"
      "maintenance maintenance automation automation conversion conversion"
      "advice advice funnels funnels funnels funnels";
  }

  /* Assign grid areas */
  .design { grid-area: design; }
  .dev { grid-area: dev; }
  .video { grid-area: video; }
  .seo { grid-area: seo; }
  .hosting { grid-area: hosting; }
  .maintenance { grid-area: maintenance; }
  .automation { grid-area: automation; }
  .conversion { grid-area: conversion; }
  .advice { grid-area: advice; }
  .funnels { grid-area: funnels; }

  .category-card {
    border-radius: 12px;
    border: 1px solid #ededed;
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    background: #fff;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
  }
  

  
  .category-card img {
      width: 100px;
      height: 100px;
  }


  .category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #000 !important;
  }

  .category-desc {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #52525B;
    margin-bottom: 1.3rem;
    line-height: 1.4;
  }

  .category-button {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    background-color: #2a2b44;;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .category-button:hover {
      background: #000;
      color: #fff !important;
  }
  
@media screen and (max-width: 640px) {
  .category-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}  

 /* -------------------------------------------------------------------- */

/* WASEEM TESTIMONIAL */

.testimonial-section-services {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  color: #fff;
  background: #fff;
  border: 1px solid #ededed;
  padding: 40px;
  border-radius: 20px;
}

.testimonial-photo-waseem {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
}

.testimonial-photo-waseem img {
  width: 100%;
  height: 100%;
}

.testimonial-content-waseem {
  flex: 1;
}

.testimonial-quote-waseem {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  color: #191926;
  font-style: normal;
  margin-bottom: 1rem;
}

.stars-waseem {
  color: #00b67a; /* bright green */
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.testimonial-author-waseem {
  font-weight: 600;
  color: #000;
  font-size: 18px;
  margin-bottom: 0.2rem;
}

.testimonial-position-waseem {
  font-weight: 400;
  font-size: 0.9rem;
  color: #000;
}

@media screen and (max-width: 640px) {
  .testimonial-section-services {
    flex-direction: column;
    gap: 1.5rem;
    padding: 20px;
  }

  .testimonial-photo-waseem {
    margin: 0 auto;
  }

  .testimonial-content-waseem {
    text-align: center;
  }
}

/* -------------------------------------------------------------------- */

/* PORTFOLIO SLIDER */

.portfolio-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.portfolio-container {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.portfolio-track {
  display: flex;
  transition: transform 0.5s ease;
}

.portfolio-item {
  box-sizing: border-box;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  flex: 0 0 100%;
  position: relative;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.portfolio-item iframe {
  width: 100%;
  border-radius: 8px;
  display: block;
  height: auto;
}

@media (min-width: 640px) {
  .portfolio-item { flex: 0 0 50%; }
}
@media (min-width: 1024px) {
  .portfolio-item { flex: 0 0 33.3333%; }
}
@media (min-width: 1280px) {
  .portfolio-item { flex: 0 0 25%; }
}

.portfolio-nav {
  position: absolute;
  top: 0rem;
  right: 0rem;
  display: flex;
  gap: .5rem;
  z-index: 2;
}
.portfolio-nav button {
  background: #212236;
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}
.portfolio-nav button:hover {
  background: rgba(0,0,0,0.5);
}

/* -------------------------------------------------------------------- */

/* TEAM COLLABORATION */

    .two-column-section {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 24px;
      margin: 20px auto;
    }

    .accordion-container {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .accordion-item {
      border-bottom: 1px solid #ededed;
      border-radius: 6px;
      overflow: hidden;
    }

    .accordion-button,
    .accordion-button:focus{
      width: 100%;
      padding: 12px 16px;
      font-size: 20px;
      font-weight: 500;
      text-align: left;
      border: none;
      color: #191926;
      background: none;
      cursor: pointer;
      transition: background .2s, color .2s;
    }
    .accordion-button:hover {
      background: #fafafa;
      color: #191926;
    }
    .accordion-item.active .accordion-button {
      background: #fafafa;
      color: #191926;
      border-top: 1px solid #ededed;
      border-left: 1px solid #ededed;
      border-right: 1px solid #ededed;
    }

    .accordion-panel {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 16px;
    }
    .accordion-item.active .accordion-panel {
      max-height: 300px; 
      padding-bottom: 16px;
      background: #fafafa;
      border-bottom: 1px solid #ededed;
      border-left: 1px solid #ededed;
      border-right: 1px solid #ededed;
    }

    .accordion-description {
      margin: 10px 0 20px;
      color: #52525B;
      font-size: 16px;
      line-height: 1.4;
    }
    .panel-button {
      position: relative;
      display: inline-block;
      padding: 8px 16px;
      border-radius: 5px;
      font-size: 16px;
      border-width: 0;
      border-color: transparent;
      box-shadow: none;
      font-weight: 600;
      color: #fff;
      background: linear-gradient(45deg,
        #82A8FF,
        #AD5BFA 33%,
        #EE5C85 66%,
        #F7A348 100%);
      cursor: pointer;
      transition: all 0.3s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .content-container > div {
      display: none;
      opacity: 0;
    }
    .content-container > div.active {
      display: block;
      animation: fadeIn 0.5s ease;
      opacity: 1;
    }

    .team-container {
      border-radius: 12px;
      padding: 24px;
      border: 1px solid #e5e7eb;
    }
    .team-header,
    .team-row {
      display: grid;
      grid-template-columns: 2fr 3fr 1fr;
      align-items: center;
    }
    .team-header {
      font-weight: 600;
      color: #111827;
      margin-bottom: 16px;
    }
    .team-row {
      padding: 12px 0;
      border: 1px solid #ededed;
      background: #fafafa;
      margin-bottom: 10px;
      border-radius: 10px;
    }
    .team-member {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-left: 20px;
    }
    .avatar-container {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .avatar-container img.avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
    }
    .team-member .info {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .team-member .name {
      font-weight: 600;
      font-size: 16px;
      color: #111827;
    }
    .team-member .role {
      font-style: italic;
      font-size: 14px;
      color: #6B7280;
    }
    .activity {
      font-size: 15px;
      color: #4B5563;
    }
    .tasks {
      font-size: 16px;
      font-weight: 600;
      color: #111827;
      padding-right: 20px;
      text-align: right;
      background: transparent !important;
    }

    .board-container {
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      overflow: hidden;
    }
    .board-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      border-top: 1px solid #ededed;
      border-bottom: 1px solid #e5e7eb;
    }
    .board-header .title {
      font-size: 18px;
      font-weight: 600;
      margin-right: 16px;
      color: #111827;
    }

    .board-header .dots span {
      width: 8px;
      height: 8px;
      background: #9ca3af;
      border-radius: 50%;
    }
    .board-header .actions svg {
      width: 20px;
      height: 20px;
      fill: #6b7280;
      cursor: pointer;
      margin-left: 8px;
    }
    .columns {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      padding: 24px;
    }
    .column {
      background: #fafafa;
      border: 1px solid #ededed;
      border-radius: 8px;
      padding: 16px;
    }
    .column-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .column-header h2 {
      font-size: 16px;
      font-weight: 600;
      color: #111827;
    }
    .column-header .col-actions svg {
      width: 16px;
      height: 16px;
      fill: #6b7280;
      cursor: pointer;
      margin-left: 4px;
    }
    .cards {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .card {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #ffffff;
      padding: 12px;
      border-radius: 8px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
    .card svg.check {
      width: 16px;
      height: 16px;
      fill: #10b981;
    }
    .card img.avatar {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      object-fit: cover;
    }
    .card .text {
      flex: 1;
      height: 12px;
      background: #e5e7eb;
      border-radius: 4px;
    }

    .container-welcome {
      border-radius: 8px;
      border: 1px solid #ededed;
      padding: 50px;
      text-align: left;
    }
    .welcome-avatar {
      clip-path: circle(50% at 50% 50%);
      width: 80px;
      height: 80px;
      object-fit: cover;
      margin-bottom: 16px;
    }
    .welcome-title {
      font-size: 24px;
      margin-bottom: 16px;
      color: #111827 !important;
    }
    .container-welcome p {
      font-size: 16px;
      line-height: 1.5;
      color: #4B5563;
      margin-bottom: 24px;
    }
    .skeleton {
      background: #E5E7EB;
      border-radius: 4px;
      margin-bottom: 16px;
    }
    .skeleton.short { width: 70%; height: 16px; }
    .skeleton.medium { width: 90%; height: 16px; }
    .skeleton.long   { width:100%;  height:16px;  }
    .welcome-btn {
      display: inline-block;
      padding: 12px 24px;
      background: #fafafa;
      color: #000 !important;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
    }
    
@media screen and (max-width: 640px) {
  .two-column-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px auto;
  }

  .columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .accordion-container,
  .content-container > div {
    width: 100%;
  }
}    

/* -------------------------------------------------------------------- */

/* COMPARISON TABLE */

.comparison-container {
  display: flex;
  justify-content: center;  
  gap: 2rem;
  max-width: 100%;
  margin: 3rem auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

  .comparison-container::-webkit-scrollbar {
    height: 8px;
  }
  .comparison-container::-webkit-scrollbar-track {
    background: #2a2b44;
    border-radius: 4px;
  }
  .comparison-container::-webkit-scrollbar-thumb {
    background-color: #9B51E0;
    border-radius: 4px;
    border: 2px solid #2a2b44;
  }

  .comparison-container > * {
    flex: 0 0 auto;
  }

  .why_component-outer {
    background-color: #2a2b44;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    width: 300px;
    color: white;
    display: flex;
    flex-direction: column;
  }

  .why-component_awesomic .why-component_headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }

  .why-component_headline .text-20 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #fff;
  }

  .why-component_headline img {
    width: 35px;
    height: 35px;
  }

  .why-component_table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .why-component_row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 30px;
    border-bottom: 1px solid #484848;
  }

  .why-component_row img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .why-component_row .text-15 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
  }

  .why-component_row.is-last {
    margin-bottom: 0;
  }

  .why-component_inner {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap; 
    margin-top: 36px;
  }

  .why-component_inner > .why-component_other {
    flex: 0 0 auto;
    min-width: 200px; 
    display: flex;
    flex-direction: column;
  }

  .why-component_other .why-component_headline {
    margin-bottom: 2rem;
  }

  .why-component_other .why-component_headline .text-20 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #fff;
  }

  .why-component_other .why-component_table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .why-component_row.mod-others .text-15 {
    font-weight: 400;
    color: #fff;
  }
  
 @media screen and (max-width: 640px) {
  .comparison-container {
  justify-content: left;
}
}     

/* -------------------------------------------------------------------- */

/* TOOLS YOU LOVE */

.integrations-section {
  padding: 20px 20px 0 20px;
  text-align: center;
  color: #1F2937;
  height: 420px;
}

.integrations-graphic {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
}

.integrations-graphic svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.integrations-graphic .icon {
  position: absolute;
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.integrations-graphic .icon img {
  width: 40px;
  height: 40px;
}

.icon-figma { top: 230px;  left:  50px; }
.icon-shopify { top: 220px;  left: 170px; }
.icon-wordpress { top: 310px;  left: -20px; }
.icon-photoshop   { top: 140px;  left: 268px; width: 80px; height: 80px; }
.icon-elementor    { top:-30px;  left: 368px; width: 80px; height: 80px; }
.icon-intercom   { top: 40px;  left: 248px; width: 80px; height: 80px; }
.icon-after-effects    { top: 40px;  left: 490px; width: 80px; height: 80px; }
.icon-core img { width: 56px; height: 56px; }
.icon-illustrator   { top: 140px;  left: 496px; }
.icon-framer   { top: 160px;  left: 600px; }
.icon-chatgpt   { top: 50px;  left: 620px; }
.icon-webflow    { top: 260px;  left: 596px; }
.icon-wonderwave   { 
    top: 270px;  
    left: 370px; 
background: linear-gradient(45deg,
  #82A8FF,
  #AD5BFA 33%,
  #EE5C85 66%,
  #F7A348 100%
) !important;
}
.icon-hubspot    { top: 67px;  left: 366px; }
.icon-google  { top: 180px;  left: 726px; }
.icon-react  { top: 100px;  left: 140px; }
.icon-flutter  { top: 140px;  left: 40px; }
.icon-supabase  { top: 320px;  left: 130px; }
.icon-vue  { top: 320px;  left: 720px; }
.many-more {
    position: absolute;
    bottom: 220px;
    left: 340px;
}