* { font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    transform: scale(1.05);
    background-color: #f3f4f6;
}

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

.skill-card {
    transition: all 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
}

.strength-card {
    transition: all 0.3s ease;
}
.strength-card:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}
.strength-card:hover i {
    color: white;
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.whatsapp-btn {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}
.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
}

@media (max-width: 640px) {
    .profile-img {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 1024px) {
    .profile-img {
        width: 200px;
        height: 200px;
    }
}

/* Hero Background Image */
.hero-bg-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0.1) 100%);
}

@media (max-width: 1024px) {
    .hero-bg-img {
        object-position: center top;
    }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0.1) 100%);
    }
}
