@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.typewriter {
    white-space: normal;
    display: inline-block;
    border-right: 3px solid #3b82f6;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  }
  
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #3b82f6; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.client-logo:hover {
    transform: scale(1.1);
}

.project-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .project-item img {
    width: 100%;
    height: 807px;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .project-item:hover img {
    transform: scale(1.05);
  }
  
  .project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 64, 175, 0.9); /* bg-blue-800 + opacity */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .project-item:hover .project-overlay {
    opacity: 1;
  }
  
  .project-overlay h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .project-overlay p {
    color: #dbeafe; /* text-blue-100 */
    margin-bottom: 1rem;
  }
  
  .project-overlay a {
    background: white;
    color: #1e40af; /* text-blue-800 */
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .project-overlay a:hover {
    background: #e0f2fe; /* hover:bg-blue-100 */
  }
  

.scroll-container {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
