/* assets/css/components.css */
.card-custom {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.card-custom:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
}

.btn-custom {
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: #212529;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.btn-custom-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
    color: #212529;
}

.btn-custom-dark {
    background-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-custom-dark:hover {
    background-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    font-weight: 800;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 10px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.form-control-custom {
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
    outline: none;
}

/* Professional Experience Card - Enhanced */
.exp-badge-premium {
    position: absolute !important;
    bottom: 30px !important;
    left: -30px !important;
    /* Professional overlap */
    background: #ffffff !important;
    padding: 15px 25px !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15) !important;
    z-index: 99 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s ease !important;
    min-width: 200px;
}

.dark-mode .exp-badge-premium {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.exp-num {
    background: #ffc107 !important;
    color: #000 !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
}

.exp-text {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
}

.dark-mode .exp-text {
    color: #f8fafc !important;
}

/* Project Card Hover Enhancement */
.project-card img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.project-card:hover img {
    transform: scale(1.1) rotate(2deg) !important;
}

.project-overlay {
    transition: all 0.5s ease;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.9;
}

.project-card:hover .project-overlay {
    padding-bottom: 50px !important;
}

/* Social Icon Effects */
.social-icons a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    transform: translateY(-8px) scale(1.2);
    color: var(--primary-color) !important;
    text-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Professional Skill Hover Effects */
.skill-item {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 12px;
}

.skill-item:hover {
    background: rgba(255, 193, 7, 0.05);
    transform: translateX(10px);
}

.skill-item:hover .progress-bar {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
    background: linear-gradient(90deg, var(--primary-color), #fff, var(--primary-color)) !important;
    background-size: 200% 100% !important;
    animation: barFlow 2s linear infinite;
}

@keyframes barFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.skill-item:hover i {
    transform: scale(1.3) rotate(15deg);
    color: var(--primary-color) !important;
}

/* Skill Grid Card Hover - Premium */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-15px) scale(1.05);
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2) !important;
}

.hover-lift:hover .fs-2 {
    animation: iconBounce 0.6s ease infinite alternate;
}

@keyframes iconBounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

.dark-mode .hover-lift:hover {
    background: #1e293b !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Service Icon Scale */
.service-card:hover .icon-wrapper i {
    transform: scale(1.2) rotate(10deg);
    transition: all 0.4s ease;
}

/* Scroll Animation for Desktop */
@media (min-width: 992px) {
    .exp-badge-premium.desktop-float {
        animation: cardFloat 4s ease-in-out infinite;
    }

    .exp-badge-premium:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}