@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

.skill-bar {
    transition: width 1s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}
/* Add these transitions */
.transition-all {
    transition: all 0.3s ease;
}

.hover\:scale-\[1\.02\]:hover {
    transform: scale(1.02);
}

/* Newsletter input focus effect */
input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.3);
}
.fab,.fas {
    font-size: 30px;
    
  }
  nav{
    z-index:99;
  }

  #main-nav.scrolled {
    background: rgba(17, 24, 39, 0.95); /* bg-gray-900 with higher opacity */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(76, 29, 149, 0.2); /* Adjusted border color */
}
.button-view{
    width:175px !important;
}

.skill-progress {
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item.active .skill-progress {
    width: var(--progress-width);
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.animate-pulse {
    animation: pulse 6s infinite;
}

.delay-1000 {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.delay-1000 {
    animation-delay: 1s;
}


@keyframes titleIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nameReveal {
    0% {
        opacity: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.animate-title-in {
    animation: titleIn 1s ease-out forwards;
}

.animate-name-reveal {
    animation: nameReveal 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.animate-button-in {
    animation: titleIn 1s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.animate-fade-in-up {
    animation: titleIn 1s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

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

.animate-marquee {
    animation: marquee 20s linear infinite;
    will-change: transform;
}

/* Pause animation on hover */
.group:hover .animate-marquee {
    animation-play-state: paused;
}



.timeline-item {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}


.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 8s ease-in-out infinite 2s;
}

.animate-spin-slow {
    animation: spin 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.testimonials-grid {
    perspective: 2000px;
}

.testimonials-grid > div {
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-grid:hover > div:not(:hover) {
    transform: scale(0.95) translateZ(-50px);
    filter: brightness(0.8);
}
.image{
    object-fit: contain;
}


@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes text-reveal {
    from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
    to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.animate-count-up {
    animation: count-up 1s ease-out forwards;
    position: relative;
    display: inline-block;
}

.animate-count-up::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, #6366f1, #3b82f6);
    z-index: -1;
    opacity: 0;
    border-radius: 0.5rem;
    animation: gradient-pulse 2s infinite;
}

.animate-text-reveal {
    animation: text-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes gradient-pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}



    .profile-card {
        max-width: 600px;
        margin: 2rem auto 0 auto;
        padding: 2rem ;
        background: transparent;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .profile-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .profile-card li {
        padding: 12px 20px;
        margin: 8px 0;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        transition: transform 0.2s ease;
    }

    .profile-card li:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .profile-card strong {
        min-width: 120px;
        display: inline-block;
        color: #2c3e50;
        font-weight: 600;
    }

    .profile-card a {
        color: #3498db;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .profile-card a:hover {
        color: #2980b9;
    }

    .icon {
        width: 34px;     
        height: 24px;
        margin-right: 15px;
        color: #3498db;
    }

    .service-card {
        position: relative;
        transition: transform 0.3s ease;
      }
      
      .service-card:hover {
        transform: translateY(-5px);
      }
      
      .service-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #1d2b3f, #26164d);
        z-index: -1;
        border-radius: 16px;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      
      .service-card:hover::before {
        opacity: 1;
      }