body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #efeeef;
    padding: 0;
    margin: 0;
}

header {
    background-color: #efeeef;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

section {
    background: #f7f7f7;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

h3 {
    color: #333;
    margin: 1.5rem 0 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px; 
}

.tool-card {
    width: 300px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-left:rgba(0, 0, 0, 0.3) 5px solid;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card h3 {
    margin-top: 0;
}

.tool-card .video-button {
    display: inline-block;
    margin-top: auto;
    padding: 10px 15px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    align-self: center;
}

.tool-card .video-button:hover {
    background-color: #444;
}

/* Video Pop-up Styles */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    color: white;
}

.video-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-creator {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 14px;
    font-style: italic;
    color: rgba(255,255,255,0.8);
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.video-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.video-button:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .video-container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
}

.footer {
    background-color: #000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
    color: #ffffff;
  }

  .footer-column h2 {
    color: #fff;
  }

  .footer-column img {
    width: 30px;
    height: 30px;
  }

  .footer-column h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
  }

  .footer-column p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
  }

  .footer-column ul li {
    margin: 5px 0;
  }

  .footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-column ul li a:hover {
    color: #fff;
    text-decoration: underline;
  }

  .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
  }

  .social-icons a {
    color: #bbb;
    font-size: 20px;
    text-decoration: none;
  }

  .social-icons a:hover {
    color: #fff;
  }

  @media (max-width: 768px) {
    .footer {
      flex-direction: column;
      text-align: center;
    }

    .footer-column {
      margin: 20px 0;
    }
  }

  main section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  main section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .work-process {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
  }
  
  .work-process h2 {
    text-align: center;
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 50px;
    color: #2b2e3b;
  }
  
  .step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
  }
  
  .icon-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .icon-number img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
  }
  
  .step-number {
    font-size: 3em;
    font-weight: bold;
    color: #e0e3eb;
    position: absolute;
    top: 60px;
    z-index: -1;
  }

  .step-content {
    margin-bottom: 20px;
    margin-top: -20px;
  }
  
  .step-content h3 {
    font-size: 1.5em;
    font-weight: 800;
    color: #2b2e3b;
    margin-bottom: 15px;
  }
  
  .step-content p {
    font-size: 1em;
    line-height: 1.6;
    color: #60656e;
    margin-bottom: 15px;
  }


*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul {
  padding: 50px 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #000000;
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  border-radius: 5px;
  background: #e1e1e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.timeline ul li div::before {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #e1e1e1 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #e1e1e1;
}

time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}


/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
  transition: background 0.5s ease-in-out;
}

.timeline ul li.in-view::after {
  background: #e1e1e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #f45b69 transparent transparent;
  }
}


/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li div::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}